Commit 0f131547 by 庄冰

Merge branch 'center-order' of gitlab.gongsibao.com:jiangyong/zhichan into center-order

parents 7e497fca 31c64d5f
......@@ -172,17 +172,17 @@ class NeedinfoService extends ServiceBase {
async getItemByChannelSolutionNo(pobj) {
var solutionitem = await this.needsolutionDao.findOne({ channelSolutionNo: pobj.actionBody.bizId });
if (!solutionitem) {
return system.getResult(null, "需求数据为空,30210");
return system.getResult(null, "方案数据为空,30210");
}
var item = await this.dao.getItemByNeedNo(solutionitem.needNo);
if (!item) {
return system.getResult(null, "需求数据为空,30210");
}
// fixme 阿里直购需要更改
item.solutionProvince = solutionitem.solutionContent.solution.Area
//item.solutionProvince = solutionitem.solutionContent.solution.Area + `(${solutionitem.solutionContent.solution.actionType})`//北京(新办);
item.solutionContent = solutionitem.solutionContent
item.channelSolutionNo = solutionitem.channelSolutionNo
if (!item) {
return system.getResult(null, "需求数据为空,30210");
}
return system.getResultSuccess(item);
}
......
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