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
dc5cd706
Commit
dc5cd706
authored
Jun 25, 2021
by
solho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新修改運營辦參數
parent
ef7952c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
WebAPI/Controllers/Esn_Subitem/Esn_Todos_FlowController.cs
WebAPI/Controllers/Esn_Subitem/Esn_Todos_FlowController.cs
+4
-7
No files found.
WebAPI/Controllers/Esn_Subitem/Esn_Todos_FlowController.cs
View file @
dc5cd706
...
...
@@ -396,11 +396,10 @@ namespace WebAPI.Controllers
#
endregion
//Confirm_Class.Add("PG"); Confirm_Class.Add("Leader"); //test
#
region
取得
FLOW
相關
cmd
.
CommandText
=
@"select et.*,etf.id AS Flowid,etf.*,
eeas.cn_name as ascn_name,
cmd
.
CommandText
=
@"select et.*,etf.id AS Flowid,etf.*,
etfs.* FROM esn_todos et
left join esn_todos_Flow etf on et.sn=etf.esn_todos_sn
left join esn_todos_Flow_StepType etfs on etfs.id=etf.StepType_id
left join evw_Employee eeas on eeas.user_id=et.AssignedTo
left join esn_todos_Flow_StepType etfs on etfs.id=etf.StepType_id
where et.sn in(@Esn_Todos_Sn)
"
;
...
...
@@ -491,10 +490,8 @@ namespace WebAPI.Controllers
Tsql
=
Tsql
+
"PG_IsConfirm ="
+
IsConfirm
+
","
+
"PE_IsConfirm ="
+
IsConfirm
+
","
+
"Leader_IsConfirm ="
+
IsConfirm
+
","
;
//退回後,改為更新所有Flow狀態確認
CStepTypeNext
=
AllStepType
.
Where
(
p
=>
p
.
Step_Value
==
Step_Value_previous
).
FirstOrDefault
();
StepType_idHis
=
CStepTypeCur
.
id
;
RJOp
=
@"update esn_Todos set AssignStatus = 'AS01', AssignStatus_name = '運營辦指派' where sn = "
+
dr
[
"sn"
]
+
@";
insert into esn_OthData(oth_ID, FldName, FldValue, FldMemo, FldMemo2, oth_Status, updateUser, update_time)
select "
+
dr
[
"sn"
]
+
",'SuggestPoints',"
+
dr
[
"Points"
]
+
",@Reject_Description,'','I',@ascn_name,GETDATE()"
;
cmd
.
Parameters
.
AddWithValue
(
"@ascn_name"
,
dr
[
"ascn_name"
]);
RJOp
=
@"exec [dbo].esp_esn_Todos_V3_AssignStatus 'FlowAS01' ,"
+
dr
[
"sn"
]
+
@",'',@Reject_Description,@Wade_User_ID"
;
}
else
{
...
...
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