Commit 9bfeff8a by 王昆

Merge branch 'bpo-web' of gitlab.gongsibao.com:jiangyong/zhichan into bpo-web

parents 827f7440 2e0b35b0
......@@ -35,6 +35,7 @@ class BpoSDPJApi {
this.tdevApi = require("./tdevApi");
this.redisLock = system.getObject("util.redisLock");
this.bankthreelogSve = system.getObject("service.bankthreelogSve");
this.etemplateSve = system.getObject("service.etemplateSve")
this.resultMap = {
0:"操作成功",
1:"操作失败",
......@@ -238,9 +239,16 @@ class BpoSDPJApi {
outTradeNo: this.trim(obj.outTradeNo),
mchtId: this.trim(obj.mchtId),
})||{};
let epr = {};
if(_cCashInfo.ecid){
epr = await this.etemplateSve.allByEcid(_cCashInfo.ecid) || {};
}
let resData = {
id_name:_cCashInfo.id_name,
id_no:_cCashInfo.id_no,
mainName:epr.main.name,
companyName:epr.company.name
};
this.ccashinfoSve.formatStatus(resData,_cCashInfo);
return this.getCodeResult(0, resData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment