根据业主要求,日统计表,月统计表默认查询全部数据

dev
徐杰盟 2024-03-12 09:39:49 +08:00
parent 3a641ecf65
commit c1c498a7f8
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ public class OrderStatService {
saleParams += " and t.sale_type = ? \n";
params.add(sale_type);
}else {
saleParams += " and t.sale_type = 0 \n";
// saleParams += " and t.sale_type = 0 \n";
}
String sql = "select s.id, s.name, s.name2, p.id product_id, p.`name` product_name, ifnull(a.orderCount, 0) as orderCount, ifnull(a.totalPrice, 0) as totalPrice, ifnull(a.weight, 0) as weight\n" +
" from supermarket_product t\n" +