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