13693261870
2025-07-08 5fe2a582e57d9ce35dbfb32c6e1c2227f35268f6
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
37
38
39
40
41
42
43
package com.terra.system.mapper.sys;
 
import com.terra.system.entity.sys.ResEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.ResponseBody;
 
import java.util.List;
 
/**
 * 资源表
 * @author sws
 * @date 2022-09-28
 */
@Mapper
@ResponseBody
@SuppressWarnings("ALL")
public interface ResMapper {
    public Integer selectCount(String name, Integer status, Integer category, Integer type, Integer data);
 
    public List<ResEntity> selectByPage(String name, Integer status, Integer category, Integer type, Integer data, Integer limit, Integer offset);
 
    public List<ResEntity> selectAll();
 
    public ResEntity selectById(int id);
 
    public ResEntity selectByPubid(Integer pubid);
 
    public Integer selectCountForRole(Integer roleid);
 
    public List<ResEntity> selectByPageForRole(Integer roleid, Integer limit, Integer offset);
 
    public Integer insert(ResEntity entity);
 
    public Integer inserts(List<ResEntity> list);
 
    public Integer delete(int id);
 
    public Integer deletes(String ids);
 
    public Integer update(ResEntity entity);
 
    public Integer updates(List<ResEntity> list);
}