Commit 366f0f01 by 兰国旗

去除状态通知时候查询方案和需求信息

parent 99d4ec75
...@@ -503,16 +503,16 @@ class BaseQcService { ...@@ -503,16 +503,16 @@ class BaseQcService {
var uappId = orderuappId.uapp_id; var uappId = orderuappId.uapp_id;
} }
if (uappId != '50') { if (uappId != '50') {
if (!needsolutioninfo.channelNeedNo) { // if (!needsolutioninfo.channelNeedNo) {
return system.getResultFail(-401, "方案需求信息有误"); // return system.getResultFail(-401, "方案需求信息有误");
} // }
//获取需求信息 // //获取需求信息
var needinfo = await this.needinfoDao.model.findOne({ // var needinfo = await this.needinfoDao.model.findOne({
where: { channelNeedNo: needsolutioninfo.channelNeedNo }, raw: true // where: { channelNeedNo: needsolutioninfo.channelNeedNo }, raw: true
}); // });
if (!needinfo || !needinfo.id) { // if (!needinfo || !needinfo.id) {
return system.getResultFail(-201, "未知需求信息"); // return system.getResultFail(-201, "未知需求信息");
} // }
if (needinfo.status == "ygb") { if (needinfo.status == "ygb") {
return system.getResultFail(-202, "serviceProviderSubmitMateria" + needinfo.statusName + ",不能执行此操作"); return system.getResultFail(-202, "serviceProviderSubmitMateria" + needinfo.statusName + ",不能执行此操作");
} }
......
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