Commit 993a79fa authored by solho's avatar solho

審核完成時接收確認指令錯誤FIXED

parent 369a3e8e
......@@ -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狀態確認
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment