Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParCirDelayMapper.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.ParCirDelayMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParCirDelay"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="TYPE" jdbcType="CHAR" property="type" /> <result column="DELAY" jdbcType="VARCHAR" property="delay" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, LIBCODE, TYPE, DELAY, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CIR_DELAY where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_CIR_DELAY where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParCirDelay"> insert into PAR_CIR_DELAY (ID, LIBCODE, TYPE, DELAY, NOTE) values (#{id,jdbcType=DECIMAL}, #{libcode,jdbcType=VARCHAR}, #{type,jdbcType=CHAR}, #{delay,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParCirDelay"> insert into PAR_CIR_DELAY <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="libcode != null"> LIBCODE, </if> <if test="type != null"> TYPE, </if> <if test="delay != null"> DELAY, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_CIR_DELAY_SEQ.nextval, <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="type != null"> #{type,jdbcType=CHAR}, </if> <if test="delay != null"> #{delay,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParCirDelay"> update PAR_CIR_DELAY <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="type != null"> TYPE = #{type,jdbcType=CHAR}, </if> <if test="delay != null"> DELAY = #{delay,jdbcType=VARCHAR}, </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.ParCirDelay"> update PAR_CIR_DELAY set LIBCODE = #{libcode,jdbcType=VARCHAR}, TYPE = #{type,jdbcType=CHAR}, DELAY = #{delay,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParCirDelay" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CIR_DELAY where 1=1 </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CIR_DELAY 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