升级包替换服务器

This commit is contained in:
wule committed 2026-08-26 15:46:32 +08:00
1 parent 246f574f86
commit ab169a2b83
4 files changed
+74 -25

No files matched your search

+3 -3
View File
@@ -49,7 +49,7 @@ namespace KJD_Web.BLL.WXXD
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
string sql = "SELECT COUNT(id) FROM erp.oms_wei_order o WHERE 1=1 ";
string sql = "SELECT COUNT(*) FROM erp.oms_wei_order o WHERE 1=1 ";
string where = "";
if (!string.IsNullOrWhiteSpace(erp_shop_id_in))
@@ -90,9 +90,9 @@ namespace KJD_Web.BLL.WXXD
if (sort_type == "asc")
//sql += " ORDER BY o.create_time ASC, o.id desc";
sql += " ORDER BY o.create_time ASC";
sql += " ORDER BY o.create_time ASC, o.id ASC";
else
sql += " ORDER BY o.create_time DESC";
sql += " ORDER BY o.create_time DESC, o.id DESC";
sql += " LIMIT " + Math.Max(page - 1, 0) * page_size + "," + page_size;
dt = mySql.ExecuteDataTable(sql);
}