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

This commit is contained in:
aike 2026-02-28 09:56:32 +08:00
parent 886a549379
commit 4a8fda5285

View File

@ -1290,6 +1290,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="orderType != null and orderType != ''"> and a.order_type=#{orderType}</if>
<if test="custOrderId != null and custOrderId != ''"> and a.cust_order_id=#{custOrderId}</if>