Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibAcqFineMapper.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.LibAcqFineMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibAcqFine"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="BILLNO" jdbcType="VARCHAR" property="billno" /> <result column="BILLTYPE" jdbcType="CHAR" property="billtype" /> <result column="BOOKSELLER" jdbcType="VARCHAR" property="bookseller" /> <result column="CURRENCY" jdbcType="VARCHAR" property="currency" /> <result column="MONEY" jdbcType="DECIMAL" property="money" /> <result column="BIBCOUNT" jdbcType="DECIMAL" property="bibcount" /> <result column="HLDCOUNT" jdbcType="DECIMAL" property="hldcount" /> <result column="PAYWAY" jdbcType="VARCHAR" property="payway" /> <result column="OPERMAN" jdbcType="VARCHAR" property="operman" /> <result column="BILLDATE" jdbcType="DECIMAL" property="billdate" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, LIBCODE, BILLNO, BILLTYPE, BOOKSELLER, CURRENCY, MONEY, BIBCOUNT, HLDCOUNT, PAYWAY, OPERMAN, BILLDATE, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_FINE where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from LIB_ACQ_FINE where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibAcqFine"> insert into LIB_ACQ_FINE (ID, LIBCODE, BILLNO, BILLTYPE, BOOKSELLER, CURRENCY, MONEY, BIBCOUNT, HLDCOUNT, PAYWAY, OPERMAN, BILLDATE, NOTE) values (#{id,jdbcType=DECIMAL}, #{libcode,jdbcType=VARCHAR}, #{billno,jdbcType=VARCHAR}, #{billtype,jdbcType=CHAR}, #{bookseller,jdbcType=VARCHAR}, #{currency,jdbcType=VARCHAR}, #{money,jdbcType=DECIMAL}, #{bibcount,jdbcType=DECIMAL}, #{hldcount,jdbcType=DECIMAL}, #{payway,jdbcType=VARCHAR}, #{operman,jdbcType=VARCHAR}, #{billdate,jdbcType=DECIMAL}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibAcqFine"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select LIB_ACQ_FINE_SEQ.nextval a FROM dual </selectKey> insert into LIB_ACQ_FINE <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="libcode != null"> LIBCODE, </if> <if test="billno != null"> BILLNO, </if> <if test="billtype != null"> BILLTYPE, </if> <if test="bookseller != null"> BOOKSELLER, </if> <if test="currency != null"> CURRENCY, </if> <if test="money != null"> MONEY, </if> <if test="bibcount != null"> BIBCOUNT, </if> <if test="hldcount != null"> HLDCOUNT, </if> <if test="payway != null"> PAYWAY, </if> <if test="operman != null"> OPERMAN, </if> <if test="billdate != null"> BILLDATE, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="billno != null"> #{billno,jdbcType=VARCHAR}, </if> <if test="billtype != null"> #{billtype,jdbcType=CHAR}, </if> <if test="bookseller != null"> #{bookseller,jdbcType=VARCHAR}, </if> <if test="currency != null"> #{currency,jdbcType=VARCHAR}, </if> <if test="money != null"> #{money,jdbcType=DECIMAL}, </if> <if test="bibcount != null"> #{bibcount,jdbcType=DECIMAL}, </if> <if test="hldcount != null"> #{hldcount,jdbcType=DECIMAL}, </if> <if test="payway != null"> #{payway,jdbcType=VARCHAR}, </if> <if test="operman != null"> #{operman,jdbcType=VARCHAR}, </if> <if test="billdate != null"> #{billdate,jdbcType=DECIMAL}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibAcqFine"> update LIB_ACQ_FINE <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="billno != null"> BILLNO = #{billno,jdbcType=VARCHAR}, </if> <if test="billtype != null"> BILLTYPE = #{billtype,jdbcType=CHAR}, </if> <if test="bookseller != null"> BOOKSELLER = #{bookseller,jdbcType=VARCHAR}, </if> <if test="currency != null"> CURRENCY = #{currency,jdbcType=VARCHAR}, </if> <if test="money != null"> MONEY = #{money,jdbcType=DECIMAL}, </if> <if test="bibcount != null"> BIBCOUNT = #{bibcount,jdbcType=DECIMAL}, </if> <if test="hldcount != null"> HLDCOUNT = #{hldcount,jdbcType=DECIMAL}, </if> <if test="payway != null"> PAYWAY = #{payway,jdbcType=VARCHAR}, </if> <if test="operman != null"> OPERMAN = #{operman,jdbcType=VARCHAR}, </if> <if test="billdate != null"> BILLDATE = #{billdate,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.LibAcqFine"> update LIB_ACQ_FINE set LIBCODE = #{libcode,jdbcType=VARCHAR}, BILLNO = #{billno,jdbcType=VARCHAR}, BILLTYPE = #{billtype,jdbcType=CHAR}, BOOKSELLER = #{bookseller,jdbcType=VARCHAR}, CURRENCY = #{currency,jdbcType=VARCHAR}, MONEY = #{money,jdbcType=DECIMAL}, BIBCOUNT = #{bibcount,jdbcType=DECIMAL}, HLDCOUNT = #{hldcount,jdbcType=DECIMAL}, PAYWAY = #{payway,jdbcType=VARCHAR}, OPERMAN = #{operman,jdbcType=VARCHAR}, BILLDATE = #{billdate,jdbcType=DECIMAL}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibAcqFine" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_FINE where 1=1 <if test="billno != null"> and BILLNO = #{billno,jdbcType=VARCHAR} </if> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de