wms-抄码添加查询条件

This commit is contained in:
zhaoqing
2026-04-22 15:40:50 +08:00
parent 882aa8740e
commit a47e5aafca
2 changed files with 15 additions and 0 deletions
@@ -125,6 +125,12 @@
AND material_code = #{materialCode}
AND batch_number = #{batchNumber}
AND box_pallet_no = #{boxPalletNo}
<if test="topOrganizationId != null">
AND top_organization_id = #{topOrganizationId}
</if>
<if test="organizationId != null">
AND organization_id = #{organizationId}
</if>
ORDER BY serial_number
</select>