Commit 1a8c6db1 by 兰国旗

laolan

parent 988f1479
...@@ -33,6 +33,7 @@ class RegCenterOrderService{ ...@@ -33,6 +33,7 @@ class RegCenterOrderService{
// 获取需求详情 // 获取需求详情
async selectNeedInfo(pobj){ async selectNeedInfo(pobj){
pobj.actionType = "selectNeedInfo" pobj.actionType = "selectNeedInfo"
var needinfo = {}
if(pobj.actionBody.orderNo){ if(pobj.actionBody.orderNo){
var orderinfo = await this.orderinfoDao.findOne({ channelOrderNo: pobj.actionBody.orderNo }); var orderinfo = await this.orderinfoDao.findOne({ channelOrderNo: pobj.actionBody.orderNo });
if (!orderinfo || !orderinfo.orderNo) { if (!orderinfo || !orderinfo.orderNo) {
...@@ -42,7 +43,7 @@ class RegCenterOrderService{ ...@@ -42,7 +43,7 @@ class RegCenterOrderService{
if (!needsolution || !needsolution.channelSolutionNo) { if (!needsolution || !needsolution.channelSolutionNo) {
return system.getResult(null, "方案数据为空,30211"); return system.getResult(null, "方案数据为空,30211");
} }
var needinfo = await this.needinfoDao.findOne({ channelNeedNo: needsolution.channelNeedNo }); needifno = await this.needinfoDao.findOne({ channelNeedNo: needsolution.channelNeedNo });
if (!needinfo) { if (!needinfo) {
needifno = {} needifno = {}
needinfo['publishMobile'] = needsolution.solutionContent.customerInfo.publishMobile needinfo['publishMobile'] = needsolution.solutionContent.customerInfo.publishMobile
...@@ -51,7 +52,7 @@ class RegCenterOrderService{ ...@@ -51,7 +52,7 @@ class RegCenterOrderService{
} }
} }
if(pobj.actionBody.channelNeedNo){ if(pobj.actionBody.channelNeedNo){
var needinfo = await this.needinfoDao.findOne({ channelNeedNo: pobj.actionBody.channelNeedNo }); needinfo = await this.needinfoDao.findOne({ channelNeedNo: pobj.actionBody.channelNeedNo });
if (!needinfo || !needinfo.channelNeedNo) { if (!needinfo || !needinfo.channelNeedNo) {
return system.getResult(null, "需求数据为空,30213"); return system.getResult(null, "需求数据为空,30213");
} }
......
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