duhongyu 3 yıl önce
ebeveyn
işleme
b3b74d4335

+ 5 - 5
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -2453,11 +2453,11 @@ namespace CallCenterApi.Interface.Controllers.weixin
2453 2453
                                 if (userlist.Count > 0)
2454 2454
                                 {
2455 2455
                                     if (flag == 1)
2456
-                                        contens = $" 修改注解,工单编号 <a href='./WorkOrder/commonHtml/orderDetails.html?oid={model.F_ID}'>" + model.F_WorkOrderCode + "</a>";
2456
+                                        contens = $" 修改注解,工单编号:" + model.F_WorkOrderCode + "";
2457 2457
 
2458 2458
                                     //< span class="top_notices_con">系统维护管理员 修改注解, 工单编号 20220527152927398</span>
2459 2459
                                     else
2460
-                                        contens = $" 附加注解,工单编号 <a href='./WorkOrder/commonHtml/orderDetails.html?oid={model.F_ID}'>" + model.F_WorkOrderCode + "</a>";
2460
+                                        contens = $" 附加注解,工单编号:" + model.F_WorkOrderCode + "";
2461 2461
                                     foreach (var item in userlist)
2462 2462
                                     {
2463 2463
                                         touser = item.F_UserCode; ;
@@ -2465,7 +2465,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
2465 2465
                                         msg.Type = (int)Model.MSGType.Annotation;
2466 2466
                                         msg.ToUser = touser;
2467 2467
                                         msg.ToID = (int)model.F_ID;
2468
-                                        msg.Detail = $"<span class='top_notices_con'> " + ua.F_UserName + contens + "</span>";
2468
+                                        msg.Detail = $"<span class='top_notices_con'> " + ua.F_UserName + contens + "</span>" + "," + model.F_ID + "";
2469 2469
                                         msg.State = 0;
2470 2470
                                         msg.IsDel = 0;
2471 2471
                                         msg.CreateDate = DateTime.Now;
@@ -3073,7 +3073,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
3073 3073
                         }
3074 3074
                     }
3075 3075
                 }
3076
-                int n = DbHelperSQL.ExecuteSql(" update T_Msg_List set State=1 where ToID ='" + model.F_ID + "' and IsDel=0 and State=0");
3076
+                int n = DbHelperSQL.ExecuteSql(" update T_Msg_List set State=1 where Detail like '%," + model.F_ID + "%' and IsDel=0 and State=0");
3077 3077
                 //var itemlasts = itembll.GetModelList("  F_WoID=" + +id + " ");
3078 3078
                 if (list.Count > 0)
3079 3079
                 {
@@ -7555,7 +7555,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
7555 7555
         {
7556 7556
             #region 消息提醒
7557 7557
             string strmsg = string.Empty;
7558
-            strmsg = nowUser.F_UserName + "(" + nowUser.F_UserCode + ")" + "操作" + opt + "工单";
7558
+            strmsg = nowUser.F_UserName + "(" + nowUser.F_UserCode + ")" + "操作" + opt + "工单, " + womodel.F_WorkOrderCode + "," + womodel.F_ID + "";
7559 7559
             Model.T_Msg_List msg = new Model.T_Msg_List();
7560 7560
             msg.Type = (int)Model.MSGType.workorder;//处理
7561 7561
             msg.ToUser = touser;

+ 5 - 5
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -2561,9 +2561,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
2561 2561
                         }
2562 2562
                     }                  
2563 2563
                 }
2564
-                int n = DbHelperSQL.ExecuteSql(" update T_Msg_List set State=1 where ToID ='" + model .F_ID + "' and IsDel=0 and State=0");
2565
-
2564
+                int n = DbHelperSQL.ExecuteSql(" update T_Msg_List set State=1 where Detail like '%,"+ model.F_ID + "%' and IsDel=0 and State=0");
2566 2565
 
2566
+               
2567 2567
 
2568 2568
                 var configfj = new BLL.T_Sys_SystemConfig().GetModelList(" F_ParamCode='FileUrlPath' ").FirstOrDefault();
2569 2569
                 FileUrl = GetFileData(model.F_Files, configfj.F_ParamValue);
@@ -8275,11 +8275,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
8275 8275
                                 if (userlist.Count > 0)
8276 8276
                                 {
8277 8277
                                     if (flag == 1)
8278
-                                        contens = $" 修改注解,工单编号 <a href='./WorkOrder/commonHtml/orderDetails.html?oid={model.F_ID}'>" + model.F_WorkOrderCode + "</a>";
8278
+                                        contens = $" 修改注解,工单编号:" + model.F_WorkOrderCode + "";
8279 8279
 
8280 8280
                                     //< span class="top_notices_con">系统维护管理员 修改注解, 工单编号 20220527152927398</span>
8281 8281
                                     else
8282
-                                        contens = $" 附加注解,工单编号 <a href='./WorkOrder/commonHtml/orderDetails.html?oid={model.F_ID}'>" + model.F_WorkOrderCode + "</a>";
8282
+                                        contens = $" 附加注解,工单编号:" + model.F_WorkOrderCode + "";
8283 8283
                                     foreach (var item in userlist)
8284 8284
                                     {
8285 8285
                                         touser = item.F_UserCode; ;
@@ -8287,7 +8287,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
8287 8287
                                         msg.Type = (int)Model.MSGType.Annotation;
8288 8288
                                         msg.ToUser = touser;
8289 8289
                                         msg.ToID = (int)model.F_ID;
8290
-                                        msg.Detail = $"<span class='top_notices_con'> " + ua.F_UserName + contens + "</span>";
8290
+                                        msg.Detail = $"<span class='top_notices_con'> " + ua.F_UserName + contens + "</span>"+ "," + model.F_ID + "";
8291 8291
                                         msg.State = 0;
8292 8292
                                         msg.IsDel = 0;
8293 8293
                                         msg.CreateDate = DateTime.Now;