fix: 修复缺少归属部门时高德消费明细回推的bug

This commit is contained in:
lulz1 2024-06-24 09:00:05 +08:00
parent 43dfba8c35
commit b95b5c29cb
2 changed files with 3 additions and 1 deletions

View File

@ -169,6 +169,7 @@ public class RouteOrder implements Serializable {
for (ApproveCustomField approveCustomField : approveCustomFieldList) {
String fieldName = approveCustomField.getFieldName();
String fieldValue = approveCustomField.getFieldValue();
this.routeCustomExtensionFieldList = new ArrayList<>(this.routeCustomExtensionFieldList);
Optional<RouteCustomExtensionField> first = this.routeCustomExtensionFieldList
.stream()
.filter(it -> it.getFieldName().equals(fieldName))

View File

@ -160,7 +160,8 @@ public class LegEventHandler implements LegEventService {
command.order(save);
//异步执行自动同步功能
Command.of(RouteAutoSyncCommand.class).route(save).async().sendToQueue();
Command.of(RouteAutoSyncCommand.class).route(routeRepository
.findByFakeOrderNoAndSysCode(fakeOrderNo, sysCode)).async().sendToQueue();
}
@Transactional