zhaozhiqiang лет назад: 3
Родитель
Сommit
06956b0a9e

+ 2 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -251,7 +251,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
251 251
             }
252 252
             if (hcstrendtime.Trim() != "" && hcstrendtime != "undefined")
253 253
             {
254
-                 sql += "  and F_Hcdatetime<='"+ hcstrendtime + " 23::59:59'   ";
254
+                 sql += "  and F_Hcdatetime<='"+ hcstrendtime + " 23:59:59'   ";
255 255
                 //sql += " and datediff(day,F_Hcdatetime,'" + hcstrendtime + "')>=0   ";
256 256
             }
257 257
             #endregion
@@ -3161,7 +3161,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3161 3161
                 sql += ")";
3162 3162
             }
3163 3163
             //获取催办数量
3164
-            string sql1 = " select count(*) dblcount from T_Bus_WorkOrder where  F_IsDelete=0  and ReminderNum>0 and F_WorkOrderID in(select F_WorkOrderID from T_Bus_AssignedInfo WITH(NOLOCK) where F_State=1 and F_IsDelete=0 and F_IsSure in (0,1) and F_MainDeptId=" + userModel.F_DeptId + ") ";
3164
+            string sql1 = " select count(*) dblcount from T_Bus_WorkOrder where  F_IsDelete=0 and F_WorkState in(2,4,8) and ReminderNum>0 and F_WorkOrderID in(select F_WorkOrderID from T_Bus_AssignedInfo WITH(NOLOCK) where F_State=1 and F_IsDelete=0 and F_IsSure in (0,1) and F_MainDeptId=" + userModel.F_DeptId + ") ";
3165 3165
             //扫描件未上传数量
3166 3166
             string sql2 = " select count(*) dblcount from T_Bus_WorkOrder where  F_IsDelete=0  and  F_Files ='' and F_WorkOrderID in(select F_WorkOrderID from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_IsDelete=0 and F_Type in (1,2) and F_CreateUser=" + userModel.F_UserCode + ") ";
3167 3167