Commit e3c8fda8 by 庄冰

aliyun

parent da5b22c7
...@@ -394,7 +394,8 @@ class AliyunQcService{ ...@@ -394,7 +394,8 @@ class AliyunQcService{
if (!needinfo || !needinfo.id) { if (!needinfo || !needinfo.id) {
return system.getResultFail(-201, "未知需求信息"); return system.getResultFail(-201, "未知需求信息");
} }
if (needinfo.status == "ycd" || needinfo.status == "ygb") { // if (needinfo.status == "ycd" || needinfo.status == "ygb") {
if (needinfo.status == "ygb") {
return system.getResultFail(-202, "该方案需求状态为" + needinfo.statusName + ",不能执行此操作"); return system.getResultFail(-202, "该方案需求状态为" + needinfo.statusName + ",不能执行此操作");
} }
var material = ab.material; var material = ab.material;
...@@ -503,8 +504,9 @@ class AliyunQcService{ ...@@ -503,8 +504,9 @@ class AliyunQcService{
if (!needinfo || !needinfo.id) { if (!needinfo || !needinfo.id) {
return system.getResultFail(-201, "未知需求信息"); return system.getResultFail(-201, "未知需求信息");
} }
if (needinfo.status == "ycd" || needinfo.status == "ygb") { // if (needinfo.status == "ycd" || needinfo.status == "ygb") {
return system.getResultFail(-202, "该方案需求状态为" + needinfo.statusName + ",不能执行此操作"); if (needinfo.status == "ygb") {
return system.getResultFail(-202, "serviceProviderSubmitMateria" + needinfo.statusName + ",不能执行此操作");
} }
var solutionFlowList = solutionContent.solutionFlowList || []; var solutionFlowList = solutionContent.solutionFlowList || [];
if (ab.ApplicationStatus == 507) {//完成账户注册 if (ab.ApplicationStatus == 507) {//完成账户注册
...@@ -736,7 +738,8 @@ class AliyunQcService{ ...@@ -736,7 +738,8 @@ class AliyunQcService{
if (!needinfo) { if (!needinfo) {
return system.getResultFail(-104, "未知方案需求"); return system.getResultFail(-104, "未知方案需求");
} }
if (needinfo.status == "ycd" || needinfo.status == "ygb") { // if (needinfo.status == "ycd" || needinfo.status == "ygb") {
if (needinfo.status == "ygb") {
return system.getResultFail(-105, "该方案需求状态为" + needinfo.statusName + ",不能执行此操作"); return system.getResultFail(-105, "该方案需求状态为" + needinfo.statusName + ",不能执行此操作");
} }
//获取方案信息 //获取方案信息
...@@ -875,5 +878,3 @@ class AliyunQcService{ ...@@ -875,5 +878,3 @@ class AliyunQcService{
} }
} }
module.exports = AliyunQcService; module.exports = AliyunQcService;
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