提交 6c3f996b 作者: xiaowang

租赁订单

上级 f033d4af
...@@ -655,10 +655,9 @@ public class LeaseOrderServiceImpl implements LeaseOrderService { ...@@ -655,10 +655,9 @@ public class LeaseOrderServiceImpl implements LeaseOrderService {
} }
leaseOrderDao.updateLeaseOrderProportion(leaseOrderDO.getId(), UavOrderProportion.PROPORTION.intValue()); leaseOrderDao.updateLeaseOrderProportion(leaseOrderDO.getId(), UavOrderProportion.PROPORTION.intValue());
this.updateLeaseOrderStatus(param.getOrderId(), LeaseOrderStatus.REMAIN_TO_BE_EVALUATED); this.updateLeaseOrderStatus(param.getOrderId(), LeaseOrderStatus.REMAIN_TO_BE_EVALUATED);
return ResultBody.success();
} else { } else {
// todo 进行相应赔偿 // todo 进行相应赔偿
return ResultBody.success();
} }
return ResultBody.success();
} }
} }
...@@ -47,7 +47,12 @@ ...@@ -47,7 +47,12 @@
</insert> </insert>
<update id="updateUavOrderStatus"> <update id="updateUavOrderStatus">
update lease_order update lease_order
set status_code = #{code} <set>
status_code = #{code},
<if test="code == 300">
send_ware_time = NOW()
</if>
</set>
where id = #{id} where id = #{id}
</update> </update>
<update id="updateLeaseOrderExpress"> <update id="updateLeaseOrderExpress">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论