| | |
| | | select * from mm.material_inventory where material_code=#{materialCode} and date_of_manufacture is null and producer=#{producer} |
| | | </select> |
| | | |
| | | <select id="getMaterialInventoryCount1" > |
| | | select * from mm.material_inventory where material_code=#{materialCode} and date_of_manufacture=#{dateOfManufacture} and producer=#{producer} and id!=#{id} |
| | | </select> |
| | | |
| | | <select id="getMaterialInventoryCountNull1" > |
| | | select * from mm.material_inventory where material_code=#{materialCode} and date_of_manufacture is null and producer=#{producer} and id!=#{id} |
| | | </select> |
| | | |
| | | <select id="getMaterialInventoryCountId" > |
| | | select id from mm.material_inventory where material_code=#{materialCode} and date_of_manufacture=#{dateOfManufacture} and producer=#{producer} |
| | | </select> |