|
|
@@ -6,7 +6,7 @@
|
|
|
${dbName}_order.o_order_${operatorId} o
|
|
|
set od.with_draw_id = #{withdrawId}
|
|
|
where o.order_id=od.order_id
|
|
|
- and od.with_draw_id is null
|
|
|
+ and od.with_draw_id =0
|
|
|
and od.split_status = 2
|
|
|
and o.group_leader_id=#{groupLeaderId}
|
|
|
</update>
|
|
|
@@ -20,7 +20,7 @@
|
|
|
<update id="updateWithdrawFail">
|
|
|
update ${dbName}_order.o_order_detail_${operatorId} od,
|
|
|
${dbName}_order.o_order_${operatorId} o
|
|
|
- set od.with_draw_id = NULL
|
|
|
+ set od.with_draw_id = 0
|
|
|
where o.order_id=od.order_id
|
|
|
and od.with_draw_id = #{withdrawId}
|
|
|
</update>
|
|
|
@@ -36,7 +36,7 @@
|
|
|
AND od.split_status = 2
|
|
|
AND od.pay_status = 3
|
|
|
AND o.order_status = 6
|
|
|
- and od.with_draw_id is null
|
|
|
+ and od.with_draw_id = 0
|
|
|
AND o.group_leader_id =#{groupLeaderId}
|
|
|
</select>
|
|
|
|
|
|
@@ -51,7 +51,7 @@
|
|
|
AND od.split_status >0
|
|
|
AND od.pay_status = 3
|
|
|
AND o.order_status = 6
|
|
|
- and od.with_draw_id is null
|
|
|
+ and od.with_draw_id =0
|
|
|
AND o.group_leader_id =#{groupLeaderId}
|
|
|
</select>
|
|
|
</mapper>
|