统计功能更新
parent
f9979fb038
commit
f872cddd93
|
|
@ -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)) {
|
if (CollectionUtils.isEmpty(tempList)) {
|
||||||
log.info("数据结果为空");
|
log.info("数据结果为空");
|
||||||
|
|
|
||||||
|
|
@ -467,7 +467,7 @@ public class OrderTempService extends BaseService {
|
||||||
paraList.add(supermarketId);
|
paraList.add(supermarketId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (supermarketId != null) {
|
if (customerId != null) {
|
||||||
findSql = " AND CUSTOMER_ID = ? \n";
|
findSql = " AND CUSTOMER_ID = ? \n";
|
||||||
paraList.add(customerId);
|
paraList.add(customerId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ public class OrderTempController extends BaseController {
|
||||||
String supermarketId = get("supermarketId");
|
String supermarketId = get("supermarketId");
|
||||||
String stm = get("stm");
|
String stm = get("stm");
|
||||||
String etm = get("etm");
|
String etm = get("etm");
|
||||||
OrderEndService.me.queryList(supermarketId,tm, customerId,stm,etm); // 通过接口更新
|
OrderEndService.me.queryList(tm, customerId,supermarketId,stm,etm); // 通过接口更新
|
||||||
renderJson();
|
renderJson();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue