变更打车添加出差原因,添加变更原因

This commit is contained in:
dengwc 2024-03-15 02:23:48 +08:00
parent 9ec2c25fbe
commit 4e6dfea6b3
2 changed files with 4 additions and 2 deletions

View File

@ -306,7 +306,7 @@ public class LegEventHandler implements LegEventService {
if (leg.getChangeReason() != null) {
jth3ChangeDto.setStartTime(routeOrder.getStartTime().format(formatter));
jth3ChangeDto.setEndTime(routeOrder.getEndTime().format(formatter));
jth3ChangeDto.setReason(leg.getChangeReason());
jth3ChangeDto.setReason(routeOrder.getApproveOrderNo().getInstructions());
}
if (changeType.equals(0)) {
jth3ChangeDto.addLegNewTrip(leg);
@ -321,7 +321,7 @@ public class LegEventHandler implements LegEventService {
if (leg.getChangeReason() != null) {
xnChangeDto.setStartTime(routeOrder.getStartTime().format(formatter));
xnChangeDto.setEndTime(routeOrder.getEndTime().format(formatter));
xnChangeDto.setReason(leg.getChangeReason());
xnChangeDto.setReason(routeOrder.getApproveOrderNo().getInstructions());
}
if (changeType.equals(0)) {
xnChangeDto.addLegNewTrip(leg);

View File

@ -44,6 +44,7 @@ public class LegTrip {
if (leg.getLegType().equals(LEG_TYPE_TAXI) && leg.getDestinationLocation() == null) {
legNewTrip.setArriveCitiesName(getCarCity(leg));
}
legNewTrip.setReason(leg.getChangeReason());
return legNewTrip;
}
@ -92,6 +93,7 @@ public class LegTrip {
if (leg.getLegType().equals(LEG_TYPE_TAXI) && leg.getDestinationLocation() == null) {
legChangeTrip.setArriveCitiesName(getCarCity(leg));
}
legChangeTrip.setReason(leg.getChangeReason());
return legChangeTrip;
}