| | |
| | | return success(resList); |
| | | } |
| | | |
| | | // ============[ 数据统计 - 2024-03-06]============ |
| | | //============[数据统计 - 2024-03-06]================== |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "数据统计(按大类统计)") |
| | | @GetMapping("/countByMajor") |
| | |
| | | return fail(ex.getMessage()); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询计算数据") |
| | | @GetMapping("/selectCalcData") |
| | | public ResponseMsg<Object> selectCalcData(){ |
| | | try { |
| | | String rs = oneMapService.calcData(); |
| | | |
| | | return success(rs); |
| | | }catch (Exception ex){ |
| | | log.error(ex.getMessage(), ex); |
| | | return fail(ex.getMessage()); |
| | | } |
| | | } |
| | | } |