Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParCirSpecialMapper.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.ParCirSpecialMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParCirSpecial"> <id column="CODE" jdbcType="VARCHAR" property="code" /> <result column="SPETYPE" jdbcType="CHAR" property="spetype" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="RDRTYPE" jdbcType="VARCHAR" property="rdrtype" /> <result column="LOCCODE" jdbcType="VARCHAR" property="loccode" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> </resultMap> <sql id="Base_Column_List"> CODE, SPETYPE, LIBCODE, NAME, RDRTYPE, LOCCODE, PARAMJSON </sql> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CIR_SPECIAL where CODE = #{code,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> delete from PAR_CIR_SPECIAL where CODE = #{code,jdbcType=VARCHAR} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParCirSpecial"> insert into PAR_CIR_SPECIAL (CODE, SPETYPE, LIBCODE, NAME, RDRTYPE, LOCCODE, PARAMJSON) values (#{code,jdbcType=VARCHAR}, #{spetype,jdbcType=CHAR}, #{libcode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{rdrtype,jdbcType=VARCHAR}, #{loccode,jdbcType=VARCHAR}, #{paramjson,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParCirSpecial"> insert into PAR_CIR_SPECIAL <trim prefix="(" suffix=")" suffixOverrides=","> <if test="code != null"> CODE, </if> <if test="spetype != null"> SPETYPE, </if> <if test="libcode != null"> LIBCODE, </if> <if test="name != null"> NAME, </if> <if test="rdrtype != null"> RDRTYPE, </if> <if test="loccode != null"> LOCCODE, </if> <if test="paramjson != null"> PARAMJSON, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="code != null"> #{code,jdbcType=VARCHAR}, </if> <if test="spetype != null"> #{spetype,jdbcType=CHAR}, </if> <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="rdrtype != null"> #{rdrtype,jdbcType=VARCHAR}, </if> <if test="loccode != null"> #{loccode,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParCirSpecial"> update PAR_CIR_SPECIAL <set> <if test="spetype != null"> SPETYPE = #{spetype,jdbcType=CHAR}, </if> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="rdrtype != null"> RDRTYPE = #{rdrtype,jdbcType=VARCHAR}, </if> <if test="loccode != null"> LOCCODE = #{loccode,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,jdbcType=VARCHAR}, </if> </set> where CODE = #{code,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParCirSpecial"> update PAR_CIR_SPECIAL set SPETYPE = #{spetype,jdbcType=CHAR}, LIBCODE = #{libcode,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, RDRTYPE = #{rdrtype,jdbcType=VARCHAR}, LOCCODE = #{loccode,jdbcType=VARCHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR} where CODE = #{code,jdbcType=VARCHAR} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParCirSpecial" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CIR_SPECIAL where 1=1 <if test="code != null"> and code = #{code,jdbcType=VARCHAR} </if> <if test="libcode != null"> and libcode = #{libcode,jdbcType=VARCHAR} </if> <if test="spetype != null"> and spetype = #{spetype,jdbcType=VARCHAR} </if> <if test="name != null"> and name = #{name,jdbcType=VARCHAR} </if> </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CIR_SPECIAL where 1=1 <include refid="common.condition"></include> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de