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
493d412e
Commit
493d412e
authored
May 21, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户驳回
parent
0c33a763
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
28 deletions
+29
-28
center-order/app/base/service/impl/qcutils/regCenterOrderSve.js
+29
-28
No files found.
center-order/app/base/service/impl/qcutils/regCenterOrderSve.js
View file @
493d412e
...
@@ -186,35 +186,36 @@ class RegCenterOrderService {
...
@@ -186,35 +186,36 @@ class RegCenterOrderService {
//如果没有方案直接关闭需求,更新需求状态
//如果没有方案直接关闭需求,更新需求状态
await
this
.
needinfoDao
.
update
(
needData
);
//更新状态修改
await
this
.
needinfoDao
.
update
(
needData
);
//更新状态修改
}
}
}
else
{
else
{
nsLength
=
ns
.
length
nsLength
=
ns
.
length
for
(
i
=
0
;
i
<
nsLength
;
i
++
)
{
for
(
i
=
0
;
i
<
nsLength
;
i
++
)
{
updateObj
=
{
updateObj
=
{
id
:
ns
[
i
].
id
id
:
ns
[
i
].
id
};
};
solutionContent
=
ns
[
i
].
solutionContent
;
solutionContent
=
ns
[
i
].
solutionContent
;
solutionContent
.
customerRemark
=
ab
.
description
;
solutionContent
.
customerRemark
=
ab
.
description
;
solutionContent
.
needStatus
=
ab
.
intentionStatus
;
solutionContent
.
needStatus
=
ab
.
intentionStatus
;
if
(
ab
.
intentionStatus
==
1
)
{
if
(
ab
.
intentionStatus
==
1
)
{
updateObj
[
"status"
]
=
"ybh"
;
updateObj
[
"status"
]
=
"ybh"
;
updateObj
[
"isInvalid"
]
=
1
;
updateObj
[
"isInvalid"
]
=
1
;
}
else
if
(
ab
.
intentionStatus
==
2
)
{
}
else
if
(
ab
.
intentionStatus
==
2
)
{
updateObj
[
"status"
]
=
"dqr"
;
updateObj
[
"status"
]
=
"dqr"
;
}
else
if
(
ab
.
intentionStatus
==
3
)
{
}
else
if
(
ab
.
intentionStatus
==
3
)
{
updateObj
[
"status"
]
=
"dqr"
;
updateObj
[
"status"
]
=
"dqr"
;
}
else
if
(
ab
.
intentionStatus
==
4
)
{
}
else
if
(
ab
.
intentionStatus
==
4
)
{
updateObj
[
"status"
]
=
"dqr"
;
updateObj
[
"status"
]
=
"dqr"
;
}
else
if
(
ab
.
intentionStatus
==
5
)
{
}
else
if
(
ab
.
intentionStatus
==
5
)
{
updateObj
[
"status"
]
=
"yzf"
;
updateObj
[
"status"
]
=
"yzf"
;
updateObj
[
"isInvalid"
]
=
1
;
updateObj
[
"isInvalid"
]
=
1
;
}
else
{
}
else
{
return
system
.
getResultFail
(
-
107
,
"需求当前状态错误--"
+
ab
.
intentionStatus
);
return
system
.
getResultFail
(
-
107
,
"需求当前状态错误--"
+
ab
.
intentionStatus
);
}
solutionContent
.
needStatusName
=
intentionStatusList
[
ab
.
intentionStatus
];
solutionContent
=
JSON
.
stringify
(
solutionContent
);
updateObj
[
"solutionContent"
]
=
solutionContent
;
await
this
.
needsolutionDao
.
update
(
updateObj
);
//方案状态修改
await
this
.
needinfoDao
.
update
(
needData
);
//更新状态修改
}
}
solutionContent
.
needStatusName
=
intentionStatusList
[
ab
.
intentionStatus
];
solutionContent
=
JSON
.
stringify
(
solutionContent
);
updateObj
[
"solutionContent"
]
=
solutionContent
;
await
this
.
needsolutionDao
.
update
(
updateObj
);
//方案状态修改
await
this
.
needinfoDao
.
update
(
needData
);
//更新状态修改
}
}
}
}
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
...
...
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