fix:修复因地理信息确实导致无法审批的问题
This commit is contained in:
parent
cd0fcd4f1a
commit
e1c3e640fe
|
@ -62,9 +62,7 @@ public class RouteApprovalDomainService {
|
||||||
public void approveRouteOfLegChangeAndAdd(LegApprovalParam param) {
|
public void approveRouteOfLegChangeAndAdd(LegApprovalParam param) {
|
||||||
RouteOrder routeOrder = routeRepository.queryById(param.getRouteId());
|
RouteOrder routeOrder = routeRepository.queryById(param.getRouteId());
|
||||||
List<Leg> legItems = routeOrder.getLegItems();
|
List<Leg> legItems = routeOrder.getLegItems();
|
||||||
if (legItems != null && !legItems.isEmpty() && legItems.get(0).getOriginLocation() == null) {
|
legDomainService.queryLocation(legItems);
|
||||||
legDomainService.queryLocation(legItems);
|
|
||||||
}
|
|
||||||
String approvalPlatformMark = getApprovalPlatformMark(routeOrder);
|
String approvalPlatformMark = getApprovalPlatformMark(routeOrder);
|
||||||
ApprovalSubmit.of(LEG_ADD_CHANGE_BATCH, approvalPlatformMark)
|
ApprovalSubmit.of(LEG_ADD_CHANGE_BATCH, approvalPlatformMark)
|
||||||
.approveData(routeOrder)
|
.approveData(routeOrder)
|
||||||
|
|
Loading…
Reference in New Issue