|
@@ -74,7 +74,7 @@
|
|
|
<!-- 修改出库数量 -->
|
|
|
<update id="updateOutNum">
|
|
|
update tld_warehouse_transfer
|
|
|
- set out_num = out_num + #{num},type = '1' where material_id = #{materialId} and warehouse_transfer_id = #{askGoodsId}
|
|
|
+ set out_num = ifnull(out_num, 0) + #{num},type = '1' where material_id = #{materialId} and warehouse_transfer_id = #{askGoodsId}
|
|
|
</update>
|
|
|
<!-- 查询当天移库单条数 -->
|
|
|
<select id="getReturnWarehouseTransferCount" resultType="int">
|