Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysBarcodeMapper.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.ParSysBarcodeMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysBarcode"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="TYPE" jdbcType="VARCHAR" property="type" /> <result column="ADDPREFIX" jdbcType="VARCHAR" property="addprefix" /> <result column="DELPREFIX" jdbcType="VARCHAR" property="delprefix" /> <result column="LENGTH" jdbcType="DECIMAL" property="length" /> <result column="CONVERSION" jdbcType="CHAR" property="conversion" /> <result column="VALIDLENGTH" jdbcType="DECIMAL" property="validlength" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, TYPE, ADDPREFIX, DELPREFIX, LENGTH,validlength, CONVERSION, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_BARCODE where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_BARCODE where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysBarcode"> insert into PAR_SYS_BARCODE (ID, TYPE, ADDPREFIX, DELPREFIX, LENGTH, CONVERSION, NOTE ) values (#{id,jdbcType=DECIMAL}, #{type,jdbcType=VARCHAR}, #{addprefix,jdbcType=VARCHAR}, #{delprefix,jdbcType=VARCHAR}, #{length,jdbcType=DECIMAL}, #{conversion,jdbcType=CHAR}, #{note,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysBarcode"> insert into PAR_SYS_BARCODE <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="type != null"> TYPE, </if> <if test="addprefix != null"> ADDPREFIX, </if> <if test="delprefix != null"> DELPREFIX, </if> <if test="length != null"> LENGTH, </if> <if test="validlength != null"> validlength, </if> <if test="conversion != null"> CONVERSION, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_SYS_BARCODE_SEQ.NEXTVAL, <if test="type != null"> #{type,jdbcType=VARCHAR}, </if> <if test="addprefix != null"> #{addprefix,jdbcType=VARCHAR}, </if> <if test="delprefix != null"> #{delprefix,jdbcType=VARCHAR}, </if> <if test="length != null"> #{length,jdbcType=DECIMAL}, </if> <if test="validlength != null"> #{validlength,jdbcType=DECIMAL}, </if> <if test="conversion != null"> #{conversion,jdbcType=CHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysBarcode"> update PAR_SYS_BARCODE <set> <if test="type != null"> TYPE = #{type,jdbcType=VARCHAR}, </if> <if test="addprefix != null"> ADDPREFIX = #{addprefix,jdbcType=VARCHAR}, </if> <if test="delprefix != null"> DELPREFIX = #{delprefix,jdbcType=VARCHAR}, </if> <if test="length != null"> LENGTH = #{length,jdbcType=DECIMAL}, </if> <if test="validlength != null"> validlength = #{validlength,jdbcType=DECIMAL}, </if> <if test="conversion != null"> CONVERSION = #{conversion,jdbcType=CHAR}, </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.ParSysBarcode"> update PAR_SYS_BARCODE set TYPE = #{type,jdbcType=VARCHAR}, ADDPREFIX = #{addprefix,jdbcType=VARCHAR}, DELPREFIX = #{delprefix,jdbcType=VARCHAR}, LENGTH = #{length,jdbcType=DECIMAL}, CONVERSION = #{conversion,jdbcType=CHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysBarcode" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_BARCODE where 1=1 <if test="type != null"> AND TYPE = #{type,jdbcType=VARCHAR} </if> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de