zhoufan 4 lat temu
rodzic
commit
0e8b3ed279

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/Wiki/ProfessorController.cs

@@ -28,7 +28,7 @@ namespace CallCenterApi.Interface.Controllers.Wiki
28 28
                 ImageUpload iu = new ImageUpload();
29 29
                 iu.SavePath = "/Upload/ZJTX/";
30 30
                 iu.PostFile = _upfile;
31
-                if (string.IsNullOrEmpty(name))
31
+                if (!string.IsNullOrEmpty(name))
32 32
                 {
33 33
                     iu.InFileName = name + ".jpg";
34 34
                     iu.SaveType = 1;

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

@@ -539,7 +539,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
539 539
             int recordCount = 0;
540 540
             dt = BLL.PagerBLL.GetListPager(
541 541
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
542
-                "F_WorkOrderId",
542
+                "F_Id",
543 543
                 cols,
544 544
                 sql,
545 545
                 "ORDER BY F_CreateTime DESC",
@@ -951,7 +951,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
951 951
             int recordCount = 0;
952 952
             dt = BLL.PagerBLL.GetListPager(
953 953
                 "T_Bus_WorkOrder a WITH(NOLOCK)" ,
954
-                "F_WorkOrderId",
954
+                "F_Id",
955 955
                 cols,
956 956
                 sql,
957 957
                 "ORDER BY F_CreateTime DESC",
@@ -1320,7 +1320,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
1320 1320
             int recordCount = 0;
1321 1321
             dt = BLL.PagerBLL.GetListPager(
1322 1322
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
1323
-                "F_WorkOrderId",
1323
+                "F_Id",
1324 1324
                 cols,
1325 1325
                 sql,
1326 1326
                 "ORDER BY F_CreateTime DESC",
@@ -2093,7 +2093,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2093 2093
             int recordCount = 0;
2094 2094
             dt = BLL.PagerBLL.GetListPager(
2095 2095
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwheres,
2096
-                "F_WorkOrderId",
2096
+                "F_Id",
2097 2097
                 cols,
2098 2098
                 sql,
2099 2099
                order,
@@ -2881,7 +2881,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2881 2881
             //二级单位待办事项、正在办理页面中,工单排列按照剩余时长来排序,超期最久的放在最上边,离办理时限最远的放在最后
2882 2882
             dt = BLL.PagerBLL.GetListPager(
2883 2883
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
2884
-                "F_WorkOrderId",
2884
+                "F_Id",
2885 2885
                 cols,
2886 2886
                 sql,
2887 2887
                 order,
@@ -3435,7 +3435,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3435 3435
             int recordCount = 0;
3436 3436
             dt = BLL.PagerBLL.GetListPager(
3437 3437
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
3438
-                "F_WorkOrderId",
3438
+                "F_Id",
3439 3439
                 cols,
3440 3440
                 sql,
3441 3441
                 "ORDER BY F_CreateTime DESC",
@@ -3884,7 +3884,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
3884 3884
             int recordCount = 0;
3885 3885
             dt = BLL.PagerBLL.GetListPager(
3886 3886
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
3887
-                "F_WorkOrderId",
3887
+                "F_Id",
3888 3888
                 cols,
3889 3889
                 sql,
3890 3890
                 "ORDER BY F_CreateTime DESC",
@@ -4320,7 +4320,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4320 4320
             int recordCount = 0;
4321 4321
             dt = BLL.PagerBLL.GetListPager(
4322 4322
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
4323
-                "F_WorkOrderId",
4323
+                "F_Id",
4324 4324
                 cols,
4325 4325
                 sql,
4326 4326
                 "ORDER BY F_CreateTime DESC",
@@ -4752,7 +4752,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4752 4752
             int recordCount = 0;
4753 4753
             dt = BLL.PagerBLL.GetListPager(
4754 4754
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
4755
-                "F_WorkOrderId",
4755
+                "F_Id",
4756 4756
                 cols,
4757 4757
                 sql,
4758 4758
                 "ORDER BY F_CreateTime DESC",
@@ -5122,7 +5122,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5122 5122
             int recordCount = 0;
5123 5123
             dt = BLL.PagerBLL.GetListPager(
5124 5124
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwhere,
5125
-                "F_WorkOrderId",
5125
+                "F_Id",
5126 5126
                 cols,
5127 5127
                 sql,
5128 5128
                 "ORDER BY F_CreateTime DESC",
@@ -5561,7 +5561,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5561 5561
             int recordCount = 0;
5562 5562
             dt = BLL.PagerBLL.GetListPager(
5563 5563
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwheres,
5564
-                "F_WorkOrderId",
5564
+                "F_Id",
5565 5565
                 cols,
5566 5566
                 sql,
5567 5567
                 "ORDER BY F_CreateTime DESC",
@@ -5920,7 +5920,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5920 5920
             int recordCount = 0;
5921 5921
             dt = BLL.PagerBLL.GetListPager(
5922 5922
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwheres,
5923
-                "F_WorkOrderId",
5923
+                "F_Id",
5924 5924
                 cols,
5925 5925
                 sql,
5926 5926
                 "ORDER BY F_CreateTime DESC",
@@ -6492,7 +6492,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6492 6492
             int recordCount = 0;
6493 6493
             dt = BLL.PagerBLL.GetListPager(
6494 6494
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwheres,
6495
-                "F_WorkOrderId",
6495
+                "F_Id",
6496 6496
                 cols,
6497 6497
                 sql,
6498 6498
                 "ORDER BY F_CreateTime DESC",
@@ -6882,7 +6882,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6882 6882
             int recordCount = 0;
6883 6883
             dt = BLL.PagerBLL.GetListPager(
6884 6884
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwheres,
6885
-                "F_WorkOrderId",
6885
+                "F_Id",
6886 6886
                 cols,
6887 6887
                 sql,
6888 6888
                 "ORDER BY F_CreateTime DESC",
@@ -7280,7 +7280,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
7280 7280
             int recordCount = 0;
7281 7281
             dt = BLL.PagerBLL.GetListPager(
7282 7282
                 "T_Bus_WorkOrder a WITH(NOLOCK)" + sqlwheres,
7283
-                "F_WorkOrderId",
7283
+                "F_Id",
7284 7284
                 cols,
7285 7285
                 sql,
7286 7286
                 "ORDER BY F_CreateTime DESC",