md
This commit is contained in:
parent
6722c529fe
commit
a655beac3c
@ -476,7 +476,7 @@
|
||||
<select id="selectEmisWaybillList" parameterType="EmisWaybill" resultMap="EmisWaybillResult">
|
||||
<include refid="selectEmisWaybillVo"/>
|
||||
<where>
|
||||
a.del_flag='0'
|
||||
a.del_flag='0' and order_status !='0'
|
||||
<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="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
@ -774,7 +774,7 @@
|
||||
round(sum(freight),2) as totalFreight
|
||||
from emis_waybill a
|
||||
<where>
|
||||
a.del_flag='0'
|
||||
a.del_flag='0' and order_status !='0'
|
||||
<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="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
@ -1048,7 +1048,7 @@
|
||||
<select id="selectPrintWaybillList" parameterType="EmisWaybill" resultMap="EmisWaybillResult">
|
||||
<include refid="selectEmisWaybillVo"/>
|
||||
<where>
|
||||
a.del_flag='0'
|
||||
a.del_flag='0' and order_status !='0'
|
||||
<if test="billCode != null and billCode != ''"> and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) </if>
|
||||
|
||||
<if test="params.beginDate != null and params.beginDate != ''">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user