Browse Source

2026-01-05

pda优化
master
fengyuan_yang 5 months ago
parent
commit
a87a28e95d
  1. 2
      src/main/resources/mapper/inboundNotification/InboundNotificationHeadMapper.xml
  2. 2
      src/main/resources/mapper/otherInbound/OtherInboundMapper.xml
  3. 2
      src/main/resources/mapper/otherOutbound/OtherOutboundMapper.xml
  4. 3
      src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml
  5. 2
      src/main/resources/mapper/purchaseReturn/PurchaseReturnMapper.xml
  6. 2
      src/main/resources/mapper/salesOutbound/SalesOutboundMapper.xml
  7. 3
      src/main/resources/mapper/salesReturn/SalesReturnMapper.xml

2
src/main/resources/mapper/inboundNotification/InboundNotificationHeadMapper.xml

@ -23,7 +23,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

2
src/main/resources/mapper/otherInbound/OtherInboundMapper.xml

@ -25,7 +25,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

2
src/main/resources/mapper/otherOutbound/OtherOutboundMapper.xml

@ -25,7 +25,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

3
src/main/resources/mapper/productionInbound/ProductionInboundMapper.xml

@ -24,8 +24,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.part_no LIKE CONCAT('%', #{searchCode}, '%')
OR D.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

2
src/main/resources/mapper/purchaseReturn/PurchaseReturnMapper.xml

@ -28,7 +28,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

2
src/main/resources/mapper/salesOutbound/SalesOutboundMapper.xml

@ -27,7 +27,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

3
src/main/resources/mapper/salesReturn/SalesReturnMapper.xml

@ -27,8 +27,7 @@
<if test="searchCode != null and searchCode != ''"> <if test="searchCode != null and searchCode != ''">
AND ( AND (
h.order_no LIKE CONCAT('%', #{searchCode}, '%') h.order_no LIKE CONCAT('%', #{searchCode}, '%')
OR h.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.part_no LIKE CONCAT('%', #{searchCode}, '%')
OR d.related_order_no LIKE CONCAT('%', #{searchCode}, '%')
) )
</if> </if>
<!-- <if test="searchCode == null or searchCode == ''">--> <!-- <if test="searchCode == null or searchCode == ''">-->

Loading…
Cancel
Save