Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParCatPinyincodeMapper.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.ParCatPinyincodeMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParCatPinyincode"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="CODE" jdbcType="VARCHAR" property="code" /> <result column="PINYIN" jdbcType="VARCHAR" property="pinyin" /> <result column="PYRANGE" jdbcType="VARCHAR" property="pyrange" /> <result column="PYCODE" jdbcType="DECIMAL" property="pycode" /> <result column="FFCODE" jdbcType="DECIMAL" property="ffcode" /> </resultMap> <sql id="Base_Column_List"> ID, CODE, PINYIN, PYRANGE, PYCODE, FFCODE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_PINYINCODE where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_CAT_PINYINCODE where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParCatPinyincode"> insert into PAR_CAT_PINYINCODE (ID, CODE, PINYIN, PYRANGE, PYCODE, FFCODE ) values (#{id,jdbcType=DECIMAL}, #{code,jdbcType=VARCHAR}, #{pinyin,jdbcType=VARCHAR}, #{pyrange,jdbcType=VARCHAR}, #{pycode,jdbcType=DECIMAL}, #{ffcode,jdbcType=DECIMAL} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParCatPinyincode"> insert into PAR_CAT_PINYINCODE <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="code != null"> CODE, </if> <if test="pinyin != null"> PINYIN, </if> <if test="pyrange != null"> PYRANGE, </if> <if test="pycode != null"> PYCODE, </if> <if test="ffcode != null"> FFCODE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="code != null"> #{code,jdbcType=VARCHAR}, </if> <if test="pinyin != null"> #{pinyin,jdbcType=VARCHAR}, </if> <if test="pyrange != null"> #{pyrange,jdbcType=VARCHAR}, </if> <if test="pycode != null"> #{pycode,jdbcType=DECIMAL}, </if> <if test="ffcode != null"> #{ffcode,jdbcType=DECIMAL}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParCatPinyincode"> update PAR_CAT_PINYINCODE <set> <if test="code != null"> CODE = #{code,jdbcType=VARCHAR}, </if> <if test="pinyin != null"> PINYIN = #{pinyin,jdbcType=VARCHAR}, </if> <if test="pyrange != null"> PYRANGE = #{pyrange,jdbcType=VARCHAR}, </if> <if test="pycode != null"> PYCODE = #{pycode,jdbcType=DECIMAL}, </if> <if test="ffcode != null"> FFCODE = #{ffcode,jdbcType=DECIMAL}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParCatPinyincode"> update PAR_CAT_PINYINCODE set CODE = #{code,jdbcType=VARCHAR}, PINYIN = #{pinyin,jdbcType=VARCHAR}, PYRANGE = #{pyrange,jdbcType=VARCHAR}, PYCODE = #{pycode,jdbcType=DECIMAL}, FFCODE = #{ffcode,jdbcType=DECIMAL} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParCatPinyincode" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_PINYINCODE where 1=1 <if test="code != null"> and code = #{code,jdbcType=VARCHAR} </if> <if test="pinyin != null"> and pinyin = #{pinyin,jdbcType=VARCHAR} </if> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de