Sfoglia il codice sorgente

Merge branch 'master' of http://192.168.1.222:3000/zhoufan/County12345_Api

zhengbingbing 5 anni fa
parent
commit
f9bc4f83bf

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

@@ -65,13 +65,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
65 65
             int deptid = RequestString.GetInt("deptid", 0);
66 66
             int dealtype = RequestString.GetInt("dealtype", -1);
67 67
             int issend = RequestString.GetInt("issend", -1);
68
-
68
+            int issatisfie = RequestString.GetInt("issatisfie", -1);//0不满意 1满意
69 69
             string strpageindex = RequestString.GetQueryString("page");
70 70
             int pageindex = 1;
71 71
             string strpagesize = RequestString.GetQueryString("pagesize");
72 72
             int pagesize = 10;
73 73
 
74 74
             #region sql 语句相关处理
75
+            if (issatisfie != -1)
76
+            {
77
+                sql += " and F_IsSatisfie='" + issatisfie + "'";
78
+            }
75 79
             if (strstate.Trim() != "" && strstate != "undefined")
76 80
             {
77 81
                 sql += " and F_WorkState = '" + strstate.Trim() + "' ";
@@ -135,7 +139,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
135 139
             {
136 140
                 sql += " and isnull(F_IsRelease,0) = '" + issend + "' ";
137 141
             }
138
-
142
+           
139 143
             if (strstarttime.Trim() != "" && strstarttime != "undefined")
140 144
             {
141 145
                 sql += " and datediff(day,F_CreateTime,'" + strstarttime + "')<=0 ";