统计功能更新

dev
徐杰盟 2024-03-06 16:27:50 +08:00
parent f9979fb038
commit f872cddd93
3 changed files with 4 additions and 4 deletions

View File

@ -101,11 +101,11 @@ public class OrderEndService extends BaseService {
public void queryList(String supermarketId,String tm,String customerId,String stm,String etm) {
public void queryList(String tm,String customerId,String supermarketId,String stm,String etm) {
// 获取历史数据
List<Record> tempList = OrderTempService.me.getOrderTempGroupBy(supermarketId,tm,customerId,stm,etm);
List<Record> tempList = OrderTempService.me.getOrderTempGroupBy(tm,customerId,supermarketId,stm,etm);
if (CollectionUtils.isEmpty(tempList)) {
log.info("数据结果为空");

View File

@ -467,7 +467,7 @@ public class OrderTempService extends BaseService {
paraList.add(supermarketId);
}
if (supermarketId != null) {
if (customerId != null) {
findSql = " AND CUSTOMER_ID = ? \n";
paraList.add(customerId);
}

View File

@ -121,7 +121,7 @@ public class OrderTempController extends BaseController {
String supermarketId = get("supermarketId");
String stm = get("stm");
String etm = get("etm");
OrderEndService.me.queryList(supermarketId,tm, customerId,stm,etm); // 通过接口更新
OrderEndService.me.queryList(tm, customerId,supermarketId,stm,etm); // 通过接口更新
renderJson();
}
}