demand: tms-运单管理-运单录入/运单批量录入-生成运单时设置数据来源为tms tms-对接外部系统下单接口-生成订单时设置数据来源为api tms-运单管理-寄件运单查询/寄件运单查询新-查询支持根据数据来源查询,查询返回数据区分数据来源
This commit is contained in:
parent
4a8fda5285
commit
d6626dad7f
@ -1983,6 +1983,17 @@
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<if test="dataFrom != null and dataFrom != ''">
|
||||
<choose>
|
||||
<when test="dataFrom == 'tms'">
|
||||
and (a.data_from is null or a.data_from = '' or a.data_from = 'tms')
|
||||
</when>
|
||||
<otherwise>
|
||||
and a.data_from = #{dataFrom}
|
||||
</otherwise>
|
||||
</choose>
|
||||
</if>
|
||||
|
||||
<if test="custOrderId != null and custOrderId != ''"> and cust_order_id=#{custOrderId}</if>
|
||||
<if test="billCodeSub != null and billCodeSub != ''"> and bill_code_sub like concat('%', #{billCodeSub}, '%')</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and order_status=#{orderStatus}</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user