逻辑修改
This commit is contained in:
parent
0cbe4c46ba
commit
f1f39cfa56
|
|
@ -47,11 +47,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</if>
|
</if>
|
||||||
<if test="orderStatus == 4">
|
<if test="orderStatus == 4">
|
||||||
,take_over_user = #{userId},
|
,take_over_user = #{userId},
|
||||||
,pre_outbound_time = now()
|
,take_over_time = now()
|
||||||
</if>
|
</if>
|
||||||
<if test="orderStatus == 3">
|
<if test="orderStatus == 5">
|
||||||
,pre_outbound_user = #{phoneNumber},
|
,rent_over_user = #{userId},
|
||||||
,pre_outbound_time = now()
|
,rent_over_time = now()
|
||||||
</if>
|
</if>
|
||||||
where id in
|
where id in
|
||||||
<foreach item="id" collection="ids" open="(" separator="," close=")">
|
<foreach item="id" collection="ids" open="(" separator="," close=")">
|
||||||
|
|
@ -133,7 +133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN bm_file_info bfi ON hh.ma_id = bfi.model_id
|
LEFT JOIN bm_file_info bfi ON hh.ma_id = bfi.model_id
|
||||||
AND bfi.file_type = 0
|
AND bfi.file_type = 0
|
||||||
WHERE
|
WHERE
|
||||||
hh.id = #{id}
|
hh.id = #{id} limit 1
|
||||||
</select>
|
</select>
|
||||||
<select id="getOrderDetailsById" resultType="com.bonus.material.order.domain.OrderInfoDto">
|
<select id="getOrderDetailsById" resultType="com.bonus.material.order.domain.OrderInfoDto">
|
||||||
SELECT
|
SELECT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue