|
|
@@ -60,7 +60,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
60
|
60
|
sql += " and F_InfoType in (select F_ValueId from T_Sys_DictionaryValue where F_Value like'%" + InfoType.Trim() + "%' ) ";
|
|
61
|
61
|
|
|
62
|
62
|
}
|
|
63
|
|
- if (Key.Trim() != "" && Key != "undefined")
|
|
|
63
|
+ if (Key.Trim() != "" && Key != " undefined")
|
|
64
|
64
|
{
|
|
65
|
65
|
sql += " and F_Key in (select F_ValueId from T_Sys_DictionaryValue where F_Value like'%" + Key.Trim() + "%' ) ";
|
|
66
|
66
|
|
|
|
@@ -178,6 +178,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
178
|
178
|
//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
179
|
179
|
if (source == 0)
|
|
180
|
180
|
{
|
|
|
181
|
+
|
|
181
|
182
|
source = 2458;
|
|
182
|
183
|
}
|
|
183
|
184
|
if (source == 3)
|
|
|
@@ -997,12 +998,26 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
997
|
998
|
var txnBodyCom = result["txnBodyCom"].ToString(); //市民姓名
|
|
998
|
999
|
var txnBodyComresult = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(txnBodyCom);
|
|
999
|
1000
|
var source = txnBodyComresult["strStm_Src_Dsc"] == null ? "" : txnBodyComresult["strStm_Src_Dsc"].ToString();//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
|
1001
|
+
|
|
|
1002
|
+ var strRcrd_ID = txnBodyComresult["strRcrd_ID"] == null ? "" : txnBodyComresult["strRcrd_ID"].ToString();
|
|
|
1003
|
+
|
|
1000
|
1004
|
if (source != "-1")
|
|
1001
|
1005
|
{
|
|
1002
|
1006
|
//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
1003
|
1007
|
if (source == "0")
|
|
1004
|
1008
|
{
|
|
1005
|
|
- source = "2458";
|
|
|
1009
|
+ if (!string.IsNullOrEmpty(strRcrd_ID))
|
|
|
1010
|
+ {
|
|
|
1011
|
+ if (strRcrd_ID == "营商")
|
|
|
1012
|
+ {
|
|
|
1013
|
+ source = "2501";
|
|
|
1014
|
+ }
|
|
|
1015
|
+ else
|
|
|
1016
|
+ source = "2458";
|
|
|
1017
|
+ }
|
|
|
1018
|
+ else
|
|
|
1019
|
+ source = "2458";
|
|
|
1020
|
+
|
|
1006
|
1021
|
}
|
|
1007
|
1022
|
if (source == "3")
|
|
1008
|
1023
|
{
|
|
|
@@ -1264,6 +1279,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1264
|
1279
|
var source = txnBodyComresult["strStm_Src_Dsc"] == null ? "" : txnBodyComresult["strStm_Src_Dsc"].ToString();// 1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
1265
|
1280
|
var pageSize = txnCommComresult["tPageJump"] == null ? "1" : txnCommComresult["tPageJump"].ToString();
|
|
1266
|
1281
|
var pageNumber = txnCommComresult["tRecInPage"] == null ? "10" : txnCommComresult["tRecInPage"].ToString();
|
|
|
1282
|
+ var strRcrd_ID = txnBodyComresult["strRcrd_ID"] == null ? "" : txnBodyComresult["strRcrd_ID"].ToString();
|
|
|
1283
|
+
|
|
1267
|
1284
|
string sqlwhere = "";
|
|
1268
|
1285
|
sql += " and isnull(F_IsResult,0) = '0' ";
|
|
1269
|
1286
|
if (source.Trim() != "" && source != "undefined")
|
|
|
@@ -1271,7 +1288,15 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1271
|
1288
|
//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
1272
|
1289
|
if (source == "0")
|
|
1273
|
1290
|
{
|
|
1274
|
|
- source = "2458";
|
|
|
1291
|
+ if (!string .IsNullOrEmpty (strRcrd_ID))
|
|
|
1292
|
+ {
|
|
|
1293
|
+ if (strRcrd_ID=="营商")
|
|
|
1294
|
+ source = "2501";
|
|
|
1295
|
+ else
|
|
|
1296
|
+ source = "2458";
|
|
|
1297
|
+ }
|
|
|
1298
|
+ else
|
|
|
1299
|
+ source = "2458";
|
|
1275
|
1300
|
}
|
|
1276
|
1301
|
if (source == "3")
|
|
1277
|
1302
|
{
|
|
|
@@ -1493,12 +1518,21 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1493
|
1518
|
result = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(postString);
|
|
1494
|
1519
|
var txnBodyCom = result["txnBodyCom"].ToString(); //市民姓名
|
|
1495
|
1520
|
var txnBodyComresult = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(txnBodyCom);
|
|
1496
|
|
- var source = txnBodyComresult["strStm_Src_Dsc"] == null ? "" : txnBodyComresult["strStm_Src_Dsc"].ToString();//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
|
1521
|
+ var source = txnBodyComresult["strStm_Src_Dsc"] == null ? "" : txnBodyComresult["strStm_Src_Dsc"].ToString();//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
|
1522
|
+ var strRcrd_ID = txnBodyComresult["strRcrd_ID"] == null ? "" : txnBodyComresult["strRcrd_ID"].ToString();
|
|
1497
|
1523
|
if (source != "-1")
|
|
1498
|
1524
|
{
|
|
1499
|
1525
|
//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
1500
|
1526
|
if (source == "0")
|
|
1501
|
1527
|
{
|
|
|
1528
|
+ if (!string .IsNullOrEmpty (strRcrd_ID))
|
|
|
1529
|
+ {
|
|
|
1530
|
+ if (strRcrd_ID=="营商")
|
|
|
1531
|
+ source = "2501";
|
|
|
1532
|
+ else
|
|
|
1533
|
+ source = "2458";
|
|
|
1534
|
+ }
|
|
|
1535
|
+ else
|
|
1502
|
1536
|
source = "2458";
|
|
1503
|
1537
|
}
|
|
1504
|
1538
|
if (source == "3")
|
|
|
@@ -2449,19 +2483,19 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
2449
|
2483
|
// sql += " and F_CreateUser in ('" + strusercode + "') ";
|
|
2450
|
2484
|
//}
|
|
2451
|
2485
|
|
|
2452
|
|
- if (source.Trim() != "" && source != "undefined")
|
|
2453
|
|
- {
|
|
2454
|
|
- //1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
2455
|
|
- if (source == "0")
|
|
2456
|
|
- {
|
|
2457
|
|
- source = "2458";
|
|
2458
|
|
- }
|
|
2459
|
|
- if (source == "3")
|
|
2460
|
|
- {
|
|
2461
|
|
- source = "4";
|
|
2462
|
|
- }
|
|
2463
|
|
- sql += " and F_InfoSource = '" + source + "' ";
|
|
2464
|
|
- }
|
|
|
2486
|
+ //if (source.Trim() != "" && source != "undefined")
|
|
|
2487
|
+ //{
|
|
|
2488
|
+ // //1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
|
2489
|
+ // if (source == "0")
|
|
|
2490
|
+ // {
|
|
|
2491
|
+ // source = "2458";
|
|
|
2492
|
+ // }
|
|
|
2493
|
+ // if (source == "3")
|
|
|
2494
|
+ // {
|
|
|
2495
|
+ // source = "4";
|
|
|
2496
|
+ // }
|
|
|
2497
|
+ // sql += " and F_InfoSource = '" + source + "' ";
|
|
|
2498
|
+ //}
|
|
2465
|
2499
|
var orderlist = workorderBLL.DataTableToList(workorderBLL.GetListByPage(sql, " F_DealTime DESC", Convert.ToInt32(pageNumber), Convert.ToInt32(pageSize)).Tables[0]);
|
|
2466
|
2500
|
DataTable dt = new DataTable();
|
|
2467
|
2501
|
|
|
|
@@ -2936,6 +2970,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
2936
|
2970
|
{
|
|
2937
|
2971
|
sql += " and (F_ComTitle like '%" + Title + "%' or F_ComContent like '%" + Title + "%') ";
|
|
2938
|
2972
|
}
|
|
|
2973
|
+ var strRcrd_ID = txnBodyComresult["strRcrd_ID"] == null ? "" : txnBodyComresult["strRcrd_ID"].ToString();
|
|
2939
|
2974
|
string InfoType = txnBodyComresult["strWrkOrdr_Lv1_Bsn_TpCd"] == null ? "" : txnBodyComresult["strWrkOrdr_Lv1_Bsn_TpCd"].ToString();//工单一级业务类型代码
|
|
2940
|
2975
|
string InfoType1 = txnBodyComresult["strWrkOrdr_Lvl2_Bsn_TpCd"] == null ? "" : txnBodyComresult["strWrkOrdr_Lvl2_Bsn_TpCd"].ToString();//工单一级业务类型代码
|
|
2941
|
2976
|
string sqlwhere = "";
|
|
|
@@ -2973,6 +3008,14 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
2973
|
3008
|
//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
2974
|
3009
|
if (source == "0")
|
|
2975
|
3010
|
{
|
|
|
3011
|
+ if (!string .IsNullOrEmpty (strRcrd_ID))
|
|
|
3012
|
+ {
|
|
|
3013
|
+ if (strRcrd_ID=="营商")
|
|
|
3014
|
+ source = "2501";
|
|
|
3015
|
+ else
|
|
|
3016
|
+ source = "2458";
|
|
|
3017
|
+ }
|
|
|
3018
|
+ else
|
|
2976
|
3019
|
source = "2458";
|
|
2977
|
3020
|
}
|
|
2978
|
3021
|
if (source == "3")
|
|
|
@@ -3264,6 +3307,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3264
|
3307
|
var txnCommComresult = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(txnCommCom);
|
|
3265
|
3308
|
string strtel = txnBodyComresult["strRdial_Tel"] == null ? "" : txnBodyComresult["strRdial_Tel"].ToString(); //市民电话
|
|
3266
|
3309
|
|
|
|
3310
|
+
|
|
|
3311
|
+ var strRcrd_ID = txnBodyComresult["strRcrd_ID"] == null ? "" : txnBodyComresult["strRcrd_ID"].ToString(); //营商标识
|
|
|
3312
|
+
|
|
|
3313
|
+
|
|
3267
|
3314
|
var source = txnBodyComresult["strStm_Src_Dsc"] == null ? "" : txnBodyComresult["strStm_Src_Dsc"].ToString();// 1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
3268
|
3315
|
string strkey = txnBodyComresult["strWrkOrdr_Ttl_Dtl"] == null ? "" : txnBodyComresult["strWrkOrdr_Ttl_Dtl"].ToString();//关键字检索
|
|
3269
|
3316
|
|
|
|
@@ -3280,7 +3327,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3280
|
3327
|
|
|
3281
|
3328
|
var state = txnBodyComresult["strWrkOrdr_StCd"] == null ? "" : txnBodyComresult["strWrkOrdr_StCd"].ToString(); //工单状态代码
|
|
3282
|
3329
|
//int workOrdr_StCd = RequestString.GetInt("strWrkOrdr_StCd",0 );//工单状态代码 1-待处理 2-办理中 3-已回复 4-未回复
|
|
3283
|
|
- //工单一级业务类型代码
|
|
|
3330
|
+ //工单一级业务类型代码
|
|
3284
|
3331
|
string strstarttime = txnBodyComresult["strCrt_StDt"] == null ? "" : txnBodyComresult["strCrt_StDt"].ToString();//创建开始日期
|
|
3285
|
3332
|
string strendtime = txnBodyComresult["strCrt_EdDt"] == null ? "" : txnBodyComresult["strCrt_EdDt"].ToString(); //创建结束日期
|
|
3286
|
3333
|
|
|
|
@@ -3340,11 +3387,18 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3340
|
3387
|
}
|
|
3341
|
3388
|
|
|
3342
|
3389
|
}
|
|
|
3390
|
+
|
|
3343
|
3391
|
if (source.Trim() != "" && source != "undefined")
|
|
3344
|
3392
|
{
|
|
3345
|
3393
|
//1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
3346
|
3394
|
if (source == "0")
|
|
3347
|
3395
|
{
|
|
|
3396
|
+ if (!string .IsNullOrEmpty (strRcrd_ID))
|
|
|
3397
|
+ {
|
|
|
3398
|
+ if (strRcrd_ID == "营商")
|
|
|
3399
|
+ source = "2501";
|
|
|
3400
|
+ }
|
|
|
3401
|
+ else
|
|
3348
|
3402
|
source = "2458";
|
|
3349
|
3403
|
}
|
|
3350
|
3404
|
if (source == "3")
|