This commit is contained in:
linfso 2024-12-14 20:02:50 +08:00
parent 498dfcf72b
commit 648a1baed8

View File

@ -370,7 +370,7 @@
<if test="id != null "> and a.id = #{id}</if>
<if test="orderSn != null and orderSn != ''"> and ( FIND_IN_SET(`order_sn`,#{orderSn}) or order_sn like concat('%', #{orderSn}, '%') ) </if>
<if test="params.isApp !=null and params.isApp == 1">
<if test="params.isSapp !=null and params.isSapp == 1">
<if test="billCode != null and billCode != ''">
and (
bill_code like concat('%', #{billCode}, '%')
@ -382,7 +382,7 @@
</if>
</if>
<if test="params.isApp != 1">
<if test="params.isSapp != 1">
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
</if>
<if test="custOrderId != null and custOrderId != ''"> and cust_order_id=#{custOrderId}</if>