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
package cn.wisenergy.mapper;
import cn.wisenergy.model.app.ShopVersion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author 86187
*/
public interface ShopVersionMapper extends BaseMapper<ShopVersion> {
/**
* 添加
*
* @param shopVersion 版本信息
* @return 1
*/
int add(ShopVersion shopVersion);
/**
* 编辑
*
* @param shopVersion 版本信息
* @return 1
*/
int edit(ShopVersion shopVersion);
/**
* 根据类型获取版本信息
*
* @param type 1:ios 2:安卓
* @return
*/
ShopVersion getByType(@Param("type") Integer type);
List<ShopVersion> getList();
}