|
|
@@ -29,6 +29,11 @@ namespace CallCenterApi.Interface.Controllers.information
|
|
29
|
29
|
string SMS_Content = HttpUtility.UrlDecode(RequestString.GetQueryString("content"));
|
|
30
|
30
|
string strstarttime = HttpUtility.UrlDecode(RequestString.GetQueryString("strstarttime"));
|
|
31
|
31
|
string strendtime = HttpUtility.UrlDecode(RequestString.GetQueryString("strendtime"));
|
|
|
32
|
+
|
|
|
33
|
+
|
|
|
34
|
+ int SMS_IsRead = RequestString.GetInt("IsRead", -1);
|
|
|
35
|
+
|
|
|
36
|
+
|
|
32
|
37
|
string strpageindex = RequestString.GetQueryString("page");
|
|
33
|
38
|
int pageindex = 1;
|
|
34
|
39
|
string strpagesize = RequestString.GetQueryString("pagesize");
|
|
|
@@ -59,6 +64,10 @@ namespace CallCenterApi.Interface.Controllers.information
|
|
59
|
64
|
{
|
|
60
|
65
|
sql += " and datediff(day,SMS_SendUserCode,'" + strendtime + "')>=0 ";
|
|
61
|
66
|
}
|
|
|
67
|
+ if (SMS_IsRead>-1)
|
|
|
68
|
+ {
|
|
|
69
|
+ sql += " and SMS_IsRead = '" + SMS_IsRead + "'";
|
|
|
70
|
+ }
|
|
62
|
71
|
if (strpageindex.Trim() != "")
|
|
63
|
72
|
{
|
|
64
|
73
|
pageindex = Convert.ToInt32(strpageindex);
|
|
|
@@ -70,7 +79,7 @@ namespace CallCenterApi.Interface.Controllers.information
|
|
70
|
79
|
int recordCount = 0;
|
|
71
|
80
|
dt = BLL.PagerBLL.GetListPager(
|
|
72
|
81
|
"T_SMS_InternalMessages",
|
|
73
|
|
- "F_Id",
|
|
|
82
|
+ "SMS_Id",
|
|
74
|
83
|
"*",
|
|
75
|
84
|
sql,
|
|
76
|
85
|
"ORDER BY SMS_Id desc",
|