SmartProductMapper.java
1.47 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
package com.glsx.smart.mapper;
import java.util.List;
import com.glsx.smart.entity.SmartProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
@Mapper
public interface SmartProductMapper extends tk.mybatis.mapper.common.Mapper<SmartProduct> {
//long countByExample(SmartProductExample example);
//
//int deleteByExample(SmartProductExample example);
//
//int deleteByPrimaryKey(Long id);
//
//@Override
//int insert(SmartProduct record);
int insertOrUpdate(SmartProduct record);
int insertOrUpdateSelective(SmartProduct record);
//@Override
//int insertSelective(SmartProduct record);
//
//List<SmartProduct> selectByExample(SmartProductExample example);
//
//SmartProduct selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProduct record,
// @Param("example") SmartProductExample example);
//
//int updateByExample(@Param("record") SmartProduct record,
// @Param("example") SmartProductExample example);
//
//@Override
//int updateByPrimaryKeySelective(SmartProduct record);
//
//@Override
//int updateByPrimaryKey(SmartProduct record);
int updateBatch(List<SmartProduct> list);
int updateBatchSelective(List<SmartProduct> list);
int batchInsert(@Param("list") List<SmartProduct> list);
}