src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -523,7 +523,8 @@ si.process_category as processCategory, si.voltage, pm.material_code as materialCode, pm.unit pm.unit, si.qualitity as qualitity from stock_inventory si inner join product_model pm on si.product_model_id = pm.id inner join product p on pm.product_id = p.id @@ -541,6 +542,7 @@ <if test="ew.voltage != null and ew.voltage != ''"> and si.voltage = #{ew.voltage} </if> and si.qualitity > 0 </where> order by p.id asc, pm.id asc, si.id asc </select>