duhongyu лет назад: 4
Родитель
Сommit
5e36062f8f

+ 7 - 6
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/information/InternalMessagesController.cs

353
             
353
             
354
             if(User!=null)
354
             if(User!=null)
355
             {
355
             {
356
-                var sql = " SMS_IsDelete=0 and SMS_IsRead=0 ";
357
-                sql += " and SMS_ReceiveUserCode='" + User.F_UserCode + "'";
358
-                if (smstype > 0)
359
-                    sql += " and SMS_Type="+ smstype;
360
-                var msglist = bll.GetModelList(sql + " order by SMS_IsTop desc,SMS_SendTime  desc");
361
-                return Success("获取消息成功", msglist);
356
+                //var sql = " SMS_IsDelete=0 and SMS_IsRead=0 ";
357
+                //sql += " and SMS_ReceiveUserCode='" + User.F_UserCode + "'";
358
+                //if (smstype > 0)
359
+                //    sql += " and SMS_Type="+ smstype;
360
+                //var msglist = bll.GetModelList(sql + " order by SMS_IsTop desc,SMS_SendTime  desc");
361
+                //return Success("获取消息成功", msglist);
362
+                return Success("获取成功");
362
             }
363
             }
363
             return Error("权限不足");
364
             return Error("权限不足");
364
         }
365
         }