md
This commit is contained in:
parent
07890ec6d1
commit
729c484fda
@ -200,8 +200,9 @@
|
||||
<include refid="selectEmisTmsScanRecordVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="orderSn != null and orderSn != ''"> and FIND_IN_SET(`order_sn`,#{orderSn}) </if>
|
||||
<if test="billCode != null and billCode != ''"> and FIND_IN_SET(`bill_code`,#{billCode}) </if>
|
||||
<if test="orderSn != null and orderSn != ''"> and ( FIND_IN_SET(`order_sn`,#{orderSn}) or order_sn like concat('%', #{orderSn}, '%') ) </if>
|
||||
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
|
||||
<if test="scanType != null and scanType != ''"> and scan_type=#{scanType}</if>
|
||||
<if test="preOrNextStation != null and preOrNextStation != ''"> and pre_or_next_station like concat('%', #{preOrNextStation}, '%')</if>
|
||||
<if test="preOrNextStationCode != null and preOrNextStationCode != ''"> and pre_or_next_station_code=#{preOrNextStationCode}</if>
|
||||
|
||||
@ -282,9 +282,10 @@
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="orderSn != null and orderSn != ''"> and FIND_IN_SET(`order_sn`,#{orderSn}) </if>
|
||||
<if test="orderSn != null and orderSn != ''"> and ( FIND_IN_SET(`order_sn`,#{orderSn}) or order_sn like concat('%', #{orderSn}, '%') ) </if>
|
||||
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
|
||||
<if test="custOrderId != null and custOrderId != ''"> and cust_order_id=#{custOrderId}</if>
|
||||
<if test="billCode != null and billCode != ''"> and FIND_IN_SET(`bill_code`,#{billCode}) </if>
|
||||
<if test="billCodeSub != null and billCodeSub != ''"> and bill_code_sub like concat('%', #{billCodeSub}, '%')</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and order_status like concat('%', #{orderStatus}, '%')</if>
|
||||
<if test="waybillStatus != null and waybillStatus != ''"> and waybill_status like concat('%', #{waybillStatus}, '%')</if>
|
||||
|
||||
@ -46,7 +46,8 @@
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="billCode != null and billCode != ''"> and bill_code like concat('%', #{billCode}, '%')</if>
|
||||
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
|
||||
<if test="problemType != null and problemType != ''"> and problem_type like concat('%', #{problemType}, '%')</if>
|
||||
<if test="problemTitle != null and problemTitle != ''"> and problem_title like concat('%', #{problemTitle}, '%')</if>
|
||||
<if test="problemCause != null and problemCause != ''"> and problem_cause like concat('%', #{problemCause}, '%')</if>
|
||||
|
||||
@ -39,7 +39,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="billCode != null and billCode != ''"> and bill_code like concat('%', #{billCode}, '%')</if>
|
||||
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
|
||||
<if test="transferBillCode != null and transferBillCode != ''"> and transfer_bill_code like concat('%', #{transferBillCode}, '%')</if>
|
||||
<if test="transferDate != null "> and transfer_date = #{transferDate}</if>
|
||||
<if test="transferExpress != null and transferExpress != ''"> and transfer_express like concat('%', #{transferExpress}, '%')</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user