huliguo
2 天以前 5d7b65670282a4fad015e37d567cfa171b162052
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
}