Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibAcqBookcaseMapper.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.LibAcqBookcaseMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibAcqBookcase"> <id column="SERNO" jdbcType="VARCHAR" property="serno" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="ARSTATUS" jdbcType="CHAR" property="arstatus" /> <result column="TITLE" jdbcType="VARCHAR" property="title" /> <result column="AUTHOR" jdbcType="VARCHAR" property="author" /> <result column="PUBLISH" jdbcType="VARCHAR" property="publish" /> <result column="PUBLISHADDRESS" jdbcType="VARCHAR" property="publishaddress" /> <result column="PUBLISHDATE" jdbcType="VARCHAR" property="publishdate" /> <result column="PRICE" jdbcType="VARCHAR" property="price" /> <result column="CLASSNO" jdbcType="VARCHAR" property="classno" /> <result column="ISBN" jdbcType="VARCHAR" property="isbn" /> <result column="SUBJECT" jdbcType="VARCHAR" property="subject" /> <result column="BIBSIZE" jdbcType="VARCHAR" property="bibsize" /> <result column="LANGUAGE" jdbcType="VARCHAR" property="language" /> <result column="PAGE" jdbcType="VARCHAR" property="page" /> <result column="ORDERNO" jdbcType="VARCHAR" property="orderno" /> <result column="UNIFIEDNO" jdbcType="VARCHAR" property="unifiedno" /> <result column="ATTACHMENT" jdbcType="VARCHAR" property="attachment" /> <result column="LINKID" jdbcType="DECIMAL" property="linkid" /> <result column="ORDERID" jdbcType="DECIMAL" property="orderid" /> <result column="ACCOUNT" jdbcType="VARCHAR" property="account" /> </resultMap> <sql id="Base_Column_List"> SERNO, LIBCODE, ARSTATUS, TITLE, AUTHOR, PUBLISH, PUBLISHADDRESS, PUBLISHDATE, PRICE, CLASSNO, ISBN, SUBJECT, BIBSIZE, LANGUAGE, PAGE, ORDERNO, UNIFIEDNO, ATTACHMENT, LINKID, ORDERID, ACCOUNT </sql> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_BOOKCASE where SERNO = #{serno,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> delete from LIB_ACQ_BOOKCASE where SERNO = #{serno,jdbcType=VARCHAR} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibAcqBookcase"> insert into LIB_ACQ_BOOKCASE (SERNO, LIBCODE, ARSTATUS, TITLE, AUTHOR, PUBLISH, PUBLISHADDRESS, PUBLISHDATE, PRICE, CLASSNO, ISBN, SUBJECT, BIBSIZE, LANGUAGE, PAGE, ORDERNO, UNIFIEDNO, ATTACHMENT, LINKID, ORDERID, ACCOUNT ) values (#{serno,jdbcType=VARCHAR}, #{libcode,jdbcType=VARCHAR}, #{arstatus,jdbcType=CHAR}, #{title,jdbcType=VARCHAR}, #{author,jdbcType=VARCHAR}, #{publish,jdbcType=VARCHAR}, #{publishaddress,jdbcType=VARCHAR}, #{publishdate,jdbcType=VARCHAR}, #{price,jdbcType=VARCHAR}, #{classno,jdbcType=VARCHAR}, #{isbn,jdbcType=VARCHAR}, #{subject,jdbcType=VARCHAR}, #{bibsize,jdbcType=VARCHAR}, #{language,jdbcType=VARCHAR}, #{page,jdbcType=VARCHAR}, #{orderno,jdbcType=VARCHAR}, #{unifiedno,jdbcType=VARCHAR}, #{attachment,jdbcType=VARCHAR}, #{linkid,jdbcType=DECIMAL}, #{orderid,jdbcType=DECIMAL}, #{account,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibAcqBookcase"> insert into LIB_ACQ_BOOKCASE <trim prefix="(" suffix=")" suffixOverrides=","> <if test="serno != null"> SERNO, </if> <if test="libcode != null"> LIBCODE, </if> <if test="arstatus != null"> ARSTATUS, </if> <if test="title != null"> TITLE, </if> <if test="author != null"> AUTHOR, </if> <if test="publish != null"> PUBLISH, </if> <if test="publishaddress != null"> PUBLISHADDRESS, </if> <if test="publishdate != null"> PUBLISHDATE, </if> <if test="price != null"> PRICE, </if> <if test="classno != null"> CLASSNO, </if> <if test="isbn != null"> ISBN, </if> <if test="subject != null"> SUBJECT, </if> <if test="bibsize != null"> BIBSIZE, </if> <if test="language != null"> LANGUAGE, </if> <if test="page != null"> PAGE, </if> <if test="orderno != null"> ORDERNO, </if> <if test="unifiedno != null"> UNIFIEDNO, </if> <if test="attachment != null"> ATTACHMENT, </if> <if test="linkid != null"> LINKID, </if> <if test="orderid != null"> ORDERID, </if> <if test="account != null"> ACCOUNT, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="serno != null"> #{serno,jdbcType=VARCHAR}, </if> <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="arstatus != null"> #{arstatus,jdbcType=CHAR}, </if> <if test="title != null"> #{title,jdbcType=VARCHAR}, </if> <if test="author != null"> #{author,jdbcType=VARCHAR}, </if> <if test="publish != null"> #{publish,jdbcType=VARCHAR}, </if> <if test="publishaddress != null"> #{publishaddress,jdbcType=VARCHAR}, </if> <if test="publishdate != null"> #{publishdate,jdbcType=VARCHAR}, </if> <if test="price != null"> #{price,jdbcType=VARCHAR}, </if> <if test="classno != null"> #{classno,jdbcType=VARCHAR}, </if> <if test="isbn != null"> #{isbn,jdbcType=VARCHAR}, </if> <if test="subject != null"> #{subject,jdbcType=VARCHAR}, </if> <if test="bibsize != null"> #{bibsize,jdbcType=VARCHAR}, </if> <if test="language != null"> #{language,jdbcType=VARCHAR}, </if> <if test="page != null"> #{page,jdbcType=VARCHAR}, </if> <if test="orderno != null"> #{orderno,jdbcType=VARCHAR}, </if> <if test="unifiedno != null"> #{unifiedno,jdbcType=VARCHAR}, </if> <if test="attachment != null"> #{attachment,jdbcType=VARCHAR}, </if> <if test="linkid != null"> #{linkid,jdbcType=DECIMAL}, </if> <if test="orderid != null"> #{orderid,jdbcType=DECIMAL}, </if> <if test="account != null"> #{account,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibAcqBookcase"> update LIB_ACQ_BOOKCASE <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="arstatus != null"> ARSTATUS = #{arstatus,jdbcType=CHAR}, </if> <if test="title != null"> TITLE = #{title,jdbcType=VARCHAR}, </if> <if test="author != null"> AUTHOR = #{author,jdbcType=VARCHAR}, </if> <if test="publish != null"> PUBLISH = #{publish,jdbcType=VARCHAR}, </if> <if test="publishaddress != null"> PUBLISHADDRESS = #{publishaddress,jdbcType=VARCHAR}, </if> <if test="publishdate != null"> PUBLISHDATE = #{publishdate,jdbcType=VARCHAR}, </if> <if test="price != null"> PRICE = #{price,jdbcType=VARCHAR}, </if> <if test="classno != null"> CLASSNO = #{classno,jdbcType=VARCHAR}, </if> <if test="isbn != null"> ISBN = #{isbn,jdbcType=VARCHAR}, </if> <if test="subject != null"> SUBJECT = #{subject,jdbcType=VARCHAR}, </if> <if test="bibsize != null"> BIBSIZE = #{bibsize,jdbcType=VARCHAR}, </if> <if test="language != null"> LANGUAGE = #{language,jdbcType=VARCHAR}, </if> <if test="page != null"> PAGE = #{page,jdbcType=VARCHAR}, </if> <if test="orderno != null"> ORDERNO = #{orderno,jdbcType=VARCHAR}, </if> <if test="unifiedno != null"> UNIFIEDNO = #{unifiedno,jdbcType=VARCHAR}, </if> <if test="attachment != null"> ATTACHMENT = #{attachment,jdbcType=VARCHAR}, </if> <if test="linkid != null"> LINKID = #{linkid,jdbcType=DECIMAL}, </if> <if test="orderid != null"> ORDERID = #{orderid,jdbcType=DECIMAL}, </if> <if test="account != null"> ACCOUNT = #{account,jdbcType=VARCHAR}, </if> </set> where SERNO = #{serno,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.LibAcqBookcase"> update LIB_ACQ_BOOKCASE set LIBCODE = #{libcode,jdbcType=VARCHAR}, ARSTATUS = #{arstatus,jdbcType=CHAR}, TITLE = #{title,jdbcType=VARCHAR}, AUTHOR = #{author,jdbcType=VARCHAR}, PUBLISH = #{publish,jdbcType=VARCHAR}, PUBLISHADDRESS = #{publishaddress,jdbcType=VARCHAR}, PUBLISHDATE = #{publishdate,jdbcType=VARCHAR}, PRICE = #{price,jdbcType=VARCHAR}, CLASSNO = #{classno,jdbcType=VARCHAR}, ISBN = #{isbn,jdbcType=VARCHAR}, SUBJECT = #{subject,jdbcType=VARCHAR}, BIBSIZE = #{bibsize,jdbcType=VARCHAR}, LANGUAGE = #{language,jdbcType=VARCHAR}, PAGE = #{page,jdbcType=VARCHAR}, ORDERNO = #{orderno,jdbcType=VARCHAR}, UNIFIEDNO = #{unifiedno,jdbcType=VARCHAR}, ATTACHMENT = #{attachment,jdbcType=VARCHAR}, LINKID = #{linkid,jdbcType=DECIMAL}, ORDERID = #{orderid,jdbcType=DECIMAL}, ACCOUNT = #{account,jdbcType=VARCHAR} where SERNO = #{serno,jdbcType=VARCHAR} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibAcqBookcase" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_BOOKCASE where 1=1 <if test="libcode != null"> and LIBCODE = #{libcode,jdbcType=VARCHAR} </if> </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_BOOKCASE 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