source type

This commit is contained in:
zhangke 2025-09-24 16:38:58 +08:00
parent e9de23c491
commit 51e56cdf0c
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<select id="getTask" resultType="com.nflg.wms.repository.entity.WmsPoReceipt"> <select id="getTask" resultType="com.nflg.wms.repository.entity.WmsPoReceipt">
select * select *
from wms_po_receipt from wms_po_receipt
where is_completed=false and sourceType=0 where is_completed=false and source_type=0
<if test="orederNo !=null and orederNo !='' "> <if test="orederNo !=null and orederNo !='' ">
and ( order_no ilike #{orederNo} or in_num ilike #{orederNo} ) and ( order_no ilike #{orederNo} or in_num ilike #{orederNo} )
</if> </if>

View File

@ -9,7 +9,7 @@
create_time, create_time,
factory_code factory_code
from wms_qc_receive from wms_qc_receive
where is_completed !=2 and is_check = true and sourceType=0 where is_completed !=2 and is_check = true and source_type=0
<if test="orderNo != null and orderNo != ''"> <if test="orderNo != null and orderNo != ''">
and ( in_no ilike concat( '%',#{orderNo},'%') or order_no ilike concat( '%',#{orderNo},'%') ) and ( in_no ilike concat( '%',#{orderNo},'%') or order_no ilike concat( '%',#{orderNo},'%') )
</if> </if>