COrderMapper.java 1.1 KB
Newer Older
M
megagao 已提交
1 2 3
package org.hqu.production_ms.mapper;

import java.util.List;
M
megagao 已提交
4

M
megagao 已提交
5
import org.apache.ibatis.annotations.Param;
M
megagao 已提交
6
import org.hqu.production_ms.domain.COrder;
M
megagao 已提交
7
import org.hqu.production_ms.domain.COrderExample;
M
megagao 已提交
8
import org.hqu.production_ms.domain.po.COrderPO;
M
megagao 已提交
9 10

public interface COrderMapper {
11 12 13 14
	
	//扩展的mapper接口方法
	List<COrder> find(COrder cOrder);
	
M
megagao 已提交
15 16 17 18
	int deleteBatch(String[] ids);
	
	int changeStatus(String[] ids);
	
19
	//自动生成的mapper接口方法
M
megagao 已提交
20
    int countByExample(COrderExample example);
M
megagao 已提交
21

M
megagao 已提交
22
    int deleteByExample(COrderExample example);
M
megagao 已提交
23

M
megagao 已提交
24 25
    int deleteByPrimaryKey(String orderId);

M
megagao 已提交
26
    int insert(COrderPO record);
M
megagao 已提交
27

M
megagao 已提交
28
    int insertSelective(COrderPO record);
M
megagao 已提交
29 30

    List<COrder> selectByExample(COrderExample example);
M
megagao 已提交
31 32 33

    COrder selectByPrimaryKey(String orderId);

M
megagao 已提交
34 35 36 37
    int updateByExampleSelective(@Param("record") COrder record, @Param("example") COrderExample example);

    int updateByExample(@Param("record") COrder record, @Param("example") COrderExample example);

M
megagao 已提交
38
    int updateByPrimaryKeySelective(COrderPO record);
M
megagao 已提交
39

M
megagao 已提交
40
    int updateByPrimaryKey(COrderPO cOrder);
M
megagao 已提交
41
}