1优化店铺查询 2数据库上传次数统计优化

This commit is contained in:
wule committed 2026-01-05 21:14:45 +08:00
1 parent ed5aec05ca
commit ba5dfe3264
18 files changed
+414 -186

No files matched your search

@@ -1123,7 +1123,7 @@ namespace KJD_Web.BLL.BXX
{
add_product_remaining = add_product_remaining - 1;
sql += "\r\n";
sql += "update bxx.shop set add_product_remaining=" + add_product_remaining + " where shop_id='" + shop_id + "';";
//sql += "update bxx.shop set add_product_remaining=" + add_product_remaining + " where shop_id='" + shop_id + "';";
sql += "update bxx.product set select_total_count=select_total_count+1 where id=" + out_product_Id + ";";
//sql += "update bxx.shop_add_prod_count set add_product_remaining=" + add_product_remaining + " where shop_id='" + shop_id + "';";
sql += "INSERT INTO bxx.shop_add_prod_count(shop_id, add_product_remaining) VALUES('" + shop_id + "'," + add_product_remaining + ")" +