|
|
@ -27,6 +27,7 @@ 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.ScreenEventClassCensusDTO; |
|
|
|
import com.elink.esua.epdc.dto.result.ScreenLabelValueDTO; |
|
|
|
import com.elink.esua.epdc.excel.ScreenEventClassCensusExcel; |
|
|
|
import com.elink.esua.epdc.service.ScreenEventClassCensusService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -51,6 +52,12 @@ public class ScreenEventClassCensusController { |
|
|
|
private ScreenEventClassCensusService screenEventClassCensusService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("census") |
|
|
|
public Result<List<ScreenLabelValueDTO>> census(@RequestParam Map<String, Object> params){ |
|
|
|
List<ScreenLabelValueDTO> list = screenEventClassCensusService.census(params); |
|
|
|
return new Result<List<ScreenLabelValueDTO>>().ok(list); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("list") |
|
|
|
public Result<List<ScreenEventClassCensusDTO>> list(@RequestParam Map<String, Object> params){ |
|
|
|
List<ScreenEventClassCensusDTO> list = screenEventClassCensusService.list(params); |
|
|
|