Commit 4a145b04 by 兰国旗

laolan

parent e20f5dbc
......@@ -1449,9 +1449,17 @@ class AliyunQcService {
return system.getResultFail(-102, "渠道来源不能为空");
}
//获取方案信息
var needsolutioninfo = await this.needsolutionDao.model.findOne({
where: { orderNo: ab.orderNo }, raw: true
var orderinfo = await this.orderinfoDao.model.findOne({
where: { channelOrderNo: ab.orderNo }, raw: true
});
if(orderinfo){
var orderNo = orderinfo.orderNo;
if(orderNo){
var needsolutioninfo = await this.needsolutionDao.model.findOne({
where: { orderNo: orderNo }, raw: true
});
}
}
if (!needsolutioninfo || !needsolutioninfo.id) {
return system.getResultFail(-400, "未知方案");
}
......
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