Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
code
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
solho
code
Commits
993a79fa
Commit
993a79fa
authored
Jun 08, 2021
by
solho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
審核完成時接收確認指令錯誤FIXED
parent
369a3e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
WebAPI/Controllers/Esn_Subitem/Esn_Todos_FlowController.cs
WebAPI/Controllers/Esn_Subitem/Esn_Todos_FlowController.cs
+13
-5
No files found.
WebAPI/Controllers/Esn_Subitem/Esn_Todos_FlowController.cs
View file @
993a79fa
...
...
@@ -450,17 +450,25 @@ namespace WebAPI.Controllers
// return_msg_error.Add(dr["esn_todos_sn"] + ":該流程已異動, 不可變更");
//}
if
(
Confirm_Method
==
"CF"
&&
!
Confirm_Class
.
Contains
(
Map_Class
))
{
//return_msg_error.Add(dr["esn_todos_sn"] + ":無可審核該筆身分");
}
#
endregion
CStepTypeCur
=
AllStepType
.
Where
(
p
=>
p
.
id
==
StepType_id
).
FirstOrDefault
();
CStepTypeNext
=
AllStepType
.
Where
(
p
=>
p
.
Step_Value
==
CStepTypeCur
.
Step_Value_Next
).
FirstOrDefault
();
String
Step_Value_previous
=
dr
[
"Step_Value_previous"
].
ToString
(),
Step_Value_Next
=
dr
[
"Step_Value_Next"
].
ToString
();
Tsql
=
Tsql
+
"update esn_todos_Flow set "
;
//確認是否有審核資格
if
(
Confirm_Method
==
"CF"
)
{
if
(!
Confirm_Class
.
Contains
(
Map_Class
))
{
//return_msg_error.Add(dr["esn_todos_sn"] + ":無可審核該筆身分");
}
if
(
int
.
Parse
(
CStepTypeCur
.
Step_Value
)
>
90
)
{
return_msg_error
.
Add
(
dr
[
"esn_todos_sn"
]
+
":審核流程已結束,不可確認"
);
}
}
if
(
Confirm_Method
==
"RJ"
)
{
Tsql
=
Tsql
+
"PG_IsConfirm ="
+
IsConfirm
+
","
+
"PE_IsConfirm ="
+
IsConfirm
+
","
+
"Leader_IsConfirm ="
+
IsConfirm
+
","
;
//退回後,改為更新所有Flow狀態確認
...
...
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