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);
	
M
megagao 已提交
19 20
	int updateNote(COrderPO cOrder);
	
21
	//自动生成的mapper接口方法
M
megagao 已提交
22
    int countByExample(COrderExample example);
M
megagao 已提交
23

M
megagao 已提交
24
    int deleteByExample(COrderExample example);
M
megagao 已提交
25

M
megagao 已提交
26 27
    int deleteByPrimaryKey(String orderId);

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

M
megagao 已提交
30
    int insertSelective(COrderPO record);
M
megagao 已提交
31 32

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

    COrder selectByPrimaryKey(String orderId);

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

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

M
megagao 已提交
40
    int updateByPrimaryKeySelective(COrderPO record);
M
megagao 已提交
41

M
megagao 已提交
42
    int updateByPrimaryKey(COrderPO cOrder);
M
megagao 已提交
43
}