Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
366f0f01
Commit
366f0f01
authored
Jul 29, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除状态通知时候查询方案和需求信息
parent
99d4ec75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
center-order/app/base/service/impl/qcutils/baseqcSve.js
+10
-10
No files found.
center-order/app/base/service/impl/qcutils/baseqcSve.js
View file @
366f0f01
...
...
@@ -503,16 +503,16 @@ class BaseQcService {
var
uappId
=
orderuappId
.
uapp_id
;
}
if
(
uappId
!=
'50'
)
{
if
(
!
needsolutioninfo
.
channelNeedNo
)
{
return
system
.
getResultFail
(
-
401
,
"方案需求信息有误"
);
}
//获取需求信息
var
needinfo
=
await
this
.
needinfoDao
.
model
.
findOne
({
where
:
{
channelNeedNo
:
needsolutioninfo
.
channelNeedNo
},
raw
:
true
});
if
(
!
needinfo
||
!
needinfo
.
id
)
{
return
system
.
getResultFail
(
-
201
,
"未知需求信息"
);
}
//
if (!needsolutioninfo.channelNeedNo) {
//
return system.getResultFail(-401, "方案需求信息有误");
//
}
//
//
获取需求信息
//
var needinfo = await this.needinfoDao.model.findOne({
//
where: { channelNeedNo: needsolutioninfo.channelNeedNo }, raw: true
//
});
//
if (!needinfo || !needinfo.id) {
//
return system.getResultFail(-201, "未知需求信息");
//
}
if
(
needinfo
.
status
==
"ygb"
)
{
return
system
.
getResultFail
(
-
202
,
"serviceProviderSubmitMateria"
+
needinfo
.
statusName
+
",不能执行此操作"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment