diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
index 06ef363a6..59cd7fa3d 100644
--- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
@@ -200,8 +200,9 @@
and id = #{id}
- and FIND_IN_SET(`order_sn`,#{orderSn})
- and FIND_IN_SET(`bill_code`,#{billCode})
+ and ( FIND_IN_SET(`order_sn`,#{orderSn}) or order_sn like concat('%', #{orderSn}, '%') )
+ and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') )
+
and scan_type=#{scanType}
and pre_or_next_station like concat('%', #{preOrNextStation}, '%')
and pre_or_next_station_code=#{preOrNextStationCode}
diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
index b47aa2dbb..405e3cd32 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
@@ -282,9 +282,10 @@
del_flag='0'
and id = #{id}
- and FIND_IN_SET(`order_sn`,#{orderSn})
+ and ( FIND_IN_SET(`order_sn`,#{orderSn}) or order_sn like concat('%', #{orderSn}, '%') )
+ and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') )
+
and cust_order_id=#{custOrderId}
- and FIND_IN_SET(`bill_code`,#{billCode})
and bill_code_sub like concat('%', #{billCodeSub}, '%')
and order_status like concat('%', #{orderStatus}, '%')
and waybill_status like concat('%', #{waybillStatus}, '%')
diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillProblemInfoMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillProblemInfoMapper.xml
index 996874630..ebad9bd17 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillProblemInfoMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillProblemInfoMapper.xml
@@ -46,7 +46,8 @@
del_flag='0'
and id = #{id}
- and bill_code like concat('%', #{billCode}, '%')
+ and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') )
+
and problem_type like concat('%', #{problemType}, '%')
and problem_title like concat('%', #{problemTitle}, '%')
and problem_cause like concat('%', #{problemCause}, '%')
diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillTransferMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillTransferMapper.xml
index f6ef3e010..8c8c67cd9 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillTransferMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillTransferMapper.xml
@@ -39,7 +39,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
del_flag='0'
and id = #{id}
- and bill_code like concat('%', #{billCode}, '%')
+ and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') )
+
and transfer_bill_code like concat('%', #{transferBillCode}, '%')
and transfer_date = #{transferDate}
and transfer_express like concat('%', #{transferExpress}, '%')