Commit a6e5e69e by huluobin

订单 预约版本号

parent 4ca22c53
...@@ -398,11 +398,11 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order ...@@ -398,11 +398,11 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
orderManage.setVersion(param.getVersion()); orderManage.setVersion(param.getVersion());
//更次预约 //更次预约
int update = orderManageMapper.updateById(orderManage); int update = orderManageMapper.updateById(orderManage);
if (update == 0) { if (update == 0) {
throw new RRException("订单已被别人修改,请刷新后重新填写提交") throw new RRException("订单已被别人修改,请刷新后重新填写提交");
} }
//订单结算 //订单结算
......
...@@ -694,7 +694,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper, ...@@ -694,7 +694,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
//更次预约 //更次预约
int update = scheduleManageMapper.updateById(scheduleManage); int update = scheduleManageMapper.updateById(scheduleManage);
if (update == 0) { if (update == 0) {
throw new RRException("预约已被别人修改,请刷新后重新填写提交") throw new RRException("预约已被别人修改,请刷新后重新填写提交");
} }
List<Integer> oldScheduleServeIds = scheduleServeMapper.selectList(new LambdaQueryWrapper<ScheduleServe>().eq(ScheduleServe::getSchId, scheduleManage.getId())).stream().map(ScheduleServe::getId).collect(Collectors.toList()); List<Integer> oldScheduleServeIds = scheduleServeMapper.selectList(new LambdaQueryWrapper<ScheduleServe>().eq(ScheduleServe::getSchId, scheduleManage.getId())).stream().map(ScheduleServe::getId).collect(Collectors.toList());
......
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