|
@@ -37,8 +37,9 @@ public class VoucherAdd {
|
|
|
|
|
|
|
|
|
voucher.put("date", DateUtils.format(new Date()));
|
|
|
- voucher.put("enter","DingDing_"+map.get("申请人"));
|
|
|
- voucher.put("cashier",map.get("出纳"));
|
|
|
+
|
|
|
+ voucher.put("enter","autoDingDing");
|
|
|
+
|
|
|
|
|
|
Map<String,Object> credit = new HashMap<>();
|
|
|
List<Map<String,Object>> entryCredit = new ArrayList<>();
|
|
@@ -56,10 +57,10 @@ public class VoucherAdd {
|
|
|
|
|
|
|
|
|
|
|
|
- entryCreditMap.put("abstract",map.get("事由"));
|
|
|
+ entryCreditMap.put("abstract",map.get("abstract"));
|
|
|
entryCreditMap.put("account_code","1001");
|
|
|
|
|
|
- entryCreditMap.put("natural_credit_currency",map.get("申请金额(元)"));
|
|
|
+ entryCreditMap.put("natural_credit_currency",map.get("naturalCurrency"));
|
|
|
|
|
|
entryCredit.add(entryCreditMap);
|
|
|
credit.put("entry",entryCredit);
|
|
@@ -78,14 +79,14 @@ public class VoucherAdd {
|
|
|
|
|
|
|
|
|
|
|
|
- entryDebitMap.put("abstract",map.get("事由"));
|
|
|
+ entryDebitMap.put("abstract",map.get("abstract"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
entryDebitMap.put("account_code","1001");
|
|
|
|
|
|
- entryDebitMap.put("natural_debit_currency",map.get("申请金额(元)"));
|
|
|
+ entryDebitMap.put("natural_debit_currency",map.get("naturalCurrency"));
|
|
|
|
|
|
|
|
|
entryDebit.add(entryDebitMap);
|