Commit ff30dafb by huluobin

update

parent 1009a97e
......@@ -359,7 +359,7 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
orderServe.setCommentStatus(orderServeParam.getCommentStatus());
//订单服务备注
orderServe.setRemark(orderServeParam.getRemark());
orderServe.setOwnProduceId(orderServeParam.getOwnProduceId());
//更新订单详情时校验自带款式是否设置
if (orderServe.getIsOwnProduce().equals(1)) {
if (orderServe.getOwnProduceId() == null) {
......@@ -368,10 +368,6 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
orderServe.setIsOwnProduce(1);
orderServe.setOwnProduce(ownProduceMapper.selectById(orderServe.getOwnProduceId()));
}
// else {
// orderServe.setIsOwnProduce(2);
// orderServe.setOwnProduceId(null);
// }
orderServe.calcPriceAndTimeLength();
orderServeMapper.updateById(orderServe);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment