package com.ruoyi.errand.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ruoyi.common.core.domain.R;
|
import com.ruoyi.errand.domain.Community;
|
import com.ruoyi.errand.object.dto.sys.AddCommunityDTO;
|
import com.ruoyi.errand.object.dto.sys.CommunityPageListDTO;
|
import com.ruoyi.errand.object.dto.sys.EditCommunityDTO;
|
import com.ruoyi.errand.object.vo.app.CommunityListVO;
|
import com.ruoyi.errand.object.vo.sys.AllCommunityListVO;
|
import com.ruoyi.errand.object.vo.sys.CommunityPageListVO;
|
import com.ruoyi.errand.object.vo.sys.CommunitySysDetailVO;
|
|
import javax.validation.Valid;
|
import java.util.List;
|
|
public interface CommunityService extends IService<Community> {
|
R<List<CommunityListVO>> getCommunity(Integer communityId);
|
|
R<List<CommunityListVO>> getTotalCommunityList();
|
|
List<AllCommunityListVO> getAllCommunityList();
|
|
IPage<CommunityPageListVO> getCommunityPageList( CommunityPageListDTO communityPageListDTO);
|
|
void add( AddCommunityDTO addCommunityDTO);
|
|
void edit( EditCommunityDTO editCommunityDTO);
|
|
void delete(Integer id);
|
|
void froze(Integer id);
|
|
CommunitySysDetailVO detail(Integer id);
|
}
|