Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibCirPeccancyMapper.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.LibCirPeccancyMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibCirPeccancy"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="RDRID" jdbcType="DECIMAL" property="rdrid" /> <result column="PECTYPE" jdbcType="CHAR" property="pectype" /> <result column="PECDATE" jdbcType="DECIMAL" property="pecdate" /> <result column="PECSTAMP" jdbcType="DECIMAL" property="pecstamp" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> <result column="BIBID" jdbcType="DECIMAL" property="bibid" /> <result column="HLDID" jdbcType="DECIMAL" property="hldid" /> </resultMap> <sql id="Base_Column_List"> ID, RDRID, PECTYPE, PECDATE, PECSTAMP, NOTE, BIBID, HLDID </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_PECCANCY where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from LIB_CIR_PECCANCY where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibCirPeccancy"> insert into LIB_CIR_PECCANCY (ID, RDRID, PECTYPE, PECDATE, PECSTAMP, NOTE, BIBID, HLDID) values (#{id,jdbcType=DECIMAL}, #{rdrid,jdbcType=DECIMAL}, #{pectype,jdbcType=CHAR}, #{pecdate,jdbcType=DECIMAL}, #{pecstamp,jdbcType=DECIMAL}, #{note,jdbcType=VARCHAR}, #{bibid,jdbcType=DECIMAL}, #{hldid,jdbcType=DECIMAL}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibCirPeccancy"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select LIB_CIR_PECCANCY_SEQ.nextval a FROM dual </selectKey> insert into LIB_CIR_PECCANCY <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="rdrid != null"> RDRID, </if> <if test="pectype != null"> PECTYPE, </if> <if test="pecdate != null"> PECDATE, </if> <if test="pecstamp != null"> PECSTAMP, </if> <if test="note != null"> NOTE, </if> <if test="bibid != null"> BIBID, </if> <if test="hldid != null"> HLDID, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="rdrid != null"> #{rdrid,jdbcType=DECIMAL}, </if> <if test="pectype != null"> #{pectype,jdbcType=CHAR}, </if> <if test="pecdate != null"> #{pecdate,jdbcType=DECIMAL}, </if> <if test="pecstamp != null"> #{pecstamp,jdbcType=DECIMAL}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> <if test="bibid != null"> #{bibid,jdbcType=DECIMAL}, </if> <if test="hldid != null"> #{hldid,jdbcType=DECIMAL}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibCirPeccancy"> update LIB_CIR_PECCANCY <set> <if test="rdrid != null"> RDRID = #{rdrid,jdbcType=DECIMAL}, </if> <if test="pectype != null"> PECTYPE = #{pectype,jdbcType=CHAR}, </if> <if test="pecdate != null"> PECDATE = #{pecdate,jdbcType=DECIMAL}, </if> <if test="pecstamp != null"> PECSTAMP = #{pecstamp,jdbcType=DECIMAL}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> <if test="bibid != null"> BIBID = #{bibid,jdbcType=DECIMAL}, </if> <if test="hldid != null"> HLDID = #{hldid,jdbcType=DECIMAL}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.LibCirPeccancy"> update LIB_CIR_PECCANCY set RDRID = #{rdrid,jdbcType=DECIMAL}, PECTYPE = #{pectype,jdbcType=CHAR}, PECDATE = #{pecdate,jdbcType=DECIMAL}, PECSTAMP = #{pecstamp,jdbcType=DECIMAL}, NOTE = #{note,jdbcType=VARCHAR}, BIBID = #{bibid,jdbcType=DECIMAL}, HLDID = #{hldid,jdbcType=DECIMAL} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibCirPeccancy" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_PECCANCY where 1=1 <if test="rdrid != null"> and rdrid = #{rdrid,jdbcType=DECIMAL} </if> </select> <select id="listWithCondition" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_PECCANCY where 1=1 <include refid="common.condition"/> </select> <select id="listUnionCondition" resultType="java.util.Map"> select LIB_CIR_PECCANCY.id as "id", rdrid as "rdrid",PECTYPE as "pectype", PECDATE as "pecdate", PECSTAMP as "pecstamp", bibid as "bibid", title as "title",author as "author",isbn as "isbn",publish as "publish", publishaddress as "publishaddress", publishdate as "publishdate", price as "price" from LIB_CIR_PECCANCY left join lib_bibliography on LIB_CIR_PECCANCY.bibid=lib_bibliography.id where 1=1 <include refid="common.condition" /> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de