Procházet zdrojové kódy

修改用户及首页数量

liyuanyuan %!s(int64=2) %!d(string=před) roky
rodič
revize
5608721b6a

+ 7 - 7
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/IndexController.cs

444
 
444
 
445
             string where = " F_IsDelete=0";
445
             string where = " F_IsDelete=0";
446
             string dh = "select count(1) from T_Bus_WorkOrder where" + where + " and F_InfoConBigType=0";
446
             string dh = "select count(1) from T_Bus_WorkOrder where" + where + " and F_InfoConBigType=0";
447
-            string djb = "select count(1) from T_Bus_WorkOrder where" + where + " and (F_InfoConBigType=1 or F_InfoConBigType is null) and F_WorkState in (" + (int)EnumWorkState.submit + "," + (int)EnumWorkState.resubmit + ")";
447
+            string djb = "select count(1) from T_Bus_WorkOrder where" + where + "  and F_WorkState in (" + (int)EnumWorkState.submit + "," + (int)EnumWorkState.resubmit + ")";
448
             string dyssh = "select count(1) from T_Bus_WorkOrder where" + where + "and F_WorkState = '" + (int)EnumWorkState.auditdelay + "' and F_WorkOrderID in(select F_WorkOrderID from T_Bus_AssignedInfo WITH(NOLOCK) where F_State=1 and F_IsDelete=0 )";
448
             string dyssh = "select count(1) from T_Bus_WorkOrder where" + where + "and F_WorkState = '" + (int)EnumWorkState.auditdelay + "' and F_WorkOrderID in(select F_WorkOrderID from T_Bus_AssignedInfo WITH(NOLOCK) where F_State=1 and F_IsDelete=0 )";
449
             string dshth = "select count(1) from T_Bus_WorkOrder where" + where + " and F_WorkState = '3'";
449
             string dshth = "select count(1) from T_Bus_WorkOrder where" + where + " and F_WorkState = '3'";
450
             string dja = "select count(1) from T_Bus_WorkOrder where" + where + " and F_WorkState = '7'";
450
             string dja = "select count(1) from T_Bus_WorkOrder where" + where + " and F_WorkState = '7'";
451
             string dhc = "select count(1) from T_Bus_WorkOrder where" + where + "and (IsExport != '" + 1 + "'or IsExport is null) and F_WorkState = '9' ";
451
             string dhc = "select count(1) from T_Bus_WorkOrder where" + where + "and (IsExport != '" + 1 + "'or IsExport is null) and F_WorkState = '9' ";
452
             var obj = new
452
             var obj = new
453
             {
453
             {
454
-                djb = DbHelperSQL.GetSingle(djb).ToString(),
455
-                dyssh = DbHelperSQL.GetSingle(dyssh).ToString(),
456
-                dshth = DbHelperSQL.GetSingle(dshth).ToString(),
457
-                dja = DbHelperSQL.GetSingle(dja).ToString(),
458
-                dhc = DbHelperSQL.GetSingle(dhc).ToString(),
459
-                dh = DbHelperSQL.GetSingle(dh).ToString()
454
+                djb = DbHelperSQL.GetSingle(djb).ToString(),//待交办
455
+                dyssh = DbHelperSQL.GetSingle(dyssh).ToString(),//待延时审核
456
+                dshth = DbHelperSQL.GetSingle(dshth).ToString(),//退回审核中
457
+                dja = DbHelperSQL.GetSingle(dja).ToString(),//待结案
458
+                dhc = DbHelperSQL.GetSingle(dhc).ToString(),//待回传
459
+                dh = DbHelperSQL.GetSingle(dh).ToString()//电话工单
460
             };
460
             };
461
 
461
 
462
             return Success("成功", obj);
462
             return Success("成功", obj);

+ 5 - 5
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/UserAccountController.cs

251
         //修改用户信息
251
         //修改用户信息
252
         public ActionResult EditUsers(UserAccountInput input)
252
         public ActionResult EditUsers(UserAccountInput input)
253
         {
253
         {
254
-            Regex reg = new Regex(@"^[1-9]\d*$");
255
-            if (!reg.IsMatch(input.Usercode.Trim()))
256
-            {
257
-                return Error("工号必须为正整数");
258
-            }
254
+            //Regex reg = new Regex(@"^[1-9]\d*$");
255
+            //if (!reg.IsMatch(input.Usercode.Trim()))
256
+            //{
257
+            //    return Error("工号必须为正整数");
258
+            //}
259
 
259
 
260
             BLL.T_Sys_UserAccount sysUserAccountBll = new BLL.T_Sys_UserAccount();
260
             BLL.T_Sys_UserAccount sysUserAccountBll = new BLL.T_Sys_UserAccount();
261
             Model.T_Sys_UserAccount userAccountModel = sysUserAccountBll.GetModelList("  F_UserId = " + input.UserId).FirstOrDefault();
261
             Model.T_Sys_UserAccount userAccountModel = sysUserAccountBll.GetModelList("  F_UserId = " + input.UserId).FirstOrDefault();