Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysLibraryMapper.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.ParSysLibraryMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysLibrary"> <id column="CODE" jdbcType="VARCHAR" property="code" /> <result column="PARENTCODE" jdbcType="VARCHAR" property="parentcode" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="LIBLEVEL" jdbcType="CHAR" property="liblevel" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> <result column="COMPLETECODE" jdbcType="VARCHAR" property="completecode" /> <result column="SORTFLD" jdbcType="DECIMAL" property="sortfld" /> </resultMap> <sql id="Base_Column_List"> CODE, PARENTCODE, NAME, LIBLEVEL, NOTE, PARAMJSON, COMPLETECODE, SORTFLD </sql> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_LIBRARY where CODE = #{code,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> delete from PAR_SYS_LIBRARY where CODE = #{code,jdbcType=VARCHAR} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysLibrary"> insert into PAR_SYS_LIBRARY (CODE, PARENTCODE, NAME, LIBLEVEL, NOTE, PARAMJSON, COMPLETECODE, SORTFLD) values (#{code,jdbcType=VARCHAR}, #{parentcode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{liblevel,jdbcType=CHAR}, #{note,jdbcType=VARCHAR}, #{paramjson,jdbcType=VARCHAR}, #{completecode,jdbcType=VARCHAR}, #{sortfld,jdbcType=DECIMAL}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysLibrary"> insert into PAR_SYS_LIBRARY <trim prefix="(" suffix=")" suffixOverrides=","> <if test="code != null"> CODE, </if> <if test="parentcode != null"> PARENTCODE, </if> <if test="name != null"> NAME, </if> <if test="liblevel != null"> LIBLEVEL, </if> <if test="note != null"> NOTE, </if> <if test="paramjson != null"> PARAMJSON, </if> <if test="completecode != null"> COMPLETECODE, </if> <if test="sortfld != null"> SORTFLD, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="code != null"> #{code,jdbcType=VARCHAR}, </if> <if test="parentcode != null"> #{parentcode,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="liblevel != null"> #{liblevel,jdbcType=CHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> <if test="completecode != null"> #{completecode,jdbcType=VARCHAR}, </if> <if test="sortfld != null"> #{sortfld,jdbcType=DECIMAL}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysLibrary"> update PAR_SYS_LIBRARY <set> <if test="parentcode != null"> PARENTCODE = #{parentcode,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="liblevel != null"> LIBLEVEL = #{liblevel,jdbcType=CHAR}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,jdbcType=VARCHAR}, </if> <if test="completecode != null"> COMPLETECODE = #{completecode,jdbcType=VARCHAR}, </if> <if test="sortfld != null"> SORTFLD = #{sortfld,jdbcType=DECIMAL}, </if> </set> where CODE = #{code,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParSysLibrary"> update PAR_SYS_LIBRARY set PARENTCODE = #{parentcode,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, LIBLEVEL = #{liblevel,jdbcType=CHAR}, NOTE = #{note,jdbcType=VARCHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR}, COMPLETECODE = #{completecode,jdbcType=VARCHAR}, SORTFLD = #{sortfld,jdbcType=DECIMAL} where CODE = #{code,jdbcType=VARCHAR} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysLibrary" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_LIBRARY where 1=1 <if test="parentcode != null"> and PARENTCODE = #{parentcode,jdbcType=VARCHAR} </if> <if test="name != null"> and NAME = #{name,jdbcType=VARCHAR} </if> <if test="liblevel != null"> and LIBLEVEL = #{liblevel,jdbcType=CHAR} </if> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de