| | |
| | | |
| | | import com.flightfeather.monitor.domain.ds1.entity.RiskValue; |
| | | import com.flightfeather.monitor.pojo.Result; |
| | | import com.flightfeather.monitor.pojo.RiskValuePojo; |
| | | import com.flightfeather.monitor.service.RiskValueService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | */ |
| | | @GetMapping("/month") |
| | | public Result queryRiskDataByMonth( |
| | | @RequestParam String mnCode, |
| | | @RequestParam(required = false) String mnCode, |
| | | @RequestParam String month, |
| | | @RequestParam String type |
| | | ) { |
| | | List<RiskValue> list = riskValueService.queryRiskDataByMonth(mnCode, month, type); |
| | | List<RiskValuePojo> list = riskValueService.queryRiskDataByMonth(mnCode, month, type); |
| | | return Result.success(list); |
| | | } |
| | | } |