库位修改以及批量导入

This commit is contained in:
2026-04-15 15:48:48 +08:00
parent 309022aae2
commit 0671f405f6
6 changed files with 44 additions and 33 deletions

View File

@@ -721,4 +721,14 @@
</set>
WHERE bill_no = #{billNo}
</update>
<select id="countRkInfoByLocationCode" parameterType="String" resultType="int">
SELECT COUNT(1)
FROM rk_info
WHERE pcode = #{locationCode}
AND (is_delete = '0' OR is_delete IS NULL)
AND exec_status = 1
AND is_chuku = 0
AND IFNULL(real_qty, 0) > 0
</select>
</mapper>