Commit 4b65918e by 兰国旗

laolan

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