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.SysTenant;
import net.wicp.tams.cas.bean.models.SysTenantExample;
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 SysTenantMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
long countByExample(SysTenantExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
int deleteByExample(SysTenantExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
@Delete({ "delete from sys_tenant", "where id = #{id,jdbcType=BIGINT}" })
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
@Insert({ "insert into sys_tenant (id, code, ", "name, create_name, ", "status, status_time, ", "operate_reason)",
"values (#{id,jdbcType=BIGINT}, #{code,jdbcType=VARCHAR}, ",
"#{name,jdbcType=VARCHAR}, #{createName,jdbcType=VARCHAR}, ",
"#{status,jdbcType=VARCHAR}, #{statusTime,jdbcType=TIMESTAMP}, ", "#{operateReason,jdbcType=VARCHAR})" })
int insert(SysTenant record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
int insertSelective(SysTenant record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
List selectByExample(SysTenantExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
@Select({ "select", "id, code, name, create_name, status, status_time, operate_reason", "from sys_tenant",
"where id = #{id,jdbcType=BIGINT}" })
@ResultMap("net.wicp.tams.cas.dao.SysTenantMapper.BaseResultMap")
SysTenant selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
int updateByExampleSelective(@Param("record") SysTenant record, @Param("example") SysTenantExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
int updateByExample(@Param("record") SysTenant record, @Param("example") SysTenantExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
int updateByPrimaryKeySelective(SysTenant record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_tenant
*
*/
@Update({ "update sys_tenant", "set code = #{code,jdbcType=VARCHAR},", "name = #{name,jdbcType=VARCHAR},",
"create_name = #{createName,jdbcType=VARCHAR},", "status = #{status,jdbcType=VARCHAR},",
"status_time = #{statusTime,jdbcType=TIMESTAMP},", "operate_reason = #{operateReason,jdbcType=VARCHAR}",
"where id = #{id,jdbcType=BIGINT}" })
int updateByPrimaryKey(SysTenant record);
}