demand: tms-运单管理-运单录入/运单批量录入-生成运单时设置数据来源为tms tms-对接外部系统下单接口-生成订单时设置数据来源为api tms-运单管理-寄件运单查询/寄件运单查询新-查询支持根据数据来源查询,查询返回数据区分数据来源

This commit is contained in:
aike 2026-02-28 09:59:53 +08:00
parent 4a8fda5285
commit d6626dad7f

View File

@ -1983,6 +1983,17 @@
</foreach> </foreach>
</if> </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="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="billCodeSub != null and billCodeSub != ''"> and bill_code_sub like concat('%', #{billCodeSub}, '%')</if>
<if test="orderStatus != null and orderStatus != ''"> and order_status=#{orderStatus}</if> <if test="orderStatus != null and orderStatus != ''"> and order_status=#{orderStatus}</if>