提交内容:银企交易明细,电子回单查询推送BIP

备注:银企交易明细,电子回单查询推送BIP
提交人:邹江涛
This commit is contained in:
zoujiangtao 2024-12-23 10:38:57 +08:00
parent 5af9e89356
commit bad9352add
1 changed files with 34 additions and 0 deletions

View File

@ -53,6 +53,24 @@ public class PayBillApiSavePlugin implements ApiSavePlugin {
Object payeetype = map.get("payeetype");//如果是收款人类型 则为付款处理保存接口 Object payeetype = map.get("payeetype");//如果是收款人类型 则为付款处理保存接口
Object payertype = map.get("payertype");//如果是付款人类型 则为收款处理保存接口 Object payertype = map.get("payertype");//如果是付款人类型 则为收款处理保存接口
if (payeetype != null) { if (payeetype != null) {
if ("BD_Supplier".equals(payeetype)) {
map.put("payeetype", "bd_supplier");
map.put("payeeformid", "bd_supplier");
} else if ("BD_Customer".equals(payeetype)) {
map.put("payeetype", "bd_customer");
map.put("payeeformid", "bd_customer");
} else if ("BD_Empinfo".equals(payeetype)) {
map.put("payeetype", "bos_user");
map.put("payeeformid", "bos_user");
} else if ("FIN_OTHERS".equals(payeetype)) {
map.put("payeetype", "other");
map.put("payeeformid", "other");
} else if ("ORG_Organizations".equals(payeetype)) {
map.put("payeetype", "bos_org");
map.put("payeeformid", "bos_org");
}
logger.info("进入付款处理单API"); logger.info("进入付款处理单API");
//收款人类型 //收款人类型
objectType = payeetype.toString(); objectType = payeetype.toString();
@ -88,6 +106,22 @@ public class PayBillApiSavePlugin implements ApiSavePlugin {
} }
if (payertype != null) { if (payertype != null) {
if ("BD_Supplier".equals(payeetype)) {
map.put("payertype", "bd_supplier");
map.put("payerformid", "bd_supplier");
} else if ("BD_Customer".equals(payeetype)) {
map.put("payertype", "bd_customer");
map.put("payerformid", "bd_customer");
} else if ("BD_Empinfo".equals(payeetype)) {
map.put("payertype", "bos_user");
map.put("payerformid", "bos_user");
} else if ("FIN_OTHERS".equals(payeetype)) {
map.put("payertype", "other");
map.put("payerformid", "other");
} else if ("ORG_Organizations".equals(payeetype)) {
map.put("payertype", "bos_org");
map.put("payerformid", "bos_org");
}
objectType = payertype.toString(); objectType = payertype.toString();
if (!"other".equals(objectType)) { if (!"other".equals(objectType)) {
objectNumber = map.get("payernumber").toString(); objectNumber = map.get("payernumber").toString();