优化推送OA供应商报错
This commit is contained in:
parent
bcdb9bd311
commit
4c90cc0883
|
@ -119,12 +119,13 @@ public class PushOASupplierOPPlugin extends AbstractOperationServicePlugIn {
|
||||||
// "开户行名称:例如招商银行股份有限公司上海分行外高桥支行龙江支行"
|
// "开户行名称:例如招商银行股份有限公司上海分行外高桥支行龙江支行"
|
||||||
bank = BusinessDataServiceHelper.loadSingle(bank.getPkValue(), "bd_bebank");
|
bank = BusinessDataServiceHelper.loadSingle(bank.getPkValue(), "bd_bebank");
|
||||||
custBankaccBody.put("pk_bankdoc", bank.getString("name"));
|
custBankaccBody.put("pk_bankdoc", bank.getString("name"));
|
||||||
DynamicObject city = bank.getDynamicObject("city");
|
custBankaccBody.put("city", bank.getString("citytxt"));//"城市
|
||||||
if (null != city) {
|
// DynamicObject city = bank.getDynamicObject("city");
|
||||||
//"城市"
|
// if (null != city) {
|
||||||
city = BusinessDataServiceHelper.loadSingle(city.getPkValue(), "bd_admindivision");
|
// //"城市"
|
||||||
custBankaccBody.put("city", city.getString("name"));
|
// city = BusinessDataServiceHelper.loadSingle(city.getPkValue(), "bd_admindivision");
|
||||||
}
|
// custBankaccBody.put("city", city.getString("name"));
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
custBankaccBody.put("accname", entry_bank.getString("accountname"));//"银行账号名称",
|
custBankaccBody.put("accname", entry_bank.getString("accountname"));//"银行账号名称",
|
||||||
custBankaccBody.put("pk_banktype", "");//todo:"银行类别:例如招商银行",
|
custBankaccBody.put("pk_banktype", "");//todo:"银行类别:例如招商银行",
|
||||||
|
|
Loading…
Reference in New Issue