| | |
| | | </delete> |
| | | |
| | | <select id="getMaximum" > |
| | | select count(*) from mm.material_outbound where date(create_time)=CURDATE() |
| | | select |
| | | ifnull(SUBSTR(max(right(material_outbound_id,8)) from 7),0) |
| | | from |
| | | mm.material_outbound as a |
| | | where |
| | | date(a.create_time) = curdate() |
| | | |
| | | </select> |
| | | |
| | | <select id="getMaximums" > |
| | | select count(*) from mm.returning_warehouse where date(create_time)=CURDATE() |
| | | select |
| | | ifnull(SUBSTR(max(right(returning_id,8)) from 7),0) |
| | | from |
| | | mm.returning_warehouse as a |
| | | where |
| | | date(a.create_time) = curdate() |
| | | |
| | | </select> |
| | | |
| | | <select id="getMaterialOutboundCount" > |