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
b832c8f8
Commit
b832c8f8
authored
May 17, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改icp更新状态判断需求needNo为channelNeedNo
parent
f6762d84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
center-order/app/base/service/impl/qcutils/baseqcSve.js
+3
-3
No files found.
center-order/app/base/service/impl/qcutils/baseqcSve.js
View file @
b832c8f8
...
@@ -463,7 +463,7 @@ class BaseQcService {
...
@@ -463,7 +463,7 @@ class BaseQcService {
}
}
//获取方案信息
//获取方案信息
var
needsolutioninfo
=
await
this
.
needsolutionDao
.
model
.
findOne
({
var
needsolutioninfo
=
await
this
.
needsolutionDao
.
model
.
findOne
({
attributes
:
[
"id"
,
"status"
,
"solutionContent"
,
"needNo"
],
attributes
:
[
"id"
,
"status"
,
"solutionContent"
,
"needNo"
,
"channelNeedNo"
],
where
:
{
solutionNo
:
ab
.
solutionNo
},
raw
:
true
where
:
{
solutionNo
:
ab
.
solutionNo
},
raw
:
true
});
});
if
(
!
needsolutioninfo
||
!
needsolutioninfo
.
id
)
{
if
(
!
needsolutioninfo
||
!
needsolutioninfo
.
id
)
{
...
@@ -503,12 +503,12 @@ class BaseQcService {
...
@@ -503,12 +503,12 @@ class BaseQcService {
var
uappId
=
orderuappId
.
uapp_id
;
var
uappId
=
orderuappId
.
uapp_id
;
}
}
if
(
uappId
!=
'50'
)
{
if
(
uappId
!=
'50'
)
{
if
(
!
needsolutioninfo
.
n
eedNo
)
{
if
(
!
needsolutioninfo
.
channelN
eedNo
)
{
return
system
.
getResultFail
(
-
401
,
"方案需求信息有误"
);
return
system
.
getResultFail
(
-
401
,
"方案需求信息有误"
);
}
}
//获取需求信息
//获取需求信息
var
needinfo
=
await
this
.
needinfoDao
.
model
.
findOne
({
var
needinfo
=
await
this
.
needinfoDao
.
model
.
findOne
({
where
:
{
needNo
:
needsolutioninfo
.
n
eedNo
},
raw
:
true
where
:
{
channelNeedNo
:
needsolutioninfo
.
channelN
eedNo
},
raw
:
true
});
});
if
(
!
needinfo
||
!
needinfo
.
id
)
{
if
(
!
needinfo
||
!
needinfo
.
id
)
{
return
system
.
getResultFail
(
-
201
,
"未知需求信息"
);
return
system
.
getResultFail
(
-
201
,
"未知需求信息"
);
...
...
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