|
|
@ -10,7 +10,9 @@ import com.epmet.commons.tools.utils.DateUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.epmet.modules.partyOrg.service.YiFengPartyOrgService; |
|
|
|
import com.epmet.modules.partymember.service.IcPartyPlaceService; |
|
|
|
import com.epmet.modules.partymember.service.YiFengScreenService; |
|
|
|
import com.epmet.resi.partymember.dto.IcPartyPlaceDTO; |
|
|
|
import com.epmet.resi.partymember.dto.icpartyact.form.IcPartyActPageFormDTO; |
|
|
|
import com.epmet.resi.partymember.dto.icpartyact.result.IcPartyActDetailResDTO; |
|
|
|
import com.epmet.resi.partymember.dto.icpartyact.result.IcPartyActPageResultDTO; |
|
|
@ -24,6 +26,7 @@ import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("yifengScreen") |
|
|
@ -36,6 +39,34 @@ public class YiFengScreenController { |
|
|
|
@Autowired |
|
|
|
private YiFengPartyOrgService yiFengPartyOrgService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private IcPartyPlaceService icPartyPlaceService; |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description: 移风党建列表 |
|
|
|
* @param params: |
|
|
|
* @Return com.epmet.commons.tools.utils.Result<com.epmet.commons.tools.page.PageData < com.epmet.resi.partymember.dto.IcPartyPlaceDTO>> |
|
|
|
* @Author: lichao |
|
|
|
* @Date: 2024/3/5 14:50 |
|
|
|
*/ |
|
|
|
@GetMapping("partyPlacePage") |
|
|
|
public Result<PageData<IcPartyPlaceDTO>> page(@RequestParam Map<String, Object> params){ |
|
|
|
PageData<IcPartyPlaceDTO> page = icPartyPlaceService.page(params); |
|
|
|
return new Result<PageData<IcPartyPlaceDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description: 移风党建详情 |
|
|
|
* @param id: |
|
|
|
* @Return com.epmet.commons.tools.utils.Result<com.epmet.resi.partymember.dto.IcPartyPlaceDTO> |
|
|
|
* @Author: lichao |
|
|
|
* @Date: 2024/3/5 15:10 |
|
|
|
*/ |
|
|
|
@GetMapping("partyPlace/{id}") |
|
|
|
public Result<IcPartyPlaceDTO> get(@PathVariable("id") String id){ |
|
|
|
IcPartyPlaceDTO data = icPartyPlaceService.get(id); |
|
|
|
return new Result<IcPartyPlaceDTO>().ok(data); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description: 移风大屏-党员活动列表 |
|
|
|