Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\EbZySeriesItemMapper.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.EbZySeriesItemMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.EbZySeriesItem"> <id column="ITEMID" jdbcType="DECIMAL" property="itemid" /> <result column="MAGAZINEID" jdbcType="DECIMAL" property="magazineid" /> <result column="ITEMNAME" jdbcType="VARCHAR" property="itemname" /> <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" /> <result column="VOLUME" jdbcType="VARCHAR" property="volume" /> <result column="COVERIMAGE" jdbcType="VARCHAR" property="coverimage" /> <result column="CYCLENAME" jdbcType="VARCHAR" property="cyclename" /> </resultMap> <sql id="Base_Column_List"> ITEMID, MAGAZINEID, ITEMNAME, DESCRIPTION, VOLUME, COVERIMAGE, CYCLENAME </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from EB_ZY_SERIES_ITEM where ITEMID = #{itemid,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from EB_ZY_SERIES_ITEM where ITEMID = #{itemid,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.EbZySeriesItem"> insert into EB_ZY_SERIES_ITEM (ITEMID, MAGAZINEID, ITEMNAME, DESCRIPTION, VOLUME, COVERIMAGE, CYCLENAME) values (#{itemid,jdbcType=DECIMAL}, #{magazineid,jdbcType=DECIMAL}, #{itemname,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{volume,jdbcType=VARCHAR}, #{coverimage,jdbcType=VARCHAR}, #{cyclename,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.EbZySeriesItem"> insert into EB_ZY_SERIES_ITEM <trim prefix="(" suffix=")" suffixOverrides=","> <if test="itemid != null"> ITEMID, </if> <if test="magazineid != null"> MAGAZINEID, </if> <if test="itemname != null"> ITEMNAME, </if> <if test="description != null"> DESCRIPTION, </if> <if test="volume != null"> VOLUME, </if> <if test="coverimage != null"> COVERIMAGE, </if> <if test="cyclename != null"> CYCLENAME, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="itemid != null"> #{itemid,jdbcType=DECIMAL}, </if> <if test="magazineid != null"> #{magazineid,jdbcType=DECIMAL}, </if> <if test="itemname != null"> #{itemname,jdbcType=VARCHAR}, </if> <if test="description != null"> #{description,jdbcType=VARCHAR}, </if> <if test="volume != null"> #{volume,jdbcType=VARCHAR}, </if> <if test="coverimage != null"> #{coverimage,jdbcType=VARCHAR}, </if> <if test="cyclename != null"> #{cyclename,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.EbZySeriesItem"> update EB_ZY_SERIES_ITEM <set> <if test="magazineid != null"> MAGAZINEID = #{magazineid,jdbcType=DECIMAL}, </if> <if test="itemname != null"> ITEMNAME = #{itemname,jdbcType=VARCHAR}, </if> <if test="description != null"> DESCRIPTION = #{description,jdbcType=VARCHAR}, </if> <if test="volume != null"> VOLUME = #{volume,jdbcType=VARCHAR}, </if> <if test="coverimage != null"> COVERIMAGE = #{coverimage,jdbcType=VARCHAR}, </if> <if test="cyclename != null"> CYCLENAME = #{cyclename,jdbcType=VARCHAR}, </if> </set> where ITEMID = #{itemid,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.EbZySeriesItem"> update EB_ZY_SERIES_ITEM set MAGAZINEID = #{magazineid,jdbcType=DECIMAL}, ITEMNAME = #{itemname,jdbcType=VARCHAR}, DESCRIPTION = #{description,jdbcType=VARCHAR}, VOLUME = #{volume,jdbcType=VARCHAR}, COVERIMAGE = #{coverimage,jdbcType=VARCHAR}, CYCLENAME = #{cyclename,jdbcType=VARCHAR} where ITEMID = #{itemid,jdbcType=DECIMAL} </update> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from EB_ZY_SERIES_ITEM 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