Commit e2b32b6f by 王力

Merge branch 'dev_mp2jpa0810' into 'develop'

修改

See merge request !336
2 parents 2490d3c2 f9308e99
...@@ -241,6 +241,7 @@ public class DispatchServiceImpl implements DispatchService { ...@@ -241,6 +241,7 @@ public class DispatchServiceImpl implements DispatchService {
return Result.success(res); return Result.success(res);
} }
@Transactional
@Override @Override
public Result<?> dispatchOrderConfirm(String engineerCode, String date, List<String> orderIds) throws BusinessException { public Result<?> dispatchOrderConfirm(String engineerCode, String date, List<String> orderIds) throws BusinessException {
// 派工台确认派单 // 派工台确认派单
...@@ -278,6 +279,7 @@ public class DispatchServiceImpl implements DispatchService { ...@@ -278,6 +279,7 @@ public class DispatchServiceImpl implements DispatchService {
update.set(root.get("planEndTime"), planEndTime); update.set(root.get("planEndTime"), planEndTime);
update.set(root.get("appointmentStatus"), "CONFIRM"); update.set(root.get("appointmentStatus"), "CONFIRM");
update.set(root.get("appointmentMethod"), "MANUAL"); update.set(root.get("appointmentMethod"), "MANUAL");
update.set(root.get("engineerCode"), engineerCode);
update.where( update.where(
criteriaBuilder.equal(root.get("orderId"), orderId), criteriaBuilder.equal(root.get("orderId"), orderId),
criteriaBuilder.equal(root.get("dt"), localDate) criteriaBuilder.equal(root.get("dt"), localDate)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!