|
|
@@ -76,6 +76,7 @@ public class ApCheckServiceImpl implements ApCheckService {
|
|
|
amountDetail.put("apId", custApCheckData.getLongValue("id")); //ID
|
|
|
amountDetail.put("custName", custApCheckData.getJSONObject("myEnterprise").getString("enName"));
|
|
|
amountDetail.put("custUU", custApCheckData.getJSONObject("myEnterprise").getString("uu"));
|
|
|
+ amountDetail.put("enUU", custApCheckData.getJSONObject("vendorEnterprise").getString("uu"));
|
|
|
resultSubList.add(amountDetail);
|
|
|
}
|
|
|
result.addAll(resultSubList);
|
|
|
@@ -126,6 +127,7 @@ public class ApCheckServiceImpl implements ApCheckService {
|
|
|
result.put("main", generateMainData(apCheckProdIO, currency));
|
|
|
/* 明细表数据 */
|
|
|
result.put("items", apCheckProdIO.getDetails().stream().filter(apCheckProdIODetail -> currency.equals(apCheckProdIODetail.getCurrency())).collect(Collectors.toList()));
|
|
|
+ result.put("data", apCheckProdIO);
|
|
|
} catch (Exception e) {
|
|
|
throw new BizException(80000, e.getMessage());
|
|
|
}
|