Browse Source

增加过滤条件

master
赵宏斌 3 months ago
parent
commit
f326bde6a3
  1. 9
      src/main/resources/mapper/wms/WmsPrintMapper.xml

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

@ -210,6 +210,15 @@
#{warehouseId}
</foreach>
</if>
<if test="query.orderref0 != null and query.orderref0 != ''">
and A.orderref0 = #{query.orderref0}
</if>
<if test="query.orderref1 != null and query.orderref1 != ''">
and A.orderref1 like '%'+ #{query.orderref1}+'%'
</if>
<if test="query.remark != null and query.remark != ''">
and A.remark like '%'+ #{query.remark}+'%'
</if>
<if test="query.locationId != null and query.locationId != ''">
and A.location_id like '%'+ #{query.locationId}+'%'
</if>

Loading…
Cancel
Save