feature:商旅对接

release
gaorl 2 years ago
parent ca169a700a
commit 43e20ba5a3
  1. 12
      order-management-consumer/src/main/resources/mybatis/mapper/OrderProcessInfoMapper.xml

@ -146,29 +146,29 @@
<select id="queryOrderProcessInfoByBzdh" parameterType="java.lang.String" resultMap="BaseResultMap"> <select id="queryOrderProcessInfoByBzdh" parameterType="java.lang.String" resultMap="BaseResultMap">
SELECT SELECT
<include refid="Base_Column_List"/> op.*
FROM FROM
order_process_info op order_process_info op
inner join order_invoice_info oii on oii.order_info_id = op.order_info_id inner join order_invoice_info oii on oii.order_info_id = op.order_info_id
WHERE WHERE
bzdh = #{bzdh,jdbcType=VARCHAR} op.bzdh = #{bzdh,jdbcType=VARCHAR}
<if test="shList != null and shList.size() == 0"> <if test="shList != null and shList.size() == 0">
and xhf_nsrsbh = '' and op.xhf_nsrsbh = ''
</if> </if>
<if test="shList != null and shList.size() == 1"> <if test="shList != null and shList.size() == 1">
and xhf_nsrsbh = and op.xhf_nsrsbh =
<foreach collection="shList" index="index" item="item"> <foreach collection="shList" index="index" item="item">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="shList != null and shList.size() > 1"> <if test="shList != null and shList.size() > 1">
and xhf_nsrsbh in and op.xhf_nsrsbh in
<foreach collection="shList" index="index" item="item" <foreach collection="shList" index="index" item="item"
open="(" separator="," close=")"> open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</if> </if>
and order_status = '0' and op.order_status = '0'
and oii.zf_bz = '0' and oii.zf_bz = '0'
</select> </select>

Loading…
Cancel
Save