gx
This commit is contained in:
1 parent
c7bcae3565
commit
246f574f86
1 file changed
+8
-4
@@ -406,7 +406,7 @@ namespace KJD_Web.BLL.BXX
|
||||
return "{\"code\":500,\"msg\":\"" + mySql.Message + "\"}";
|
||||
}
|
||||
var ids = "";
|
||||
foreach(DataRow row in dt.Rows)
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
ids += row["spu_id"].ParseToString() + "','";
|
||||
}
|
||||
@@ -602,7 +602,7 @@ namespace KJD_Web.BLL.BXX
|
||||
if (version < (System.Configuration.ConfigurationManager.ConnectionStrings["LimitVersion"]?.ConnectionString).ParseToInt())
|
||||
return "{\"code\":1,\"msg\":\"当前版本过于陈旧,请立即升级新版\"}";
|
||||
|
||||
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name")?.Replace("'","\\'");
|
||||
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name")?.Replace("'", "\\'");
|
||||
var password = RegexUtils.GetStringQuery(ref inputData, "password")?.Replace("'", "\\'");
|
||||
var search_spu = RegexUtils.GetStringQuery(ref inputData, "search_spu")?.Replace("'", "\\'");
|
||||
var search_skc = RegexUtils.GetStringQuery(ref inputData, "search_skc")?.Replace("'", "\\'");
|
||||
@@ -650,7 +650,7 @@ namespace KJD_Web.BLL.BXX
|
||||
var fission_words = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "fission_words"))?.Replace("'", "\\'");
|
||||
|
||||
int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt();
|
||||
int page_size= RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50);
|
||||
int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50);
|
||||
|
||||
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
|
||||
MysqlUtils mySql = new MysqlUtils(conn);
|
||||
@@ -2138,9 +2138,13 @@ namespace KJD_Web.BLL.BXX
|
||||
{
|
||||
where += " AND send_to_out_server IN (0,1,127) and distribution_set IN (0,1,2,127)";
|
||||
}
|
||||
//if (!add_days_less.IsNullOrZero())
|
||||
//{
|
||||
// where += " and add_time > '" + DateTime.Now.AddDays(-add_days_less.ParseToInt()).ToString("yyyy-MM-dd") + "'";
|
||||
//}
|
||||
if (!add_days_less.IsNullOrZero())
|
||||
{
|
||||
where += " and add_time > '" + DateTime.Now.AddDays(-add_days_less.ParseToInt()).ToString("yyyy-MM-dd") + "'";
|
||||
where += " and mdy_time > '" + DateTime.Now.AddDays(-add_days_less.ParseToInt()).ToString("yyyy-MM-dd") + "'";
|
||||
}
|
||||
if (!has_wx_format.IsNullOrEmpty())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user