|
|
@@ -44,6 +44,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
44
|
44
|
//2018-7-2查询条件增加乡镇和信息分类
|
|
45
|
45
|
string strcounty = HttpUtility.UrlDecode(RequestString.GetQueryString("county"));
|
|
46
|
46
|
string strinfotype = HttpUtility.UrlDecode(RequestString.GetQueryString("infotype"));
|
|
|
47
|
+ //2018-7-4查询条件增加是否满意和交办单位
|
|
|
48
|
+ string strsatisfy = HttpUtility.UrlDecode(RequestString.GetQueryString("satisfy"));
|
|
|
49
|
+ string strunit = HttpUtility.UrlDecode(RequestString.GetQueryString("unit"));
|
|
47
|
50
|
|
|
48
|
51
|
string strpageindex = RequestString.GetQueryString("page");
|
|
49
|
52
|
int pageindex = 1;
|
|
|
@@ -101,6 +104,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
101
|
104
|
{
|
|
102
|
105
|
sql += " and County = '" + strcounty.Trim() + "' ";
|
|
103
|
106
|
}
|
|
|
107
|
+ //2018-7-4
|
|
|
108
|
+ if (!string.IsNullOrWhiteSpace(strsatisfy)&& strsatisfy.Trim() != "" && strsatisfy != "undefined")
|
|
|
109
|
+ {
|
|
|
110
|
+
|
|
|
111
|
+ sql += " and ISReward is not null and ISReward="+strsatisfy +" ";
|
|
|
112
|
+
|
|
|
113
|
+ }
|
|
|
114
|
+ if (strunit.Trim() != "" && strunit != "undefined")
|
|
|
115
|
+ {
|
|
|
116
|
+ sql += " and Unit = '" + strunit.Trim() + "' ";
|
|
|
117
|
+ }
|
|
104
|
118
|
#endregion
|
|
105
|
119
|
if (strpageindex.Trim() != "")
|
|
106
|
120
|
{
|
|
|
@@ -163,7 +177,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
163
|
177
|
string strname = HttpUtility.UrlDecode(RequestString.GetQueryString("name"));
|
|
164
|
178
|
string strstarttime = HttpUtility.UrlDecode(RequestString.GetQueryString("starttime"));
|
|
165
|
179
|
string strendtime = HttpUtility.UrlDecode(RequestString.GetQueryString("endtime"));
|
|
166
|
|
- string strisreward = HttpUtility.UrlDecode(RequestString.GetQueryString("isreward"));
|
|
|
180
|
+
|
|
|
181
|
+ //string strisreward = HttpUtility.UrlDecode(RequestString.GetQueryString("isreward"));//2018-7-4
|
|
|
182
|
+
|
|
167
|
183
|
string strstate = HttpUtility.UrlDecode(RequestString.GetQueryString("state"));
|
|
168
|
184
|
string strpageindex = RequestString.GetQueryString("page");
|
|
169
|
185
|
int pageindex = 1;
|
|
|
@@ -243,10 +259,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
243
|
259
|
{
|
|
244
|
260
|
sql += " and datediff(day,CreateTime,'" + strendtime + "')>=0 ";
|
|
245
|
261
|
}
|
|
246
|
|
- if (strisreward.Trim() != "" && strisreward != "undefined")
|
|
247
|
|
- {
|
|
248
|
|
- sql += " and ISReward=" + strisreward.Trim();
|
|
249
|
|
- }
|
|
|
262
|
+ //if (strisreward.Trim() != "" && strisreward != "undefined")
|
|
|
263
|
+ //{
|
|
|
264
|
+ // sql += " and ISReward=" + strisreward.Trim();
|
|
|
265
|
+ //}
|
|
250
|
266
|
#region 针对已参与工单增加状态搜索
|
|
251
|
267
|
//20180612 zhengbingbing
|
|
252
|
268
|
if (strstate.Trim() != "" && strstate != "undefined")
|
|
|
@@ -985,7 +1001,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
985
|
1001
|
public ActionResult DealWorkOrder(string orderid, int isend
|
|
986
|
1002
|
, string customer, string inqtime, string inquser, string country, string address
|
|
987
|
1003
|
, string detail, string cont, string answer, string remark,
|
|
988
|
|
- string infotype, string unit, string clbm, string clgh)
|
|
|
1004
|
+ string infotype, string unit, string clbm, string clgh,int? isreward)
|
|
989
|
1005
|
//int infotypeid, int unitid,int clbm,int clid)
|
|
990
|
1006
|
{
|
|
991
|
1007
|
ActionResult res = NoToken("未知错误,请重新登录");
|
|
|
@@ -1088,7 +1104,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1088
|
1104
|
model.State = 2;
|
|
1089
|
1105
|
else
|
|
1090
|
1106
|
model.State = 1;
|
|
1091
|
|
-
|
|
|
1107
|
+ model.ISReward = isreward;
|
|
1092
|
1108
|
var rerere = new BLL.T_Wo_WorkOrder().Update(model);
|
|
1093
|
1109
|
#region 无需走流程
|
|
1094
|
1110
|
//int n = new BLL.T_Wo_WorkOrder().DealWorkOrder1(orderid, isend
|