Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibAcqBooksellerMapper.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.LibAcqBooksellerMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibAcqBookseller"> <id column="CODE" jdbcType="VARCHAR" property="code" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="LINKMAN" jdbcType="VARCHAR" property="linkman" /> <result column="ADDRESS" jdbcType="VARCHAR" property="address" /> <result column="TEL1" jdbcType="VARCHAR" property="tel1" /> <result column="TEL2" jdbcType="VARCHAR" property="tel2" /> <result column="EMAIL" jdbcType="VARCHAR" property="email" /> <result column="ACCOUNT" jdbcType="VARCHAR" property="account" /> <result column="BANK" jdbcType="VARCHAR" property="bank" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> CODE, LIBCODE, NAME, LINKMAN, ADDRESS, TEL1, TEL2, EMAIL, ACCOUNT, BANK, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_BOOKSELLER where CODE = #{code,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> delete from LIB_ACQ_BOOKSELLER where CODE = #{code,jdbcType=VARCHAR} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibAcqBookseller"> insert into LIB_ACQ_BOOKSELLER (CODE, LIBCODE, NAME, LINKMAN, ADDRESS, TEL1, TEL2, EMAIL, ACCOUNT, BANK, NOTE) values (#{code,jdbcType=VARCHAR}, #{libcode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{linkman,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{tel1,jdbcType=VARCHAR}, #{tel2,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{account,jdbcType=VARCHAR}, #{bank,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibAcqBookseller"> insert into LIB_ACQ_BOOKSELLER <trim prefix="(" suffix=")" suffixOverrides=","> <if test="code != null"> CODE, </if> <if test="libcode != null"> LIBCODE, </if> <if test="name != null"> NAME, </if> <if test="linkman != null"> LINKMAN, </if> <if test="address != null"> ADDRESS, </if> <if test="tel1 != null"> TEL1, </if> <if test="tel2 != null"> TEL2, </if> <if test="email != null"> EMAIL, </if> <if test="account != null"> ACCOUNT, </if> <if test="bank != null"> BANK, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="code != null"> #{code,jdbcType=VARCHAR}, </if> <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="linkman != null"> #{linkman,jdbcType=VARCHAR}, </if> <if test="address != null"> #{address,jdbcType=VARCHAR}, </if> <if test="tel1 != null"> #{tel1,jdbcType=VARCHAR}, </if> <if test="tel2 != null"> #{tel2,jdbcType=VARCHAR}, </if> <if test="email != null"> #{email,jdbcType=VARCHAR}, </if> <if test="account != null"> #{account,jdbcType=VARCHAR}, </if> <if test="bank != null"> #{bank,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibAcqBookseller"> update LIB_ACQ_BOOKSELLER <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="linkman != null"> LINKMAN = #{linkman,jdbcType=VARCHAR}, </if> <if test="address != null"> ADDRESS = #{address,jdbcType=VARCHAR}, </if> <if test="tel1 != null"> TEL1 = #{tel1,jdbcType=VARCHAR}, </if> <if test="tel2 != null"> TEL2 = #{tel2,jdbcType=VARCHAR}, </if> <if test="email != null"> EMAIL = #{email,jdbcType=VARCHAR}, </if> <if test="account != null"> ACCOUNT = #{account,jdbcType=VARCHAR}, </if> <if test="bank != null"> BANK = #{bank,jdbcType=VARCHAR}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> </set> where CODE = #{code,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.LibAcqBookseller"> update LIB_ACQ_BOOKSELLER set LIBCODE = #{libcode,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, LINKMAN = #{linkman,jdbcType=VARCHAR}, ADDRESS = #{address,jdbcType=VARCHAR}, TEL1 = #{tel1,jdbcType=VARCHAR}, TEL2 = #{tel2,jdbcType=VARCHAR}, EMAIL = #{email,jdbcType=VARCHAR}, ACCOUNT = #{account,jdbcType=VARCHAR}, BANK = #{bank,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where CODE = #{code,jdbcType=VARCHAR} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibAcqBookseller" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_ACQ_BOOKSELLER 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_BOOKSELLER 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