This commit is contained in:
linfso 2024-05-23 12:45:34 +08:00
parent 134fc581ac
commit a31264e737

View File

@ -294,7 +294,7 @@
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="custOrderId != null and custOrderId != ''"> and cust_order_id like concat('%', #{custOrderId}, '%')</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>
@ -466,6 +466,14 @@
and send_date <![CDATA[ <= ]]> #{params.endSendDate}
</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != ''">
and create_time <![CDATA[ >= ]]> #{params.beginSendDate}
</if>
<if test="params.endCreateTime != null and params.endCreateTime != ''">
and create_time <![CDATA[ <= ]]> #{params.endSendDate}
</if>
<if test="params.printFlag != null and params.printFlag != ''">
and bl_print=#{params.printFlag}
</if>