|
|
|
@ -2496,7 +2496,10 @@ public class CoDelServiceImpl implements CoDelService { |
|
|
|
template.addVar("hs_code_desc", stringInput(nodifyDetailList.get(0).get("hsCodeDescEn")!=null?sbEn.toString():"")); |
|
|
|
String hsCodes = nodifyDetailList.stream() |
|
|
|
.map(m -> Objects.toString(m.get("hsCode"), "")) |
|
|
|
.collect(Collectors.joining("\n")); |
|
|
|
.filter(s -> !s.isEmpty()) // 去掉空值 |
|
|
|
.distinct() // 去重 |
|
|
|
.collect(Collectors.joining("、")); // 用换行拼接 |
|
|
|
|
|
|
|
template.addVar("hs_code", stringInput(hsCodes)); |
|
|
|
Map<Object, Object> poNoMap = new HashMap<>(); |
|
|
|
BigDecimal ttlAmount = BigDecimal.ZERO; |
|
|
|
|