| | |
| | | import com.boying.service.StatisticService; |
| | | import com.boying.service.StreetLogoService; |
| | | import com.boying.service.TicketBlackService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.data.domain.PageRequest; |
| | |
| | | @RestController |
| | | @RequestMapping("statistic") |
| | | @RequiredArgsConstructor |
| | | @Tag(description = "statistic" , name = "大屏统计接口" ) |
| | | public class StatisticController{ |
| | | |
| | | private final StatisticService statisticService; |
| | |
| | | |
| | | //指挥页面数据 |
| | | @PostMapping("/getData1") |
| | | @Operation(summary = "查询所有泊车统计" , description = "查询所有泊车统计" ) |
| | | public Object card1() { |
| | | List<Statistic> all = statisticService.list(); |
| | | if(all.size() >0){ |
| | |
| | | } |
| | | |
| | | @PostMapping("/getBlackRecord") |
| | | @Operation(summary = "查询所有违法统计" , description = "查询所有违法统计" ) |
| | | public Object getList1(Page page) { |
| | | QueryWrapper<TicketBlack> wrapper = new QueryWrapper<>(); |
| | | wrapper.lambda() |
| | |
| | | } |
| | | |
| | | @PostMapping("/getLogo") |
| | | @Operation(summary = "查询所有街道违章统计" , description = "查询所有街道违章统计" ) |
| | | public Object getLogo() { |
| | | return R.ok(streetLogoService.list()); |
| | | } |