Commit 4b65918e by 兰国旗

laolan

parent 1a8c6db1
...@@ -35,7 +35,7 @@ class RegCenterOrderService{ ...@@ -35,7 +35,7 @@ class RegCenterOrderService{
pobj.actionType = "selectNeedInfo" pobj.actionType = "selectNeedInfo"
var needinfo = {} 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, deleted_at:null });
if (!orderinfo || !orderinfo.orderNo) { if (!orderinfo || !orderinfo.orderNo) {
return system.getResult(null, "订单数据为空,30210"); return system.getResult(null, "订单数据为空,30210");
} }
...@@ -43,9 +43,9 @@ class RegCenterOrderService{ ...@@ -43,9 +43,9 @@ class RegCenterOrderService{
if (!needsolution || !needsolution.channelSolutionNo) { if (!needsolution || !needsolution.channelSolutionNo) {
return system.getResult(null, "方案数据为空,30211"); return system.getResult(null, "方案数据为空,30211");
} }
needifno = await this.needinfoDao.findOne({ channelNeedNo: needsolution.channelNeedNo }); needinfo = await this.needinfoDao.findOne({ channelNeedNo: needsolution.channelNeedNo });
if (!needinfo) { if (!needinfo) {
needifno = {} needinfo = {}
needinfo['publishMobile'] = needsolution.solutionContent.customerInfo.publishMobile needinfo['publishMobile'] = needsolution.solutionContent.customerInfo.publishMobile
needinfo['channelNeedNo'] = needsolution.channelNeedNo needinfo['channelNeedNo'] = needsolution.channelNeedNo
needinfo['solutionContent'] = needsolution.solutionContent needinfo['solutionContent'] = needsolution.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