Browse Source

2026-09-29

增加筛选条件
master
fengyuan_yang 2 months ago
parent
commit
42cd8bd854
  1. 6
      src/main/resources/mapper/report/InboundNotificationReportMapper.xml
  2. 3
      src/main/resources/mapper/wms/WmsPrintMapper.xml

6
src/main/resources/mapper/report/InboundNotificationReportMapper.xml

@ -102,6 +102,9 @@
<if test="query.departmentNo != null and query.departmentNo != ''">
AND h.department_no = #{query.departmentNo}
</if>
<if test="query.inWarehouse != null and query.inWarehouse != ''">
AND h.in_warehouse = #{query.inWarehouse}
</if>
</where>
ORDER BY h.created_date DESC, h.order_no, d.part_no
<if test="limit &gt; 0">
@ -160,6 +163,9 @@
<if test="query.departmentNo != null and query.departmentNo != ''">
AND h.department_no = #{query.departmentNo}
</if>
<if test="query.inWarehouse != null and query.inWarehouse != ''">
AND h.in_warehouse = #{query.inWarehouse}
</if>
</where>
</select>

3
src/main/resources/mapper/wms/WmsPrintMapper.xml

@ -259,6 +259,9 @@
<if test="query.batchNo != null and query.batchNo != ''">
and a.batch_no like '%'+ #{query.batchNo}+'%'
</if>
<if test="query.wdr != null and query.wdr != ''">
and a.wdr like '%'+ #{query.wdr}+'%'
</if>
</where>
order by a.first_in_date, a.site, a.bu_no, a.roll_no
</select>

Loading…
Cancel
Save