Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysAuthoritygroupMapper.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.jishen.libsystem.dao.ParSysAuthoritygroupMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysAuthoritygroup"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="FUNAUTHORITY" jdbcType="VARCHAR" property="funauthority" /> <result column="SYSAUTHORITY" jdbcType="VARCHAR" property="sysauthority" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, NAME, FUNAUTHORITY, SYSAUTHORITY, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_AUTHORITYGROUP where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_AUTHORITYGROUP where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysAuthoritygroup"> insert into PAR_SYS_AUTHORITYGROUP (ID, NAME, FUNAUTHORITY, SYSAUTHORITY, NOTE) values (#{id,jdbcType=DECIMAL}, #{name,jdbcType=VARCHAR}, #{funauthority,jdbcType=VARCHAR}, #{sysauthority,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysAuthoritygroup"> insert into PAR_SYS_AUTHORITYGROUP <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="name != null"> NAME, </if> <if test="funauthority != null"> FUNAUTHORITY, </if> <if test="sysauthority != null"> SYSAUTHORITY, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_SYS_AUTHORITYGROUP_SEQ.NEXTVAL, <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="funauthority != null"> #{funauthority,jdbcType=VARCHAR}, </if> <if test="sysauthority != null"> #{sysauthority,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysAuthoritygroup"> update PAR_SYS_AUTHORITYGROUP <set> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="funauthority != null"> FUNAUTHORITY = #{funauthority,jdbcType=VARCHAR}, </if> <if test="sysauthority != null"> SYSAUTHORITY = #{sysauthority,jdbcType=VARCHAR}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParSysAuthoritygroup"> update PAR_SYS_AUTHORITYGROUP set NAME = #{name,jdbcType=VARCHAR}, FUNAUTHORITY = #{funauthority,jdbcType=VARCHAR}, SYSAUTHORITY = #{sysauthority,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysAuthoritygroup" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_AUTHORITYGROUP where 1=1 </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de