Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.wicp.tams.cas.dao;
import java.util.List;
import net.wicp.tams.cas.bean.models.SysGlobal;
import net.wicp.tams.cas.bean.models.SysGlobalExample;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
public interface SysGlobalMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
long countByExample(SysGlobalExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
int deleteByExample(SysGlobalExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
@Delete({ "delete from sys_global", "where id = #{id,jdbcType=BIGINT}" })
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
@Insert({ "insert into sys_global (id, config_globle, ", "last_username, last_updatetime)",
"values (#{id,jdbcType=BIGINT}, #{configGloble,jdbcType=VARCHAR}, ",
"#{lastUsername,jdbcType=VARCHAR}, #{lastUpdatetime,jdbcType=TIMESTAMP})" })
int insert(SysGlobal record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
int insertSelective(SysGlobal record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
List selectByExample(SysGlobalExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
@Select({ "select", "id, config_globle, last_username, last_updatetime", "from sys_global",
"where id = #{id,jdbcType=BIGINT}" })
@ResultMap("net.wicp.tams.cas.dao.SysGlobalMapper.BaseResultMap")
SysGlobal selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
int updateByExampleSelective(@Param("record") SysGlobal record, @Param("example") SysGlobalExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
int updateByExample(@Param("record") SysGlobal record, @Param("example") SysGlobalExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
int updateByPrimaryKeySelective(SysGlobal record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_global
*
*/
@Update({ "update sys_global", "set config_globle = #{configGloble,jdbcType=VARCHAR},",
"last_username = #{lastUsername,jdbcType=VARCHAR},",
"last_updatetime = #{lastUpdatetime,jdbcType=TIMESTAMP}", "where id = #{id,jdbcType=BIGINT}" })
int updateByPrimaryKey(SysGlobal record);
}