com.jeesuite.mybatis.plugin.cache.name.Mapper3CacheMethodDefine Maven / Gradle / Ivy
/**
*
*/
package com.jeesuite.mybatis.plugin.cache.name;
import com.jeesuite.mybatis.plugin.cache.CacheMethodDefine;
/**
* Mapper3 框架方法定义
* @description
* @author vakin
* @date 2016年9月16日
*/
public class Mapper3CacheMethodDefine implements CacheMethodDefine {
@Override
public String selectName() {
return "selectByPrimaryKey";
}
@Override
public String insertName() {
return "insert,insertSelective";
}
@Override
public String updateName() {
return "updateByPrimaryKey,updateByPrimaryKeySelective";
}
@Override
public String deleteName() {
return "deleteByPrimaryKey";
}
@Override
public String selectAllName() {
return "selectAll";
}
}