Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibFormatDesignMapper.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.LibFormatDesignMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibFormatDesign"> <id column="KEYCODE" jdbcType="VARCHAR" property="keycode" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="OPERID" jdbcType="DECIMAL" property="operid" /> <result column="CODE" jdbcType="VARCHAR" property="code" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> </resultMap> <sql id="Base_Column_List"> KEYCODE, LIBCODE, OPERID, CODE, NAME, PARAMJSON </sql> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_FORMAT_DESIGN where KEYCODE = #{keycode,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> delete from LIB_FORMAT_DESIGN where KEYCODE = #{keycode,jdbcType=VARCHAR} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibFormatDesign"> insert into LIB_FORMAT_DESIGN (KEYCODE, LIBCODE, OPERID, CODE, NAME, PARAMJSON ) values (#{keycode,jdbcType=VARCHAR}, #{libcode,jdbcType=VARCHAR}, #{operid,jdbcType=DECIMAL}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{paramjson,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibFormatDesign"> insert into LIB_FORMAT_DESIGN <trim prefix="(" suffix=")" suffixOverrides=","> <if test="keycode != null"> KEYCODE, </if> <if test="libcode != null"> LIBCODE, </if> <if test="operid != null"> OPERID, </if> <if test="code != null"> CODE, </if> <if test="name != null"> NAME, </if> <if test="paramjson != null"> PARAMJSON, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="keycode != null"> #{keycode,jdbcType=VARCHAR}, </if> <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="operid != null"> #{operid,jdbcType=DECIMAL}, </if> <if test="code != null"> #{code,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibFormatDesign"> update LIB_FORMAT_DESIGN <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="operid != null"> OPERID = #{operid,jdbcType=DECIMAL}, </if> <if test="code != null"> CODE = #{code,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,jdbcType=VARCHAR}, </if> </set> where KEYCODE = #{keycode,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.LibFormatDesign"> update LIB_FORMAT_DESIGN set LIBCODE = #{libcode,jdbcType=VARCHAR}, OPERID = #{operid,jdbcType=DECIMAL}, CODE = #{code,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR} where KEYCODE = #{keycode,jdbcType=VARCHAR} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibFormatDesign" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_FORMAT_DESIGN where 1=1 <if test="keycode != null"> and keycode=#{keycode,jdbcType=VARCHAR}, </if> <if test="libcode != null"> and libcode=#{libcode,jdbcType=VARCHAR}, </if> <if test="operid != null"> and operid=#{operid,jdbcType=DECIMAL}, </if> <if test="code != null"> and code=#{code,jdbcType=VARCHAR} </if> </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_FORMAT_DESIGN 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