onemanager-java/src/main/java/com/dnslin/onemanager/mapper/OnedriveconfigMapper.java
dnslin bb20aa672c 1.启动类增加mapper扫描bean注解
2.增加mapper类bean注解
2021-10-31 18:25:12 +08:00

33 lines
1.0 KiB
Java

package com.dnslin.onemanager.mapper;
import com.dnslin.onemanager.pojo.Onedriveconfig;
import com.dnslin.onemanager.pojo.OnedriveconfigExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface OnedriveconfigMapper {
int countByExample(OnedriveconfigExample example);
int deleteByExample(OnedriveconfigExample example);
int deleteByPrimaryKey(Integer id);
int insert(Onedriveconfig record);
int insertSelective(Onedriveconfig record);
List<Onedriveconfig> selectByExample(OnedriveconfigExample example);
Onedriveconfig selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Onedriveconfig record, @Param("example") OnedriveconfigExample example);
int updateByExample(@Param("record") Onedriveconfig record, @Param("example") OnedriveconfigExample example);
int updateByPrimaryKeySelective(Onedriveconfig record);
int updateByPrimaryKey(Onedriveconfig record);
}