根据业主要求,日统计表,月统计表默认查询全部数据
parent
3a641ecf65
commit
c1c498a7f8
|
|
@ -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" +
|
||||
|
|
|
|||
Loading…
Reference in New Issue