![JAR search and dependency download from the Maven repository](/logo.png)
net.wicp.tams.cas.dao.SysOptgroupMapper Maven / Gradle / Ivy
package net.wicp.tams.cas.dao;
import java.util.List;
import net.wicp.tams.cas.bean.models.SysOptgroup;
import net.wicp.tams.cas.bean.models.SysOptgroupExample;
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 SysOptgroupMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
long countByExample(SysOptgroupExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
int deleteByExample(SysOptgroupExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
@Delete({ "delete from sys_optgroup", "where id = #{id,jdbcType=VARCHAR}" })
int deleteByPrimaryKey(String id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
@Insert({ "insert into sys_optgroup (id, remark, ", "parent_id, is_edit, ", "is_valid)",
"values (#{id,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, ",
"#{parentId,jdbcType=VARCHAR}, #{isEdit,jdbcType=VARCHAR}, ", "#{isValid,jdbcType=VARCHAR})" })
int insert(SysOptgroup record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
int insertSelective(SysOptgroup record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
List selectByExample(SysOptgroupExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
@Select({ "select", "id, remark, parent_id, is_edit, is_valid", "from sys_optgroup",
"where id = #{id,jdbcType=VARCHAR}" })
@ResultMap("net.wicp.tams.cas.dao.SysOptgroupMapper.BaseResultMap")
SysOptgroup selectByPrimaryKey(String id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
int updateByExampleSelective(@Param("record") SysOptgroup record, @Param("example") SysOptgroupExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
int updateByExample(@Param("record") SysOptgroup record, @Param("example") SysOptgroupExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
int updateByPrimaryKeySelective(SysOptgroup record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_optgroup
*
*/
@Update({ "update sys_optgroup", "set remark = #{remark,jdbcType=VARCHAR},",
"parent_id = #{parentId,jdbcType=VARCHAR},", "is_edit = #{isEdit,jdbcType=VARCHAR},",
"is_valid = #{isValid,jdbcType=VARCHAR}", "where id = #{id,jdbcType=VARCHAR}" })
int updateByPrimaryKey(SysOptgroup record);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy