|
|
@ -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.ScreenVolunteerLoveHoursDTO; |
|
|
|
import com.elink.esua.epdc.excel.ScreenVolunteerLoveHoursExcel; |
|
|
|
import com.elink.esua.epdc.service.ScreenVolunteerLoveHoursService; |
|
|
@ -49,6 +50,14 @@ public class ScreenVolunteerLoveHoursController { |
|
|
|
@Autowired |
|
|
|
private ScreenVolunteerLoveHoursService screenVolunteerLoveHoursService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("list") |
|
|
|
public Result<List<ScreenVolunteerLoveHoursDTO>> list(@RequestParam Map<String, Object> params){ |
|
|
|
List<ScreenVolunteerLoveHoursDTO> list = screenVolunteerLoveHoursService.list(params); |
|
|
|
return new Result<List<ScreenVolunteerLoveHoursDTO>>().ok(list); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("page") |
|
|
|
public Result<PageData<ScreenVolunteerLoveHoursDTO>> page(@RequestParam Map<String, Object> params){ |
|
|
|
PageData<ScreenVolunteerLoveHoursDTO> page = screenVolunteerLoveHoursService.page(params); |
|
|
|