变更流程代码调整

This commit is contained in:
dengwc 2024-03-02 13:45:03 +08:00
parent ff50758011
commit ac730f039d
1 changed files with 1 additions and 1 deletions

View File

@ -116,8 +116,8 @@ public class OrderApplicationService {
leg.setEndTime(LocalDateTime.parse(legData.getEndTime(), formatter));
leg.setOriginId(legData.getOriginId());
leg.setDestinationId(legData.getDestinationId());
orderDomainService.queryLocation(List.of(oldLeg,leg));
legRepository.save(leg).reloadStatus();
Command.of(BPMLegChangeCommand.class).routeId(addLegData.getRouteId()).oldLeg(oldLeg).newleg(leg).changeType(1).sendToQueue();