| | |
| | | </if> |
| | | </where> |
| | | group by product_model_id, model, unit, product_name, product_id, unQualifiedBatchNo, materialCode, processCategory, voltage |
| | | having SUM(qualifiedQuantity) > 0 or SUM(unQualifiedQuantity) > 0 |
| | | </select> |
| | | |
| | | <select id="listStockInventoryExportData" resultType="com.ruoyi.stock.execl.StockInventoryExportData"> |
| | |
| | | </if> |
| | | </where> |
| | | group by product_model_id, model, unit, product_name, unQualifiedBatchNo, materialCode, processCategory, voltage |
| | | having SUM(qualifiedQuantity) > 0 or SUM(unQualifiedQuantity) > 0 |
| | | </select> |
| | | <select id="stockInventoryPage" resultType="com.ruoyi.stock.dto.StockInRecordDto"> |
| | | select sir.*,si.qualitity as current_stock, |