Commit fd6c6db1 by 兰国旗

laolan

parent eb2304b8
...@@ -234,8 +234,11 @@ class RegCenterOrderService{ ...@@ -234,8 +234,11 @@ class RegCenterOrderService{
} }
} }
item = await this.needinfoDao.getItemByNeedNo(solutionitem.needNo); item = await this.needinfoDao.getItemByNeedNo(solutionitem.needNo);
if (!item) { if (!item && !solutionitem) {
return system.getResult(null, "需求数据为空,30210"); return system.getResult(null, "需求或者方案不存在,30211");
}
if (!item && solutionitem) {
item.publishMobile = solutionitem.solutionContent.customerInfo.publishMobile
} }
item.solutionProvince = solutionitem.solutionContent.solution.area; item.solutionProvince = solutionitem.solutionContent.solution.area;
item.solutionContent = solutionitem.solutionContent item.solutionContent = solutionitem.solutionContent
......
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