You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
software18/DingdanMapper.java

48 lines
1.6 KiB

3 months ago
package com.dao;
import com.entity.Dingdan;
import com.entity.DingdanExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @ClassName DingdanMapper
* @Description
*/
public interface DingdanMapper {
//根据条件获取订单表dingdan的数据数量
int countByExample(DingdanExample example);
//根据条件删除订单表dingdan的数据
int deleteByExample(DingdanExample example);
//根据主键ID列删除订单表dingdan的数据
int deleteByPrimaryKey(Integer id);
//插入订单表dingdan的实体数据包含null值
int insert(Dingdan record);
//插入订单表dingdan的实体数据不包含null值
int insertSelective(Dingdan record);
//根据条件获取订单表dingdan的数据列表
List<Dingdan> selectByExample(DingdanExample example);
//根据主键ID列获取订单表dingdan的数据实体
Dingdan selectByPrimaryKey(Integer id);
//根据条件更新订单表dingdan的实体数据不包含null值
int updateByExampleSelective(@Param("record") Dingdan record, @Param("example") DingdanExample example);
//根据条件更新订单表dingdan的实体数据包含null值
int updateByExample(@Param("record") Dingdan record, @Param("example") DingdanExample example);
//根据主键ID列更新订单表dingdan的实体数据不包含null值
int updateByPrimaryKeySelective(Dingdan record);
//根据主键ID列更新订单表dingdan的实体数据包含null值
int updateByPrimaryKey(Dingdan record);
}