Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\EbZySeriesMapper.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.EbZySeriesMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.EbZySeries"> <id column="MAGAZINEID" jdbcType="DECIMAL" property="magazineid" /> <result column="MAGAZINENAME" jdbcType="VARCHAR" property="magazinename" /> <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" /> <result column="PUBNAME" jdbcType="VARCHAR" property="pubname" /> <result column="GOVEMENT" jdbcType="VARCHAR" property="govement" /> <result column="SPONSOR" jdbcType="VARCHAR" property="sponsor" /> <result column="ISSN" jdbcType="VARCHAR" property="issn" /> <result column="CN" jdbcType="VARCHAR" property="cn" /> <result column="POSTSN" jdbcType="VARCHAR" property="postsn" /> <result column="CYCLENAME" jdbcType="VARCHAR" property="cyclename" /> <result column="CLASSNAME" jdbcType="VARCHAR" property="classname" /> <result column="CLASSNO" jdbcType="VARCHAR" property="classno" /> </resultMap> <sql id="Base_Column_List"> MAGAZINEID, MAGAZINENAME, DESCRIPTION, PUBNAME, GOVEMENT, SPONSOR, ISSN, CN, POSTSN, CYCLENAME, CLASSNAME, CLASSNO </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from EB_ZY_SERIES where MAGAZINEID = #{magazineid,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from EB_ZY_SERIES where MAGAZINEID = #{magazineid,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.EbZySeries"> insert into EB_ZY_SERIES (MAGAZINEID, MAGAZINENAME, DESCRIPTION, PUBNAME, GOVEMENT, SPONSOR, ISSN, CN, POSTSN, CYCLENAME, CLASSNAME, CLASSNO) values (#{magazineid,jdbcType=DECIMAL}, #{magazinename,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{pubname,jdbcType=VARCHAR}, #{govement,jdbcType=VARCHAR}, #{sponsor,jdbcType=VARCHAR}, #{issn,jdbcType=VARCHAR}, #{cn,jdbcType=VARCHAR}, #{postsn,jdbcType=VARCHAR}, #{cyclename,jdbcType=VARCHAR}, #{classname,jdbcType=VARCHAR}, #{classno,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.EbZySeries"> insert into EB_ZY_SERIES <trim prefix="(" suffix=")" suffixOverrides=","> <if test="magazineid != null"> MAGAZINEID, </if> <if test="magazinename != null"> MAGAZINENAME, </if> <if test="description != null"> DESCRIPTION, </if> <if test="pubname != null"> PUBNAME, </if> <if test="govement != null"> GOVEMENT, </if> <if test="sponsor != null"> SPONSOR, </if> <if test="issn != null"> ISSN, </if> <if test="cn != null"> CN, </if> <if test="postsn != null"> POSTSN, </if> <if test="cyclename != null"> CYCLENAME, </if> <if test="classname != null"> CLASSNAME, </if> <if test="classno != null"> CLASSNO, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="magazineid != null"> #{magazineid,jdbcType=DECIMAL}, </if> <if test="magazinename != null"> #{magazinename,jdbcType=VARCHAR}, </if> <if test="description != null"> #{description,jdbcType=VARCHAR}, </if> <if test="pubname != null"> #{pubname,jdbcType=VARCHAR}, </if> <if test="govement != null"> #{govement,jdbcType=VARCHAR}, </if> <if test="sponsor != null"> #{sponsor,jdbcType=VARCHAR}, </if> <if test="issn != null"> #{issn,jdbcType=VARCHAR}, </if> <if test="cn != null"> #{cn,jdbcType=VARCHAR}, </if> <if test="postsn != null"> #{postsn,jdbcType=VARCHAR}, </if> <if test="cyclename != null"> #{cyclename,jdbcType=VARCHAR}, </if> <if test="classname != null"> #{classname,jdbcType=VARCHAR}, </if> <if test="classno != null"> #{classno,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.EbZySeries"> update EB_ZY_SERIES <set> <if test="magazinename != null"> MAGAZINENAME = #{magazinename,jdbcType=VARCHAR}, </if> <if test="description != null"> DESCRIPTION = #{description,jdbcType=VARCHAR}, </if> <if test="pubname != null"> PUBNAME = #{pubname,jdbcType=VARCHAR}, </if> <if test="govement != null"> GOVEMENT = #{govement,jdbcType=VARCHAR}, </if> <if test="sponsor != null"> SPONSOR = #{sponsor,jdbcType=VARCHAR}, </if> <if test="issn != null"> ISSN = #{issn,jdbcType=VARCHAR}, </if> <if test="cn != null"> CN = #{cn,jdbcType=VARCHAR}, </if> <if test="postsn != null"> POSTSN = #{postsn,jdbcType=VARCHAR}, </if> <if test="cyclename != null"> CYCLENAME = #{cyclename,jdbcType=VARCHAR}, </if> <if test="classname != null"> CLASSNAME = #{classname,jdbcType=VARCHAR}, </if> <if test="classno != null"> CLASSNO = #{classno,jdbcType=VARCHAR}, </if> </set> where MAGAZINEID = #{magazineid,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.EbZySeries"> update EB_ZY_SERIES set MAGAZINENAME = #{magazinename,jdbcType=VARCHAR}, DESCRIPTION = #{description,jdbcType=VARCHAR}, PUBNAME = #{pubname,jdbcType=VARCHAR}, GOVEMENT = #{govement,jdbcType=VARCHAR}, SPONSOR = #{sponsor,jdbcType=VARCHAR}, ISSN = #{issn,jdbcType=VARCHAR}, CN = #{cn,jdbcType=VARCHAR}, POSTSN = #{postsn,jdbcType=VARCHAR}, CYCLENAME = #{cyclename,jdbcType=VARCHAR}, CLASSNAME = #{classname,jdbcType=VARCHAR}, CLASSNO = #{classno,jdbcType=VARCHAR} where MAGAZINEID = #{magazineid,jdbcType=DECIMAL} </update> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from EB_ZY_SERIES 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