|
|
@ -25,6 +25,7 @@ import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup; |
|
|
|
import com.elink.esua.epdc.dto.ScreenCommunityHeadDTO; |
|
|
|
import com.elink.esua.epdc.dto.ScreenEventReportDTO; |
|
|
|
import com.elink.esua.epdc.excel.ScreenEventReportExcel; |
|
|
|
import com.elink.esua.epdc.service.ScreenEventReportService; |
|
|
@ -45,10 +46,17 @@ import java.util.Map; |
|
|
|
@RestController |
|
|
|
@RequestMapping("eventReport") |
|
|
|
public class ScreenEventReportController { |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
private ScreenEventReportService screenEventReportService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("list") |
|
|
|
public Result<List<ScreenEventReportDTO>> list(@RequestParam Map<String, Object> params){ |
|
|
|
List<ScreenEventReportDTO> list = screenEventReportService.list(params); |
|
|
|
return new Result<List<ScreenEventReportDTO>>().ok(list); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("page") |
|
|
|
public Result<PageData<ScreenEventReportDTO>> page(@RequestParam Map<String, Object> params){ |
|
|
|
PageData<ScreenEventReportDTO> page = screenEventReportService.page(params); |
|
|
|