分析页统计:总数统计接口移除请求入参

This commit is contained in:
gaoqr
2024-08-12 09:20:07 +08:00
parent 4ce3b17212
commit 91f90daf82
3 changed files with 20 additions and 20 deletions
@@ -31,32 +31,32 @@ public class OrderStatisticsController {
@GetMapping("/total")
@Operation(summary = "生产单总数")
public CommonResult<Integer> getOrderCount(OrderStatisticsReqVO reqVO) {
return success(orderStatisticsService.orderCount(reqVO));
public CommonResult<Integer> getOrderCount() {
return success(orderStatisticsService.orderCount());
}
@GetMapping("/today/increase")
@Operation(summary = "今日新增生产单总数")
public CommonResult<Integer> getOrderCountToday(OrderStatisticsReqVO reqVO) {
return success(orderStatisticsService.orderCountToday(reqVO));
public CommonResult<Integer> getOrderCountToday() {
return success(orderStatisticsService.orderCountToday());
}
@GetMapping("/today/finish")
@Operation(summary = "今日生产单完成总数")
public CommonResult<Integer> getOrderCountTodayFinish(OrderStatisticsReqVO reqVO) {
return success(orderStatisticsService.orderCountTodayFinish(reqVO));
public CommonResult<Integer> getOrderCountTodayFinish() {
return success(orderStatisticsService.orderCountTodayFinish());
}
@GetMapping("/producing/total")
@Operation(summary = "生产中生产单总数")
public CommonResult<Integer> getOrderCountProduce(OrderStatisticsReqVO reqVO) {
return success(orderStatisticsService.orderCountProduce(reqVO));
public CommonResult<Integer> getOrderCountProduce() {
return success(orderStatisticsService.orderCountProduce());
}
@GetMapping("/producing/square")
@Operation(summary = "生产中生产平方数")
public CommonResult<Integer> getOrderSquareProduce(OrderStatisticsReqVO reqVO) {
return success(orderStatisticsService.orderSquareProduce(reqVO));
public CommonResult<Integer> getOrderSquareProduce() {
return success(orderStatisticsService.orderSquareProduce());
}
@GetMapping("/orderStatus/group")
@@ -14,27 +14,27 @@ public interface OrderStatisticsService {
/**
* 生产单总数统计
*/
Integer orderCount(OrderStatisticsReqVO reqVO);
Integer orderCount();
/**
* 今日新增生产单总数统计
*/
Integer orderCountToday(OrderStatisticsReqVO reqVO);
Integer orderCountToday();
/**
* 今日生产单完成总数
*/
Integer orderCountTodayFinish(OrderStatisticsReqVO reqVO);
Integer orderCountTodayFinish();
/**
* 今日生产单完成总数
*/
Integer orderCountProduce(OrderStatisticsReqVO reqVO);
Integer orderCountProduce();
/**
* 今日生产单完成总数
*/
Integer orderSquareProduce(OrderStatisticsReqVO reqVO);
Integer orderSquareProduce();
/**
* 生产单状态分组统计
@@ -52,27 +52,27 @@ public class OrderStatisticsServiceImpl implements OrderStatisticsService {
private static final String SERIES_FIELD_NAME = "series";
@Override
public Integer orderCount(OrderStatisticsReqVO reqVO) {
public Integer orderCount() {
return orderStatisticsMapper.selectOrderCount();
}
@Override
public Integer orderCountToday(OrderStatisticsReqVO reqVO) {
public Integer orderCountToday() {
return orderStatisticsMapper.selectOrderCountToday();
}
@Override
public Integer orderCountTodayFinish(OrderStatisticsReqVO reqVO) {
public Integer orderCountTodayFinish() {
return orderStatisticsMapper.selectOrderCountTodayFinish();
}
@Override
public Integer orderCountProduce(OrderStatisticsReqVO reqVO) {
public Integer orderCountProduce() {
return orderStatisticsMapper.selectOrderCountProduce();
}
@Override
public Integer orderSquareProduce(OrderStatisticsReqVO reqVO) {
public Integer orderSquareProduce() {
return orderStatisticsMapper.selectOrderSquareProduce();
}