修复bug,优化店铺筛选选项
This commit is contained in:
1 parent
aa45b35145
commit
ad325eaec5
15 files changed
+596
-347
No files matched your search
@@ -361,7 +361,7 @@ namespace KJD_Web.BLL.WXXD
|
||||
// 获取事先绑定的订单运单
|
||||
sql = " UPDATE wxxd.express_optimize SET order_id='" + order_id + "',status=1" +
|
||||
" WHERE user_name='" + user_name + "' AND status=0 AND bind_order_id='" + order_id + "'" +
|
||||
" LIMIT 1";
|
||||
" ORDER BY RAND() LIMIT 1";
|
||||
var cnt = mySql.ExecuteAffectedRows(sql);
|
||||
if (!mySql.Message.IsNullOrEmpty())
|
||||
{
|
||||
@@ -378,7 +378,7 @@ namespace KJD_Web.BLL.WXXD
|
||||
sql = " UPDATE wxxd.express_optimize SET order_id='" + order_id + "',status=1" +
|
||||
" WHERE user_name='" + user_name + "' AND status=0 AND (order_id IS NULL OR order_id='') AND (bind_order_id IS NULL OR bind_order_id='')" +
|
||||
" AND waybill_pickup_time between '" + start_time + "' and '" + end_time + "'" +
|
||||
" LIMIT 1";
|
||||
" ORDER BY RAND() LIMIT 1";
|
||||
cnt = mySql.ExecuteAffectedRows(sql);
|
||||
if (!mySql.Message.IsNullOrEmpty())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user