|
|
@@ -1141,6 +1141,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1141
|
1141
|
RedisHelper.StringSet("zmhd10014" + sql, obj.ToJson().Replace("state", "C-Response-Desc").Replace("message", "C-API-Status").Replace("returnList", "C-Response-Body"), new TimeSpan(0, 30, 0));
|
|
1142
|
1142
|
return Content(obj.ToJson().Replace("state", "C-Response-Desc").Replace("message", "C-API-Status").Replace("returnList", "C-Response-Body"));
|
|
1143
|
1143
|
}
|
|
|
1144
|
+ private BLL.T_Bus_Operation operBLL = new BLL.T_Bus_Operation();
|
|
1144
|
1145
|
//市民评议
|
|
1145
|
1146
|
public ActionResult zmhd10012()
|
|
1146
|
1147
|
{
|
|
|
@@ -1204,6 +1205,37 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1204
|
1205
|
strWrkOrdr_Cst_Ssf_Cd = "非常不满意";
|
|
1205
|
1206
|
}
|
|
1206
|
1207
|
}
|
|
|
1208
|
+ if (strWrkOrdr_Cst_Ssf_Cd== "非常满意" || strWrkOrdr_Cst_Ssf_Cd == "满意" || strWrkOrdr_Cst_Ssf_Cd == "基本满意")
|
|
|
1209
|
+ {
|
|
|
1210
|
+ var model = new BLL.T_Bus_WorkOrder().GetModel(strWrkOrdr_ID);
|
|
|
1211
|
+ if (model!=null )
|
|
|
1212
|
+ {
|
|
|
1213
|
+ Dictionary<string, object> keyValuePairs = new Dictionary<string, object>();
|
|
|
1214
|
+ keyValuePairs.Add("F_WorkState", 9);
|
|
|
1215
|
+ keyValuePairs.Add("F_IsSatisfie", 1);
|
|
|
1216
|
+ keyValuePairs.Add("F_IsClosed", 1);
|
|
|
1217
|
+ keyValuePairs.Add("F_CloseUser", "");
|
|
|
1218
|
+ keyValuePairs.Add("F_CloseTime", DateTime.Now);
|
|
|
1219
|
+ keyValuePairs.Add("F_FinalOpinion", "市民评议满意自动结案");
|
|
|
1220
|
+ keyValuePairs.Add("F_IsStandard", 1);
|
|
|
1221
|
+ keyValuePairs.Add("F_StandardIDS", "");
|
|
|
1222
|
+ keyValuePairs.Add("F_ToBereply", 0);
|
|
|
1223
|
+ new BLL.T_Bus_WorkOrder().UpdateWorkOrder(model.F_Id, keyValuePairs);
|
|
|
1224
|
+ Model.T_Bus_Operation oper = new Model.T_Bus_Operation();
|
|
|
1225
|
+ oper.F_WorkOrderId = model.F_WorkOrderId;
|
|
|
1226
|
+ // oper.F_AssignedId = modelT_Bus_AssignedInfo.F_Id;
|
|
|
1227
|
+ oper.F_State = model.F_WorkState;
|
|
|
1228
|
+ oper.F_Message = "市民网站评议满意,自动结案";
|
|
|
1229
|
+ oper.F_CreateUser = User.F_UserCode;
|
|
|
1230
|
+ oper.F_CreateTime = DateTime.Now;
|
|
|
1231
|
+ oper.F_IsDelete = 0;
|
|
|
1232
|
+ operBLL.Add(oper);
|
|
|
1233
|
+ }
|
|
|
1234
|
+
|
|
|
1235
|
+
|
|
|
1236
|
+ }
|
|
|
1237
|
+
|
|
|
1238
|
+
|
|
1207
|
1239
|
var rescon = DbHelperSQL.GetSingle("select count(*) from T_Bus_WorkOrder where F_WorkOrderId='" + strWrkOrdr_ID + "'");
|
|
1208
|
1240
|
if (rescon.ToString() == "0")
|
|
1209
|
1241
|
{
|
|
|
@@ -3083,7 +3115,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3083
|
3115
|
var txnCommComresult = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(txnCommCom);
|
|
3084
|
3116
|
|
|
3085
|
3117
|
|
|
3086
|
|
- LogFactory.GetLogger("111").Warn(txnCommComresult + "----" + txnBodyComresult);
|
|
|
3118
|
+
|
|
3087
|
3119
|
string strtel = txnBodyComresult["strRdial_Tel"] == null ? "" : txnBodyComresult["strRdial_Tel"].ToString(); //市民电话
|
|
3088
|
3120
|
var source = txnBodyComresult["strStm_Src_Dsc"] == null ? "" : txnBodyComresult["strStm_Src_Dsc"].ToString();// 1 市长热线 2 市长信箱 0 连线政府 3 人民网
|
|
3089
|
3121
|
string strkey = txnBodyComresult["strWrkOrdr_Ttl_Dtl"] == null ? "" : txnBodyComresult["strWrkOrdr_Ttl_Dtl"].ToString();//关键字检索
|
|
|
@@ -3478,7 +3510,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3478
|
3510
|
var txnBodyComresult = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(txnBodyCom);
|
|
3479
|
3511
|
|
|
3480
|
3512
|
var txnCommComresult = (JObject)Newtonsoft.Json.JsonConvert.DeserializeObject(txnCommCom);
|
|
3481
|
|
- LogFactory.GetLogger("111").Warn(txnCommComresult + "----" + txnBodyComresult);
|
|
|
3513
|
+
|
|
3482
|
3514
|
string strtel = txnBodyComresult["strRdial_Tel"] == null ? "" : txnBodyComresult["strRdial_Tel"].ToString(); //市民电话
|
|
3483
|
3515
|
|
|
3484
|
3516
|
|
|
|
@@ -4005,6 +4037,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4005
|
4037
|
public string subject { set; get; }
|
|
4006
|
4038
|
public int dataType { set; get; }
|
|
4007
|
4039
|
public string stateInfo { set; get; }
|
|
|
4040
|
+
|
|
4008
|
4041
|
|
|
4009
|
4042
|
}
|
|
4010
|
4043
|
public class details
|
|
|
@@ -4088,266 +4121,283 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4088
|
4121
|
//接收数据
|
|
4089
|
4122
|
var response = (HttpWebResponse)request.GetResponse();
|
|
4090
|
4123
|
var responseString = new StreamReader(response.GetResponseStream(), Encoding.GetEncoding("utf-8")).ReadToEnd();
|
|
4091
|
|
- // var responseString = HttpMethods.HttpPost(Smsurl, jsonParam, "application/json;charset=UTF-8");
|
|
4092
|
|
- JObject jo = (JObject)JsonConvert.DeserializeObject(responseString);
|
|
4093
|
|
- resultData resultData = JsonConvert.DeserializeObject<resultData>(jo["resultData"].ToString());
|
|
4094
|
|
-
|
|
4095
|
|
- if (resultData.data != null && resultData.data.Count > 0)
|
|
|
4124
|
+ try
|
|
4096
|
4125
|
{
|
|
4097
|
|
- foreach (var it in resultData.data)
|
|
4098
|
|
- {
|
|
4099
|
|
- lastItem = resultData.lastItem;
|
|
4100
|
|
- var Peoples = new BLL.T_Bus_People().GetModelList("tid='" + it.tid + "'");
|
|
4101
|
|
- Model.T_Bus_People People = new Model.T_Bus_People();
|
|
4102
|
|
- if (Peoples != null && Peoples.Count > 0)
|
|
4103
|
|
- {
|
|
4104
|
|
- People = Peoples.FirstOrDefault();
|
|
4105
|
|
- if (display == 1)
|
|
4106
|
|
- continue;
|
|
4107
|
|
- else if (searchState == "wait_to_first_explain" && People.state == 1)
|
|
4108
|
|
- continue;
|
|
4109
|
|
- else if (searchState == "wait_to_second_explain" && People.state == 2)
|
|
4110
|
|
- continue;
|
|
|
4126
|
+ // var responseString = HttpMethods.HttpPost(Smsurl, jsonParam, "application/json;charset=UTF-8");
|
|
|
4127
|
+ JObject jo = (JObject)JsonConvert.DeserializeObject(responseString);
|
|
|
4128
|
+ resultData resultData = JsonConvert.DeserializeObject<resultData>(jo["resultData"].ToString());
|
|
4111
|
4129
|
|
|
4112
|
|
- GetHFLY(People, token, searchState);
|
|
4113
|
|
- }
|
|
4114
|
|
- else
|
|
|
4130
|
+ if (resultData.data != null && resultData.data.Count > 0)
|
|
|
4131
|
+ {
|
|
|
4132
|
+ foreach (var it in resultData.data)
|
|
4115
|
4133
|
{
|
|
4116
|
|
- if (display != 1)
|
|
4117
|
|
- continue;
|
|
4118
|
|
- Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = new Model.T_Bus_WorkOrder();
|
|
4119
|
|
- using (TransactionScope trans = new TransactionScope(TransactionScopeOption.Required, new TimeSpan(0, 10, 0)))
|
|
|
4134
|
+ lastItem = resultData.lastItem;
|
|
|
4135
|
+ var Peoples = new BLL.T_Bus_People().GetModelList("tid='" + it.tid + "'");
|
|
|
4136
|
+ Model.T_Bus_People People = new Model.T_Bus_People();
|
|
|
4137
|
+ if (Peoples != null && Peoples.Count > 0)
|
|
4120
|
4138
|
{
|
|
4121
|
|
- #region 保存工单信息
|
|
4122
|
|
- string creattime = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";
|
|
4123
|
|
- string endtime = DateTime.Now.ToString("yyyy-MM-dd") + " 23:59:59";
|
|
|
4139
|
+ People = Peoples.FirstOrDefault();
|
|
|
4140
|
+ if (display == 1)
|
|
|
4141
|
+ continue;
|
|
|
4142
|
+ else if (searchState == "wait_to_first_explain" && People.state == 1)
|
|
|
4143
|
+ continue;
|
|
|
4144
|
+ else if (searchState == "wait_to_second_explain" && People.state == 2)
|
|
|
4145
|
+ continue;
|
|
|
4146
|
+ GetHFLY(People, token, searchState);
|
|
|
4147
|
+
|
|
|
4148
|
+ }
|
|
|
4149
|
+ else
|
|
|
4150
|
+ {
|
|
|
4151
|
+ if (display != 1)
|
|
|
4152
|
+ continue;
|
|
|
4153
|
+ Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = new Model.T_Bus_WorkOrder();
|
|
|
4154
|
+ using (TransactionScope trans = new TransactionScope(TransactionScopeOption.Required, new TimeSpan(0, 10, 0)))
|
|
|
4155
|
+ {
|
|
|
4156
|
+ #region 保存工单信息
|
|
|
4157
|
+ string creattime = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";
|
|
|
4158
|
+ string endtime = DateTime.Now.ToString("yyyy-MM-dd") + " 23:59:59";
|
|
|
4159
|
+
|
|
|
4160
|
+ modelT_Bus_WorkOrder.F_WorkOrderId = new BLL.T_Bus_WorkOrder().GetNewWorkOrderID(4, 4964, creattime, endtime);
|
|
|
4161
|
+ modelT_Bus_WorkOrder.F_InfoSource = 4;//信息来源
|
|
|
4162
|
+ modelT_Bus_WorkOrder.F_PhoneType = "";//电话类型
|
|
|
4163
|
+ if (it.typeName == "咨询")
|
|
|
4164
|
+ modelT_Bus_WorkOrder.F_InfoType = 9;
|
|
|
4165
|
+ else if (it.typeName == "建言")
|
|
|
4166
|
+ modelT_Bus_WorkOrder.F_InfoType = 12;
|
|
|
4167
|
+ else if (it.typeName == "投诉")
|
|
|
4168
|
+ modelT_Bus_WorkOrder.F_InfoType = 11;
|
|
|
4169
|
+ else if (it.typeName == "求助")
|
|
|
4170
|
+ modelT_Bus_WorkOrder.F_InfoType = 10;
|
|
|
4171
|
+ else if (it.typeName == "感谢")
|
|
|
4172
|
+ modelT_Bus_WorkOrder.F_InfoType = 13;
|
|
|
4173
|
+ else
|
|
|
4174
|
+ modelT_Bus_WorkOrder.F_InfoType = 90;
|
|
4124
|
4175
|
|
|
4125
|
|
- modelT_Bus_WorkOrder.F_WorkOrderId = new BLL.T_Bus_WorkOrder().GetNewWorkOrderID(4, 4964, creattime, endtime);
|
|
4126
|
|
- modelT_Bus_WorkOrder.F_InfoSource = 4;//信息来源
|
|
4127
|
|
- modelT_Bus_WorkOrder.F_PhoneType = "";//电话类型
|
|
4128
|
|
- if (it.typeName == "咨询")
|
|
4129
|
|
- modelT_Bus_WorkOrder.F_InfoType = 9;
|
|
4130
|
|
- else if (it.typeName == "建言")
|
|
4131
|
|
- modelT_Bus_WorkOrder.F_InfoType = 12;
|
|
4132
|
|
- else if (it.typeName == "投诉")
|
|
4133
|
|
- modelT_Bus_WorkOrder.F_InfoType = 11;
|
|
4134
|
|
- else if (it.typeName == "求助")
|
|
4135
|
|
- modelT_Bus_WorkOrder.F_InfoType = 10;
|
|
4136
|
|
- else if (it.typeName == "感谢")
|
|
4137
|
|
- modelT_Bus_WorkOrder.F_InfoType = 13;
|
|
4138
|
|
- else
|
|
4139
|
|
- modelT_Bus_WorkOrder.F_InfoType = 90;
|
|
4140
|
4176
|
|
|
4141
|
|
-
|
|
4142
|
4177
|
|
|
4143
|
|
- if (it.hiddenInfo != null)
|
|
4144
|
|
- {
|
|
4145
|
|
- modelT_Bus_WorkOrder.F_CusName = it.hiddenInfo.realName;
|
|
4146
|
|
- modelT_Bus_WorkOrder.F_CusPhone = it.hiddenInfo.phone;
|
|
4147
|
|
- modelT_Bus_WorkOrder.F_ConName = it.hiddenInfo.realName;
|
|
4148
|
|
- modelT_Bus_WorkOrder.F_ConPhone = it.hiddenInfo.realName;
|
|
4149
|
|
- }
|
|
4150
|
|
- modelT_Bus_WorkOrder.F_CusSex = "2";
|
|
4151
|
|
- modelT_Bus_WorkOrder.F_CusAddress = "";
|
|
4152
|
|
- modelT_Bus_WorkOrder.F_ComTitle = "【" + it.domainName + " " + it.typeName + "】" + it.subject;
|
|
4153
|
|
- modelT_Bus_WorkOrder.F_ComContent = it.content;
|
|
4154
|
|
- modelT_Bus_WorkOrder.F_Key = "";
|
|
4155
|
|
- modelT_Bus_WorkOrder.F_IsProtect = 1;
|
|
4156
|
|
- modelT_Bus_WorkOrder.F_Latitude = 0;
|
|
4157
|
|
- modelT_Bus_WorkOrder.F_Longitude = 0;
|
|
4158
|
|
- modelT_Bus_WorkOrder.F_VisitType = 0;
|
|
4159
|
|
- string path = "/Upload/People/" + DateTime.Now.ToString("yyyy") + "/" + DateTime.Now.ToString("MM") + "/" + DateTime.Now.ToString("dd") + "/";
|
|
4160
|
|
- string resid = "";
|
|
4161
|
|
- if (it.attachment == 1)
|
|
4162
|
|
- {
|
|
4163
|
|
- if (it.attachmentList != null && it.attachmentList.Count > 0)
|
|
|
4178
|
+ if (it.hiddenInfo != null)
|
|
4164
|
4179
|
{
|
|
4165
|
|
- foreach (var ia in it.attachmentList)
|
|
|
4180
|
+ modelT_Bus_WorkOrder.F_CusName = it.hiddenInfo.realName;
|
|
|
4181
|
+ modelT_Bus_WorkOrder.F_CusPhone = it.hiddenInfo.phone;
|
|
|
4182
|
+ modelT_Bus_WorkOrder.F_ConName = it.hiddenInfo.realName;
|
|
|
4183
|
+ modelT_Bus_WorkOrder.F_ConPhone = it.hiddenInfo.realName;
|
|
|
4184
|
+ }
|
|
|
4185
|
+ modelT_Bus_WorkOrder.F_CusSex = "2";
|
|
|
4186
|
+ modelT_Bus_WorkOrder.F_CusAddress = "";
|
|
|
4187
|
+ modelT_Bus_WorkOrder.F_ComTitle = "【" + it.domainName + " " + it.typeName + "】" + it.subject;
|
|
|
4188
|
+
|
|
|
4189
|
+ modelT_Bus_WorkOrder.F_Key = "";
|
|
|
4190
|
+ modelT_Bus_WorkOrder.F_IsProtect = 1;
|
|
|
4191
|
+ modelT_Bus_WorkOrder.F_Latitude = 0;
|
|
|
4192
|
+ modelT_Bus_WorkOrder.F_Longitude = 0;
|
|
|
4193
|
+ modelT_Bus_WorkOrder.F_VisitType = 0;
|
|
|
4194
|
+ string path = "/Upload/People/" + DateTime.Now.ToString("yyyy") + "/" + DateTime.Now.ToString("MM") + "/" + DateTime.Now.ToString("dd") + "/";
|
|
|
4195
|
+ string resid = "";
|
|
|
4196
|
+ if (it.attachment == 1)
|
|
|
4197
|
+ {
|
|
|
4198
|
+ if (it.attachmentList != null && it.attachmentList.Count > 0)
|
|
4166
|
4199
|
{
|
|
4167
|
|
- string item = "";
|
|
4168
|
|
- if (ia.originalType == 1)
|
|
4169
|
|
- {
|
|
4170
|
|
- item = ia.orgFileUrl;
|
|
4171
|
|
- }
|
|
4172
|
|
- else
|
|
4173
|
|
- {
|
|
4174
|
|
- item = ia.videoPicUrl;
|
|
4175
|
|
- }
|
|
4176
|
|
- var filename = fileup.GetFileName(item);
|
|
4177
|
|
- var fileext = fileup.GetExt(item);
|
|
4178
|
|
- ImageUpload iu = new ImageUpload();
|
|
4179
|
|
- iu.SavePath = path;
|
|
4180
|
|
- var re = iu.downloadurl(item, filename);
|
|
4181
|
|
-
|
|
4182
|
|
- if (re == "")
|
|
|
4200
|
+ foreach (var ia in it.attachmentList)
|
|
4183
|
4201
|
{
|
|
4184
|
|
- #region 附件保存
|
|
4185
|
|
- Model.T_Sys_Accessories model_T_Sys_Accessories = new Model.T_Sys_Accessories();
|
|
4186
|
|
- model_T_Sys_Accessories.F_AddTime = DateTime.Now;//上传时间
|
|
4187
|
|
- model_T_Sys_Accessories.F_FileName = filename;//附件名称
|
|
4188
|
|
- model_T_Sys_Accessories.F_FileType = fileext;//附件类型
|
|
4189
|
|
- model_T_Sys_Accessories.F_FileUrl = path + filename;//附件地址
|
|
4190
|
|
- model_T_Sys_Accessories.F_Size = 0;//iu.FileSize;
|
|
4191
|
|
- model_T_Sys_Accessories.F_UserCode = "人民网";//上传人
|
|
4192
|
|
- var assid = new BLL.T_Sys_Accessories().Add(model_T_Sys_Accessories);
|
|
4193
|
|
- model_T_Sys_Accessories.F_FileId = assid;
|
|
4194
|
|
- #endregion
|
|
4195
|
|
- if (assid > 0)
|
|
|
4202
|
+ string item = "";
|
|
|
4203
|
+ if (ia.originalType == 1)
|
|
4196
|
4204
|
{
|
|
4197
|
|
- resid += "," + assid.ToString();
|
|
|
4205
|
+ item = ia.orgFileUrl;
|
|
4198
|
4206
|
}
|
|
4199
|
4207
|
else
|
|
4200
|
|
- continue;
|
|
4201
|
|
- }
|
|
|
4208
|
+ {
|
|
|
4209
|
+ item = ia.videoPicUrl;
|
|
|
4210
|
+ }
|
|
|
4211
|
+ var filename = fileup.GetFileName(item);
|
|
|
4212
|
+ var fileext = fileup.GetExt(item);
|
|
|
4213
|
+ ImageUpload iu = new ImageUpload();
|
|
|
4214
|
+ iu.SavePath = path;
|
|
|
4215
|
+ var re = iu.downloadurl(item, filename);
|
|
4202
|
4216
|
|
|
|
4217
|
+ if (re == "")
|
|
|
4218
|
+ {
|
|
|
4219
|
+ #region 附件保存
|
|
|
4220
|
+ Model.T_Sys_Accessories model_T_Sys_Accessories = new Model.T_Sys_Accessories();
|
|
|
4221
|
+ model_T_Sys_Accessories.F_AddTime = DateTime.Now;//上传时间
|
|
|
4222
|
+ model_T_Sys_Accessories.F_FileName = filename;//附件名称
|
|
|
4223
|
+ model_T_Sys_Accessories.F_FileType = fileext;//附件类型
|
|
|
4224
|
+ model_T_Sys_Accessories.F_FileUrl = path + filename;//附件地址
|
|
|
4225
|
+ model_T_Sys_Accessories.F_Size = 0;//iu.FileSize;
|
|
|
4226
|
+ model_T_Sys_Accessories.F_UserCode = "人民网";//上传人
|
|
|
4227
|
+ var assid = new BLL.T_Sys_Accessories().Add(model_T_Sys_Accessories);
|
|
|
4228
|
+ model_T_Sys_Accessories.F_FileId = assid;
|
|
|
4229
|
+ #endregion
|
|
|
4230
|
+ if (assid > 0)
|
|
|
4231
|
+ {
|
|
|
4232
|
+ resid += "," + assid.ToString();
|
|
|
4233
|
+ }
|
|
|
4234
|
+ else
|
|
|
4235
|
+ continue;
|
|
|
4236
|
+ }
|
|
|
4237
|
+
|
|
|
4238
|
+ }
|
|
4203
|
4239
|
}
|
|
4204
|
|
- }
|
|
4205
|
4240
|
|
|
4206
|
|
- }
|
|
4207
|
|
- if (!string.IsNullOrEmpty(it.videoUrl))
|
|
4208
|
|
- {
|
|
4209
|
|
- string item = it.videoUrl;
|
|
4210
|
|
- var filename = fileup.GetFileName(item);
|
|
4211
|
|
- var fileext = fileup.GetExt(item);
|
|
4212
|
|
- ImageUpload iu = new ImageUpload();
|
|
4213
|
|
- iu.SavePath = path;
|
|
4214
|
|
- var re = iu.downloadurl(item, filename);
|
|
4215
|
|
- if (re == "")
|
|
|
4241
|
+ }
|
|
|
4242
|
+ if (!string.IsNullOrEmpty(it.videoUrl))
|
|
4216
|
4243
|
{
|
|
4217
|
|
- #region 附件保存
|
|
4218
|
|
- Model.T_Sys_Accessories model_T_Sys_Accessories = new Model.T_Sys_Accessories();
|
|
4219
|
|
- model_T_Sys_Accessories.F_AddTime = DateTime.Now;//上传时间
|
|
4220
|
|
- model_T_Sys_Accessories.F_FileName = filename;//附件名称
|
|
4221
|
|
- model_T_Sys_Accessories.F_FileType = fileext;//附件类型
|
|
4222
|
|
- model_T_Sys_Accessories.F_FileUrl = path + filename;//附件地址
|
|
4223
|
|
- model_T_Sys_Accessories.F_Size = 0;//iu.FileSize;
|
|
4224
|
|
- model_T_Sys_Accessories.F_UserCode = "人民网";//上传人
|
|
4225
|
|
- var assid = new BLL.T_Sys_Accessories().Add(model_T_Sys_Accessories);
|
|
4226
|
|
- model_T_Sys_Accessories.F_FileId = assid;
|
|
4227
|
|
- #endregion
|
|
4228
|
|
- if (assid > 0)
|
|
|
4244
|
+ string item = it.videoUrl;
|
|
|
4245
|
+ var filename = fileup.GetFileName(item);
|
|
|
4246
|
+ var fileext = fileup.GetExt(item);
|
|
|
4247
|
+ ImageUpload iu = new ImageUpload();
|
|
|
4248
|
+ iu.SavePath = path;
|
|
|
4249
|
+ var re = iu.downloadurl(item, filename);
|
|
|
4250
|
+ if (re == "")
|
|
4229
|
4251
|
{
|
|
4230
|
|
- resid += "," + assid.ToString();
|
|
|
4252
|
+ #region 附件保存
|
|
|
4253
|
+ Model.T_Sys_Accessories model_T_Sys_Accessories = new Model.T_Sys_Accessories();
|
|
|
4254
|
+ model_T_Sys_Accessories.F_AddTime = DateTime.Now;//上传时间
|
|
|
4255
|
+ model_T_Sys_Accessories.F_FileName = filename;//附件名称
|
|
|
4256
|
+ model_T_Sys_Accessories.F_FileType = fileext;//附件类型
|
|
|
4257
|
+ model_T_Sys_Accessories.F_FileUrl = path + filename;//附件地址
|
|
|
4258
|
+ model_T_Sys_Accessories.F_Size = 0;//iu.FileSize;
|
|
|
4259
|
+ model_T_Sys_Accessories.F_UserCode = "人民网";//上传人
|
|
|
4260
|
+ var assid = new BLL.T_Sys_Accessories().Add(model_T_Sys_Accessories);
|
|
|
4261
|
+ model_T_Sys_Accessories.F_FileId = assid;
|
|
|
4262
|
+ #endregion
|
|
|
4263
|
+ if (assid > 0)
|
|
|
4264
|
+ {
|
|
|
4265
|
+ resid += "," + assid.ToString();
|
|
|
4266
|
+ }
|
|
|
4267
|
+ else
|
|
|
4268
|
+ continue;
|
|
4231
|
4269
|
}
|
|
4232
|
|
- else
|
|
4233
|
|
- continue;
|
|
4234
|
4270
|
}
|
|
4235
|
|
- }
|
|
4236
|
|
- if (!string.IsNullOrEmpty(resid))
|
|
4237
|
|
- {
|
|
4238
|
|
- modelT_Bus_WorkOrder.F_File = resid.TrimStart(',');
|
|
4239
|
|
- }
|
|
4240
|
|
- modelT_Bus_WorkOrder.F_Level = 1;
|
|
4241
|
|
- modelT_Bus_WorkOrder.F_IsResult = 0;
|
|
4242
|
|
- modelT_Bus_WorkOrder.F_CreateUser = "人民网";//登记人工号
|
|
4243
|
|
- try
|
|
4244
|
|
- {
|
|
4245
|
|
- modelT_Bus_WorkOrder.F_CreateTime = DateTimeConvert.FromSendTimetag(it.dateline);
|
|
4246
|
|
- }
|
|
4247
|
|
- catch
|
|
4248
|
|
- {
|
|
4249
|
|
- modelT_Bus_WorkOrder.F_CreateTime = DateTime.Now;//登记时间
|
|
4250
|
|
- }
|
|
4251
|
|
- modelT_Bus_WorkOrder.F_WorkState = 1;// 0;//工单状态0登记中
|
|
4252
|
|
- modelT_Bus_WorkOrder.F_IsClosed = 0;//工单是否关闭
|
|
4253
|
|
- modelT_Bus_WorkOrder.F_IsOverdue = 0;//是否逾期(0:否,1:是)
|
|
4254
|
|
- modelT_Bus_WorkOrder.F_IsDelete = 0;//是否删除(0:否,1:是)
|
|
4255
|
|
- modelT_Bus_WorkOrder.F_ToBereply = 0;
|
|
4256
|
|
- modelT_Bus_WorkOrder.F_Business = 0;
|
|
4257
|
|
- if (it.forumName.Contains ("市长"))
|
|
4258
|
|
- modelT_Bus_WorkOrder.F_SplitUser = "市长";
|
|
4259
|
|
- else if (it.forumName.Contains("省长"))
|
|
4260
|
|
- modelT_Bus_WorkOrder.F_SplitUser = "省长";
|
|
4261
|
|
- else
|
|
4262
|
|
- modelT_Bus_WorkOrder.F_SplitUser = it.forumName;
|
|
4263
|
|
- details resultDatas = GetDetails(token, it .tid);
|
|
4264
|
|
- if (resultDatas!=null && resultDatas.contentList!=null && resultDatas.contentList .Count >0)
|
|
4265
|
|
- {
|
|
4266
|
|
-
|
|
4267
|
|
- modelT_Bus_WorkOrder.F_Longitude = resultDatas.contentList[0].longitude;
|
|
4268
|
|
- modelT_Bus_WorkOrder.F_Latitude = resultDatas.contentList[0].latitude ;
|
|
4269
|
|
- modelT_Bus_WorkOrder.F_SourceAddress = resultDatas.contentList[0].threadPlace ;
|
|
4270
|
|
- }
|
|
4271
|
|
- #region
|
|
4272
|
|
- #endregion
|
|
4273
|
|
- modelT_Bus_WorkOrder.F_Id = new BLL.T_Bus_WorkOrder().Add(modelT_Bus_WorkOrder);
|
|
4274
|
|
- #endregion
|
|
4275
|
|
- if (modelT_Bus_WorkOrder.F_Id > 0)
|
|
4276
|
|
- {
|
|
4277
|
|
- People.tid = it.tid;
|
|
4278
|
|
- People.forumName = it.forumName;
|
|
4279
|
|
- People.subject = it.subject;
|
|
4280
|
|
- People.nickName = it.nickName;
|
|
4281
|
|
- People.typeName = it.typeName;
|
|
4282
|
|
- People.domainName = it.domainName;
|
|
4283
|
|
- People.stateInfo = it.stateInfo;
|
|
4284
|
|
- //待回复wait_to_answer 待一次解释 待二次解释wait_to_second_explain
|
|
4285
|
|
- if (display == 1)
|
|
4286
|
|
- People.state = 0;
|
|
4287
|
|
- else if (searchState == "wait_to_first_explain")
|
|
4288
|
|
- People.state = 1;
|
|
4289
|
|
- else if (searchState == "wait_to_second_explain")
|
|
4290
|
|
- People.state = 2;
|
|
4291
|
|
- People.dateline = DateTimeConvert.FromSendTimetag(it.dateline);
|
|
4292
|
|
- People.videoImgUrl = it.videoImgUrl;
|
|
4293
|
|
- People.videoUrl = it.videoUrl;
|
|
4294
|
|
- People.videoDuration = it.videoDuration;
|
|
4295
|
|
- People.content = it.content;
|
|
4296
|
|
- People.threadsCheckTime = DateTimeConvert.FromSendTimetag(it.threadsCheckTime);
|
|
4297
|
|
- if (it.hiddenInfo != null)
|
|
|
4271
|
+ if (!string.IsNullOrEmpty(resid))
|
|
|
4272
|
+ {
|
|
|
4273
|
+ modelT_Bus_WorkOrder.F_File = resid.TrimStart(',');
|
|
|
4274
|
+ }
|
|
|
4275
|
+ modelT_Bus_WorkOrder.F_Level = 1;
|
|
|
4276
|
+ modelT_Bus_WorkOrder.F_IsResult = 0;
|
|
|
4277
|
+ modelT_Bus_WorkOrder.F_CreateUser = "人民网";//登记人工号
|
|
|
4278
|
+ try
|
|
|
4279
|
+ {
|
|
|
4280
|
+ modelT_Bus_WorkOrder.F_CreateTime = DateTimeConvert.FromSendTimetag(it.dateline);
|
|
|
4281
|
+ }
|
|
|
4282
|
+ catch
|
|
|
4283
|
+ {
|
|
|
4284
|
+ modelT_Bus_WorkOrder.F_CreateTime = DateTime.Now;//登记时间
|
|
|
4285
|
+ }
|
|
|
4286
|
+ modelT_Bus_WorkOrder.F_WorkState = 1;// 0;//工单状态0登记中
|
|
|
4287
|
+ modelT_Bus_WorkOrder.F_IsClosed = 0;//工单是否关闭
|
|
|
4288
|
+ modelT_Bus_WorkOrder.F_IsOverdue = 0;//是否逾期(0:否,1:是)
|
|
|
4289
|
+ modelT_Bus_WorkOrder.F_IsDelete = 0;//是否删除(0:否,1:是)
|
|
|
4290
|
+ modelT_Bus_WorkOrder.F_ToBereply = 0;
|
|
|
4291
|
+ modelT_Bus_WorkOrder.F_Business = 0;
|
|
|
4292
|
+ if (it.forumName.Contains("市长"))
|
|
|
4293
|
+ modelT_Bus_WorkOrder.F_SplitUser = "市长";
|
|
|
4294
|
+ else if (it.forumName.Contains("省长"))
|
|
|
4295
|
+ modelT_Bus_WorkOrder.F_SplitUser = "省长";
|
|
|
4296
|
+ else
|
|
|
4297
|
+ modelT_Bus_WorkOrder.F_SplitUser = it.forumName;
|
|
|
4298
|
+ details resultDatas = GetDetails(token, it.tid);
|
|
|
4299
|
+ if (resultDatas != null && resultDatas.contentList != null && resultDatas.contentList.Count > 0)
|
|
4298
|
4300
|
{
|
|
4299
|
|
- People.realName = it.hiddenInfo.realName;
|
|
4300
|
|
- People.phone = it.hiddenInfo.phone;
|
|
4301
|
|
- People.remark = it.hiddenInfo.remark;
|
|
4302
|
4301
|
|
|
|
4302
|
+ modelT_Bus_WorkOrder.F_Longitude = resultDatas.contentList[0].longitude;
|
|
|
4303
|
+ modelT_Bus_WorkOrder.F_Latitude = resultDatas.contentList[0].latitude;
|
|
|
4304
|
+ modelT_Bus_WorkOrder.F_SourceAddress = resultDatas.contentList[0].threadPlace;
|
|
4303
|
4305
|
}
|
|
4304
|
|
- if (it.attachment == 1)
|
|
|
4306
|
+ Review result = ReReview(token, it.tid);
|
|
|
4307
|
+ if (result != null)
|
|
4305
|
4308
|
{
|
|
4306
|
|
- if (it.attachmentList != null && it.attachmentList.Count > 0)
|
|
|
4309
|
+ modelT_Bus_WorkOrder.F_ComContent = result.contentList[0].content;
|
|
|
4310
|
+ }
|
|
|
4311
|
+ else
|
|
|
4312
|
+ {
|
|
|
4313
|
+ modelT_Bus_WorkOrder.F_ComContent = it.content;
|
|
|
4314
|
+ }
|
|
|
4315
|
+ #region
|
|
|
4316
|
+ #endregion
|
|
|
4317
|
+ modelT_Bus_WorkOrder.F_Id = new BLL.T_Bus_WorkOrder().Add(modelT_Bus_WorkOrder);
|
|
|
4318
|
+ #endregion
|
|
|
4319
|
+ if (modelT_Bus_WorkOrder.F_Id > 0)
|
|
|
4320
|
+ {
|
|
|
4321
|
+ People.tid = it.tid;
|
|
|
4322
|
+ People.forumName = it.forumName;
|
|
|
4323
|
+ People.subject = it.subject;
|
|
|
4324
|
+ People.nickName = it.nickName;
|
|
|
4325
|
+ People.typeName = it.typeName;
|
|
|
4326
|
+ People.domainName = it.domainName;
|
|
|
4327
|
+ People.stateInfo = it.stateInfo;
|
|
|
4328
|
+ //待回复wait_to_answer 待一次解释 待二次解释wait_to_second_explain
|
|
|
4329
|
+ if (display == 1)
|
|
|
4330
|
+ People.state = 0;
|
|
|
4331
|
+ else if (searchState == "wait_to_first_explain")
|
|
|
4332
|
+ People.state = 1;
|
|
|
4333
|
+ else if (searchState == "wait_to_second_explain")
|
|
|
4334
|
+ People.state = 2;
|
|
|
4335
|
+ People.dateline = DateTimeConvert.FromSendTimetag(it.dateline);
|
|
|
4336
|
+ People.videoImgUrl = it.videoImgUrl;
|
|
|
4337
|
+ People.videoUrl = it.videoUrl;
|
|
|
4338
|
+ People.videoDuration = it.videoDuration;
|
|
|
4339
|
+ People.content = it.content;
|
|
|
4340
|
+ People.threadsCheckTime = DateTimeConvert.FromSendTimetag(it.threadsCheckTime);
|
|
|
4341
|
+ if (it.hiddenInfo != null)
|
|
4307
|
4342
|
{
|
|
4308
|
|
- foreach (var ia in it.attachmentList)
|
|
|
4343
|
+ People.realName = it.hiddenInfo.realName;
|
|
|
4344
|
+ People.phone = it.hiddenInfo.phone;
|
|
|
4345
|
+ People.remark = it.hiddenInfo.remark;
|
|
|
4346
|
+
|
|
|
4347
|
+ }
|
|
|
4348
|
+ if (it.attachment == 1)
|
|
|
4349
|
+ {
|
|
|
4350
|
+ if (it.attachmentList != null && it.attachmentList.Count > 0)
|
|
4309
|
4351
|
{
|
|
4310
|
|
- People.aid += "," + ia.aid;
|
|
|
4352
|
+ foreach (var ia in it.attachmentList)
|
|
|
4353
|
+ {
|
|
|
4354
|
+ People.aid += "," + ia.aid;
|
|
|
4355
|
+ }
|
|
4311
|
4356
|
}
|
|
|
4357
|
+ if (!string.IsNullOrEmpty(People.aid))
|
|
|
4358
|
+ People.aid = People.aid.TrimStart(',');
|
|
4312
|
4359
|
}
|
|
4313
|
|
- if (!string.IsNullOrEmpty(People.aid))
|
|
4314
|
|
- People.aid = People.aid.TrimStart(',');
|
|
4315
|
|
- }
|
|
4316
|
|
- People.topicMainTitle = it.topicMainTitle;
|
|
4317
|
|
- People.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
|
4360
|
+ People.topicMainTitle = it.topicMainTitle;
|
|
|
4361
|
+ People.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
4318
|
4362
|
|
|
4319
|
|
- if (Peoples != null && Peoples.Count > 0)
|
|
4320
|
|
- new BLL.T_Bus_People().Update(People);
|
|
4321
|
|
- else
|
|
4322
|
|
- new BLL.T_Bus_People().Add(People);
|
|
4323
|
|
- string userinfo = "人民网";
|
|
4324
|
|
- string message = "";
|
|
4325
|
|
- message = userinfo + " 登记并提交工单,工单编号:" + modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
4326
|
|
- // var curuser = User;
|
|
4327
|
|
- #region 插入操作记录
|
|
4328
|
|
- Model.T_Bus_Operation oper = new Model.T_Bus_Operation();
|
|
4329
|
|
- oper.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
4330
|
|
- oper.F_State = modelT_Bus_WorkOrder.F_WorkState;
|
|
4331
|
|
- oper.F_CallRecordId = modelT_Bus_WorkOrder.F_CallRecordId;
|
|
4332
|
|
- oper.F_File = modelT_Bus_WorkOrder.F_File;
|
|
4333
|
|
- oper.F_Message = message;
|
|
4334
|
|
- oper.F_CreateUser = "人民网";
|
|
4335
|
|
- oper.F_CreateTime = DateTime.Now;
|
|
4336
|
|
- oper.F_IsDelete = 0;
|
|
4337
|
|
- new BLL.T_Bus_Operation().Add(oper);
|
|
4338
|
|
- #endregion
|
|
|
4363
|
+ if (Peoples != null && Peoples.Count > 0)
|
|
|
4364
|
+ new BLL.T_Bus_People().Update(People);
|
|
|
4365
|
+ else
|
|
|
4366
|
+ new BLL.T_Bus_People().Add(People);
|
|
|
4367
|
+ string userinfo = "人民网";
|
|
|
4368
|
+ string message = "";
|
|
|
4369
|
+ message = userinfo + " 登记并提交工单,工单编号:" + modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
|
4370
|
+ // var curuser = User;
|
|
|
4371
|
+ #region 插入操作记录
|
|
|
4372
|
+ Model.T_Bus_Operation oper = new Model.T_Bus_Operation();
|
|
|
4373
|
+ oper.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
|
4374
|
+ oper.F_State = modelT_Bus_WorkOrder.F_WorkState;
|
|
|
4375
|
+ oper.F_CallRecordId = modelT_Bus_WorkOrder.F_CallRecordId;
|
|
|
4376
|
+ oper.F_File = modelT_Bus_WorkOrder.F_File;
|
|
|
4377
|
+ oper.F_Message = message;
|
|
|
4378
|
+ oper.F_CreateUser = "人民网";
|
|
|
4379
|
+ oper.F_CreateTime = DateTime.Now;
|
|
|
4380
|
+ oper.F_IsDelete = 0;
|
|
|
4381
|
+ new BLL.T_Bus_Operation().Add(oper);
|
|
|
4382
|
+ #endregion
|
|
|
4383
|
+ }
|
|
|
4384
|
+ trans.Complete();
|
|
4339
|
4385
|
}
|
|
4340
|
|
- trans.Complete();
|
|
4341
|
|
- }
|
|
4342
|
4386
|
|
|
4343
|
|
- }
|
|
|
4387
|
+ }
|
|
4344
|
4388
|
|
|
4345
|
4389
|
|
|
4346
|
4390
|
|
|
|
4391
|
+ }
|
|
|
4392
|
+ LYlIST(token, display, searchState);
|
|
4347
|
4393
|
}
|
|
4348
|
|
- LYlIST(token, display, searchState);
|
|
|
4394
|
+ return Success("添加成功");
|
|
|
4395
|
+ }
|
|
|
4396
|
+ catch(Exception e)
|
|
|
4397
|
+ {
|
|
|
4398
|
+ return Success(e.ToString ());
|
|
4349
|
4399
|
}
|
|
4350
|
|
- return Success("添加成功");
|
|
|
4400
|
+
|
|
4351
|
4401
|
}
|
|
4352
|
4402
|
public details GetDetails(string token,int tid)
|
|
4353
|
4403
|
{
|
|
|
@@ -4373,22 +4423,52 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4373
|
4423
|
details resultData = JsonConvert.DeserializeObject<details>(jo["resultData"].ToString());
|
|
4374
|
4424
|
return resultData;
|
|
4375
|
4425
|
}
|
|
4376
|
|
- public void GetHFLY(Model.T_Bus_People People, string token,string searchState)
|
|
|
4426
|
+ public Review ReReview(string token, int tid)
|
|
|
4427
|
+ {
|
|
|
4428
|
+
|
|
|
4429
|
+ Dictionary<string, object> LY = new Dictionary<string, object>();
|
|
|
4430
|
+ LY.Add("tid", tid);
|
|
|
4431
|
+ //序列化参数
|
|
|
4432
|
+ // 发送请求
|
|
|
4433
|
+ var request = (HttpWebRequest)WebRequest.Create(rmwurl + "/v1/org/threads/content");
|
|
|
4434
|
+ request.Method = "POST";
|
|
|
4435
|
+ request.ContentType = "application/json;charset=UTF-8";
|
|
|
4436
|
+
|
|
|
4437
|
+ var byteData = Encoding.UTF8.GetBytes(createParamMap("/v1/org/threads/content", LY.ToJson(), token).ToJson());
|
|
|
4438
|
+ var length = byteData.Length;
|
|
|
4439
|
+ request.ContentLength = length;
|
|
|
4440
|
+ var writer = request.GetRequestStream();
|
|
|
4441
|
+ writer.Write(byteData, 0, length);
|
|
|
4442
|
+ writer.Close();
|
|
|
4443
|
+ //接收数据
|
|
|
4444
|
+ var response = (HttpWebResponse)request.GetResponse();
|
|
|
4445
|
+ var responseString = new StreamReader(response.GetResponseStream(), Encoding.GetEncoding("utf-8")).ReadToEnd();
|
|
|
4446
|
+
|
|
|
4447
|
+ // var responseString = HttpMethods.HttpPost(Smsurl, jsonParam, "application/json;charset=UTF-8");
|
|
|
4448
|
+ JObject jo = (JObject)JsonConvert.DeserializeObject(responseString);
|
|
|
4449
|
+ Review resultData = JsonConvert.DeserializeObject<Review>(jo["resultData"].ToString());
|
|
|
4450
|
+ return resultData;
|
|
|
4451
|
+
|
|
|
4452
|
+ }
|
|
|
4453
|
+ public string GetHFLY(Model.T_Bus_People People, string token,string searchState)
|
|
4377
|
4454
|
{
|
|
4378
|
|
- if (searchState == "wait_to_first_explain")
|
|
4379
|
|
- People.state = 1;
|
|
4380
|
|
- else if (searchState == "wait_to_second_explain")
|
|
4381
|
|
- People.state = 2;
|
|
4382
|
|
- new BLL.T_Bus_People().Update(People);
|
|
4383
|
|
- Dictionary<string, object > LY = new Dictionary<string, object>();
|
|
4384
|
|
- LY.Add("tid", People.tid );
|
|
|
4455
|
+ try
|
|
|
4456
|
+ {
|
|
|
4457
|
+ if (searchState == "wait_to_first_explain")
|
|
|
4458
|
+ People.state = 1;
|
|
|
4459
|
+ else if (searchState == "wait_to_second_explain")
|
|
|
4460
|
+ People.state = 2;
|
|
|
4461
|
+ new BLL.T_Bus_People().Update(People);
|
|
|
4462
|
+ Dictionary<string, object> LY = new Dictionary<string, object>();
|
|
|
4463
|
+ LY.Add("tid", (int )People.tid );
|
|
4385
|
4464
|
//序列化参数
|
|
4386
|
4465
|
// 发送请求
|
|
4387
|
|
- var request = (HttpWebRequest)WebRequest.Create(rmwurl+"/v1/org/threads/content");
|
|
|
4466
|
+ var request = (HttpWebRequest)WebRequest.Create(rmwurl + "/v1/org/threads/content");
|
|
4388
|
4467
|
request.Method = "POST";
|
|
4389
|
4468
|
request.ContentType = "application/json;charset=UTF-8";
|
|
4390
|
4469
|
|
|
4391
|
4470
|
var byteData = Encoding.UTF8.GetBytes(createParamMap("/v1/org/threads/content", LY.ToJson(), token).ToJson());
|
|
|
4471
|
+
|
|
4392
|
4472
|
var length = byteData.Length;
|
|
4393
|
4473
|
request.ContentLength = length;
|
|
4394
|
4474
|
var writer = request.GetRequestStream();
|
|
|
@@ -4425,6 +4505,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4425
|
4505
|
|
|
4426
|
4506
|
|
|
4427
|
4507
|
}
|
|
|
4508
|
+ return "";
|
|
|
4509
|
+ }
|
|
|
4510
|
+ catch(Exception e)
|
|
|
4511
|
+ {
|
|
|
4512
|
+ return e.Message.ToString();
|
|
|
4513
|
+ }
|
|
|
4514
|
+
|
|
|
4515
|
+
|
|
|
4516
|
+
|
|
|
4517
|
+
|
|
|
4518
|
+
|
|
4428
|
4519
|
|
|
4429
|
4520
|
}
|
|
4430
|
4521
|
public void LYlIST(string token, int display, string searchState)
|
|
|
@@ -4513,8 +4604,15 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4513
|
4604
|
|
|
4514
|
4605
|
|
|
4515
|
4606
|
modelT_Bus_WorkOrder.F_ComTitle = "【" + it.domainName + " " + it.typeName + "】" + it.subject;
|
|
4516
|
|
-
|
|
4517
|
|
- modelT_Bus_WorkOrder.F_ComContent = it.content;
|
|
|
4607
|
+ Review result = ReReview(token, it.tid);
|
|
|
4608
|
+ if (result != null)
|
|
|
4609
|
+ {
|
|
|
4610
|
+ modelT_Bus_WorkOrder.F_ComContent = result.contentList[0].content;
|
|
|
4611
|
+ }
|
|
|
4612
|
+ else
|
|
|
4613
|
+ {
|
|
|
4614
|
+ modelT_Bus_WorkOrder.F_ComContent = it .content;
|
|
|
4615
|
+ }
|
|
4518
|
4616
|
modelT_Bus_WorkOrder.F_Key = "";
|
|
4519
|
4617
|
|
|
4520
|
4618
|
modelT_Bus_WorkOrder.F_IsProtect = 1;
|
|
|
@@ -4758,11 +4856,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4758
|
4856
|
return result["token"].ToString();
|
|
4759
|
4857
|
}
|
|
4760
|
4858
|
private string APP_CODE = Configs.GetValue("APP_CODE");
|
|
4761
|
|
- private string APP_SECRET = Configs.GetValue("APP_SECRET");
|
|
|
4859
|
+ private string APP_SECRET = Configs.GetValue("APP_SECRET");
|
|
4762
|
4860
|
private string rmwurl = Configs.GetValue("Rmwurl");
|
|
4763
|
|
- //private string APP_CODE = "314f185e71e74dd8879ab154746f7681";
|
|
4764
|
|
- //private string APP_SECRET = "900a640b37e84a8c88ffc83d6f3500f6";
|
|
4765
|
|
- //private string rmwurl = "http://liuyan-api.people.com.cn/api";
|
|
|
4861
|
+ // private string APP_CODE = "314f185e71e74dd8879ab154746f7681";
|
|
|
4862
|
+ // private string APP_SECRET = "900a640b37e84a8c88ffc83d6f3500f6";
|
|
|
4863
|
+ // private string rmwurl = "http://liuyan-api.people.com.cn/api";
|
|
4766
|
4864
|
public Dictionary<string, string> createParamMap(string url, string param)
|
|
4767
|
4865
|
{
|
|
4768
|
4866
|
Dictionary<string, string> parame = new Dictionary<string, string>();
|