src/main/java/org/springblade/modules/processInv/mapper/ProcessInvMapper.xml
@@ -56,7 +56,7 @@ SELECT CASE WHEN product_inventory_num > #{saleNum} THEN product_inventory_num >= #{saleNum} THEN TRUE ELSE FALSE END result FROM @@ -84,4 +84,9 @@ AND inv.id = #{processInv.id} </if> </select> <select id="findById" resultType="org.springblade.modules.processInv.entity.ProcessInv"> SELECT id,strain_id,product_id,product_inventory_num,create_time,update_user,update_time,status,is_deleted FROM sys_process_inv WHERE is_deleted = 0 AND id = #{prodId} </select> </mapper>