Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParAcqRateMapper.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.ParAcqRateMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParAcqRate"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="ORIGINALNCY" jdbcType="VARCHAR" property="originalncy" /> <result column="CONVERSIONNCY" jdbcType="VARCHAR" property="conversionncy" /> <result column="RATE" jdbcType="DECIMAL" property="rate" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, ORIGINALNCY, CONVERSIONNCY, RATE, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_ACQ_RATE where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_ACQ_RATE where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParAcqRate"> insert into PAR_ACQ_RATE (ID, ORIGINALNCY, CONVERSIONNCY, RATE, NOTE) values (#{id,jdbcType=DECIMAL}, #{originalncy,jdbcType=VARCHAR}, #{conversionncy,jdbcType=VARCHAR}, #{rate,jdbcType=DECIMAL}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParAcqRate"> insert into PAR_ACQ_RATE <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="originalncy != null"> ORIGINALNCY, </if> <if test="conversionncy != null"> CONVERSIONNCY, </if> <if test="rate != null"> RATE, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_ACQ_RATE_SEQ.NEXTVAL, <if test="originalncy != null"> #{originalncy,jdbcType=VARCHAR}, </if> <if test="conversionncy != null"> #{conversionncy,jdbcType=VARCHAR}, </if> <if test="rate != null"> #{rate,jdbcType=DECIMAL}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParAcqRate"> update PAR_ACQ_RATE <set> <if test="originalncy != null"> ORIGINALNCY = #{originalncy,jdbcType=VARCHAR}, </if> <if test="conversionncy != null"> CONVERSIONNCY = #{conversionncy,jdbcType=VARCHAR}, </if> <if test="rate != null"> RATE = #{rate,jdbcType=DECIMAL}, </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.ParAcqRate"> update PAR_ACQ_RATE set ORIGINALNCY = #{originalncy,jdbcType=VARCHAR}, CONVERSIONNCY = #{conversionncy,jdbcType=VARCHAR}, RATE = #{rate,jdbcType=DECIMAL}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParAcqRate" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_ACQ_RATE where 1=1 </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de