whyclxw
2025-06-05 1c74351afdec0db7e3afdb563d2fafd49f95631c
src/main/java/com/whyc/controller/StatisticController.java
@@ -13,6 +13,8 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
@RestController
@Api(tags = "统计管理")
@RequestMapping("statistic")
@@ -22,6 +24,7 @@
    @Autowired
    private BatttestdataInfService battTinfService;
    @Autowired
    private BattInfService battService;
@@ -60,7 +63,8 @@
    public Response getMonStatistic(@RequestBody MonStic stic){
        User uinf= ActionUtil.getUser();
        stic.setUid(uinf.getId());
        return battTinfService.getMonStatistic(stic);
        Map<String,Object> map= battTinfService.getMonStatistic(stic);
        return new Response().setII(1,true,map,"单节数量统计");
    }