1、银行辅助核算取值->广脉特殊要求,指定账户
This commit is contained in:
parent
d6cd41d3a4
commit
65d08f671f
|
@ -597,7 +597,18 @@ public class ICoreServiceImpl implements ICoreService {
|
||||||
}
|
}
|
||||||
|
|
||||||
//辅助核算取值
|
//辅助核算取值
|
||||||
Map<String, String> assValue = getAssValue(templateAssistEntity, dataValue, orgBookVO);
|
Map<String, String> assValue = new HashMap<>();
|
||||||
|
try{
|
||||||
|
assValue = getAssValue(templateAssistEntity, dataValue, orgBookVO);
|
||||||
|
}catch (Exception e){
|
||||||
|
e.printStackTrace();
|
||||||
|
//广脉特殊要求,指定账户
|
||||||
|
if("96".equals(value)){
|
||||||
|
assValue.put("pk", "1001ZZ1000000005HYPU");
|
||||||
|
assValue.put("code", "默认");
|
||||||
|
assValue.put("name", "默认");
|
||||||
|
}
|
||||||
|
}
|
||||||
System.out.println(assValue);
|
System.out.println(assValue);
|
||||||
if (assValue.size() != 0) {
|
if (assValue.size() != 0) {
|
||||||
VoucherData.Voucher.Detail.Ass assEntity = new VoucherData.Voucher.Detail.Ass();
|
VoucherData.Voucher.Detail.Ass assEntity = new VoucherData.Voucher.Detail.Ass();
|
||||||
|
@ -2579,9 +2590,21 @@ public class ICoreServiceImpl implements ICoreService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//现金流映射
|
List<VoucherData.Voucher.Detail.Cashflow> cashflow =new LinkedList<>();
|
||||||
|
if(detail.getCashflow()!=null){
|
||||||
|
//现金流映射
|
||||||
|
for (VoucherData.Voucher.Detail.Cashflow cash : detail.getCashflow()) {
|
||||||
|
VoucherData.Voucher.Detail.Cashflow c = new VoucherData.Voucher.Detail.Cashflow();
|
||||||
|
c.setMoney(cash.getMoney());//金额 money
|
||||||
|
c.setPk_cashflow(cash.getPk_cashflow());//现金流 pk_cashflow
|
||||||
|
c.setPk_currtype(cash.getPk_currtype());//币种编码 pk_currtype
|
||||||
|
cashflow.add(c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
det.setAss(ass);
|
det.setAss(ass);
|
||||||
|
det.setCashflow(cashflow);
|
||||||
details.add(det);
|
details.add(det);
|
||||||
}
|
}
|
||||||
resuVoucher.setDetails(details);
|
resuVoucher.setDetails(details);
|
||||||
|
|
Loading…
Reference in New Issue