1550076451 3 vuotta sitten
vanhempi
commit
35b338cd6f

+ 4 - 0
CallCenterApi/CallCenterApi.DAL/T_Bus_Feedback_Next.cs

472
                 {
472
                 {
473
                     model.F_AuditContact = row["F_AuditContact"].ToString();
473
                     model.F_AuditContact = row["F_AuditContact"].ToString();
474
                 }
474
                 }
475
+                if (row["F_FeedbackReason"] != null)
476
+                {
477
+                    model.F_FeedbackReason = row["F_FeedbackReason"].ToString();
478
+                }
475
                 
479
                 
476
             }
480
             }
477
             return model;
481
             return model;

+ 7 - 8
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

4016
                     sql += " and F_WorkState in (4,8)";
4016
                     sql += " and F_WorkState in (4,8)";
4017
                     if (User.F_RoleCode != "GLY" && User.F_RoleCode != "SPZ" && User.F_RoleCode != "SPZJZ" && User.F_RoleCode != "DDZG")
4017
                     if (User.F_RoleCode != "GLY" && User.F_RoleCode != "SPZ" && User.F_RoleCode != "SPZJZ" && User.F_RoleCode != "DDZG")
4018
                     {
4018
                     {
4019
-                        sql += "and F_WorkOrderId in(  select F_WorkOrderId from T_Bus_AssignedInfo as a  WITH(NOLOCK)  where F_State=1 and F_IsDelete=0 and ISNULL(F_FeedbackTime, '')=''and F_IsNext = 3  and F_MainDeptId =" + User.F_DeptId + "  and not exists(select 1 from T_Bus_AssignedInfo WITH(NOLOCK) where F_WorkOrderId = a.F_WorkOrderId and F_Id > a.F_Id  )) ";
4019
+                        sql += "and F_WorkOrderId in(  select F_WorkOrderId from T_Bus_AssignedInfo as a  WITH(NOLOCK)  where F_State=1 and F_IsDelete=0 and ISNULL(F_FeedbackTime, '')=''and F_IsNext = 3  " +
4020
+                            "and F_MainDeptId =" + User.F_DeptId + "  " +
4021
+                            "and not exists(select 1 from T_Bus_AssignedInfo WITH(NOLOCK) where F_WorkOrderId = a.F_WorkOrderId and F_Id > a.F_Id  )  " +
4022
+                            ") ";
4020
                     }
4023
                     }
4021
                     else
4024
                     else
4022
                     {
4025
                     {
4023
-                        sql += "and F_WorkOrderId in(  select F_WorkOrderId from T_Bus_AssignedInfo as a  WITH(NOLOCK)  where F_State=1 and F_IsDelete=0 and ISNULL(F_FeedbackTime, '')=''and F_IsNext = 3  and not exists(select 1 from T_Bus_AssignedInfo WITH(NOLOCK) where F_WorkOrderId = a.F_WorkOrderId and F_Id > a.F_Id  )) ";
4026
+                        sql += "and F_WorkOrderId in(  select F_WorkOrderId from T_Bus_AssignedInfo as a  WITH(NOLOCK)  where F_State=1 and F_IsDelete=0 and ISNULL(F_FeedbackTime, '')=''and F_IsNext = 3  " +
4027
+                            "and not exists(select 1 from T_Bus_AssignedInfo WITH(NOLOCK) where F_WorkOrderId = a.F_WorkOrderId and F_Id > a.F_Id  )) ";
4024
                     }
4028
                     }
4025
                     break;
4029
                     break;
4026
                 case "16"://退回被拒绝
4030
                 case "16"://退回被拒绝
17705
                                             modelT_Bus_AssignedInfo.F_IsNext = 2;
17709
                                             modelT_Bus_AssignedInfo.F_IsNext = 2;
17706
                                             modelT_Bus_AssignedInfo.F_FeedbackTime = null;
17710
                                             modelT_Bus_AssignedInfo.F_FeedbackTime = null;
17707
                                         }
17711
                                         }
17708
-                                        //else 
17709
-                                        //{
17710
-                                        //    keyValuePairs.Add("F_WorkState", (int)EnumWorkState.dealed);
17711
-                                        //    modelT_Bus_WorkOrder.F_WorkState = (int)EnumWorkState.dealed;//待回访
17712
-                                        //    modelT_Bus_AssignedInfo.F_FeedbackTime = DateTime.Now;
17713
-                                        //}
17712
+
17714
                                     }
17713
                                     }
17715
                                 }
17714
                                 }
17716
                                
17715