Finish Task #4531 Cost:4h  修复复制合同开票单位错误

This commit is contained in:
时间淡忘一切 2023-11-14 17:26:40 +08:00
parent f33d7b0910
commit ac162406d8

View File

@ -252,7 +252,9 @@ public class InternationalServiceImpl extends ServiceImpl<InternationalMapper, I
return list.stream() return list.stream()
.collect(Collectors.groupingBy(el -> StrUtil.subBefore(el.getCode(), .collect(Collectors.groupingBy(el -> StrUtil.subBefore(el.getCode(),
".", ".",
false), Collectors.toMap(International::getCode, International::getName))); false), Collectors.toMap(el -> StrUtil.subAfter(el.getCode(),
".",
false), International::getName)));
} }
@Override @Override