parent
58d08520f8
commit
70744b1e6a
|
@ -54,20 +54,25 @@ public class PayBillApiSavePlugin implements ApiSavePlugin {
|
|||
Object payertype = map.get("payertype");//如果是付款人类型 则为收款处理保存接口
|
||||
if (payeetype != null) {
|
||||
if ("BD_Supplier".equals(payeetype)) {
|
||||
payeetype = "bd_supplier";
|
||||
map.put("payeetype", "bd_supplier");
|
||||
map.put("payeeformid", "bd_supplier");
|
||||
} else if ("BD_Customer".equals(payeetype)) {
|
||||
payeetype = "bd_customer";
|
||||
map.put("payeetype", "bd_customer");
|
||||
map.put("payeeformid", "bd_customer");
|
||||
} else if ("BD_Empinfo".equals(payeetype)) {
|
||||
payeetype = "bos_user";
|
||||
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)) {
|
||||
payeetype = "bos_org";
|
||||
map.put("payeetype", "bos_org");
|
||||
map.put("payeeformid", "bos_org");
|
||||
} else if ("FIN_OTHERS".equals(payeetype)) {
|
||||
payeetype = "other";
|
||||
map.put("payeetype", "other");
|
||||
map.put("payeeformid", "other");
|
||||
}
|
||||
|
||||
|
||||
|
@ -106,21 +111,26 @@ public class PayBillApiSavePlugin implements ApiSavePlugin {
|
|||
}
|
||||
|
||||
if (payertype != null) {
|
||||
if ("BD_Supplier".equals(payeetype)) {
|
||||
if ("BD_Supplier".equals(payertype)) {
|
||||
payertype = "bd_supplier";
|
||||
map.put("payertype", "bd_supplier");
|
||||
map.put("payerformid", "bd_supplier");
|
||||
} else if ("BD_Customer".equals(payeetype)) {
|
||||
} else if ("BD_Customer".equals(payertype)) {
|
||||
payertype = "bd_customer";
|
||||
map.put("payertype", "bd_customer");
|
||||
map.put("payerformid", "bd_customer");
|
||||
} else if ("BD_Empinfo".equals(payeetype)) {
|
||||
} else if ("BD_Empinfo".equals(payertype)) {
|
||||
payertype = "bos_user";
|
||||
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)) {
|
||||
} else if ("ORG_Organizations".equals(payertype)) {
|
||||
payertype = "bos_org";
|
||||
map.put("payertype", "bos_org");
|
||||
map.put("payerformid", "bos_org");
|
||||
} else if ("FIN_OTHERS".equals(payertype)) {
|
||||
payertype = "other";
|
||||
map.put("payertype", "other");
|
||||
map.put("payerformid", "other");
|
||||
}
|
||||
objectType = payertype.toString();
|
||||
if (!"other".equals(objectType)) {
|
||||
|
|
Loading…
Reference in New Issue