fix: 修复缺少归属部门时高德消费明细回推的bug
This commit is contained in:
parent
43dfba8c35
commit
b95b5c29cb
|
@ -169,6 +169,7 @@ public class RouteOrder implements Serializable {
|
||||||
for (ApproveCustomField approveCustomField : approveCustomFieldList) {
|
for (ApproveCustomField approveCustomField : approveCustomFieldList) {
|
||||||
String fieldName = approveCustomField.getFieldName();
|
String fieldName = approveCustomField.getFieldName();
|
||||||
String fieldValue = approveCustomField.getFieldValue();
|
String fieldValue = approveCustomField.getFieldValue();
|
||||||
|
this.routeCustomExtensionFieldList = new ArrayList<>(this.routeCustomExtensionFieldList);
|
||||||
Optional<RouteCustomExtensionField> first = this.routeCustomExtensionFieldList
|
Optional<RouteCustomExtensionField> first = this.routeCustomExtensionFieldList
|
||||||
.stream()
|
.stream()
|
||||||
.filter(it -> it.getFieldName().equals(fieldName))
|
.filter(it -> it.getFieldName().equals(fieldName))
|
||||||
|
|
|
@ -160,7 +160,8 @@ public class LegEventHandler implements LegEventService {
|
||||||
command.order(save);
|
command.order(save);
|
||||||
|
|
||||||
//异步执行自动同步功能
|
//异步执行自动同步功能
|
||||||
Command.of(RouteAutoSyncCommand.class).route(save).async().sendToQueue();
|
Command.of(RouteAutoSyncCommand.class).route(routeRepository
|
||||||
|
.findByFakeOrderNoAndSysCode(fakeOrderNo, sysCode)).async().sendToQueue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
|
|
Loading…
Reference in New Issue