Commit 78d94a77 by 兰国旗

zhushi

parent 43e8eea2
...@@ -460,18 +460,18 @@ class BaseQcService { ...@@ -460,18 +460,18 @@ class BaseQcService {
} }
} }
//---- //----
var orderInfo = await this.orderinfoDao.model.findOne({ // var orderInfo = await this.orderinfoDao.model.findOne({
attributes: ["uapp_id"], // attributes: ["uapp_id"],
where: {orderNo: needsolutioninfo.orderNo}, raw: true // where: {orderNo: needsolutioninfo.orderNo}, raw: true
}) // })
if(orderInfo){ // if(orderInfo){
var uappId = orderInfo.uapp_id // var uappId = orderInfo.uapp_id
} // }
if(uappId == "18"){//ali // if(uappId == "18"){//ali
if (solutionContent.status != "USER_UPLOADED") { // if (solutionContent.status != "USER_UPLOADED") {
return system.getResultFail(-403, "用户未上传材料,不能执行此操作"); // return system.getResultFail(-403, "用户未上传材料,不能执行此操作");
} // }
} // }
//获取需求信息 //获取需求信息
// var needinfo = await this.needinfoDao.model.findOne({ // var needinfo = await this.needinfoDao.model.findOne({
// where: { needNo: needsolutioninfo.needNo }, raw: true // where: { needNo: needsolutioninfo.needNo }, raw: true
......
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