Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParCatZ3950Mapper.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.ParCatZ3950Mapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParCatZ3950"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="HOST" jdbcType="VARCHAR" property="host" /> <result column="PORT" jdbcType="DECIMAL" property="port" /> <result column="DATABASE" jdbcType="VARCHAR" property="database" /> <result column="VALIDATEWAY" jdbcType="CHAR" property="validateway" /> <result column="ACCOUNT" jdbcType="VARCHAR" property="account" /> <result column="PASSWORD" jdbcType="VARCHAR" property="password" /> <result column="CHARSET" jdbcType="VARCHAR" property="charset" /> <result column="DELFIELD" jdbcType="VARCHAR" property="delfield" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, LIBCODE, NAME, HOST, PORT, DATABASE, VALIDATEWAY, ACCOUNT, PASSWORD, CHARSET, DELFIELD, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_Z3950 where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_CAT_Z3950 where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParCatZ3950"> insert into PAR_CAT_Z3950 (ID, LIBCODE, NAME, HOST, PORT, DATABASE, VALIDATEWAY, ACCOUNT, PASSWORD, CHARSET, DELFIELD, NOTE ) values (#{id,jdbcType=DECIMAL}, #{libcode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{host,jdbcType=VARCHAR}, #{port,jdbcType=DECIMAL}, #{database,jdbcType=VARCHAR}, #{validateway,jdbcType=CHAR}, #{account,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{charset,jdbcType=VARCHAR}, #{delfield,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParCatZ3950"> insert into PAR_CAT_Z3950 <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="libcode != null"> LIBCODE, </if> <if test="name != null"> NAME, </if> <if test="host != null"> HOST, </if> <if test="port != null"> PORT, </if> <if test="database != null"> DATABASE, </if> <if test="validateway != null"> VALIDATEWAY, </if> <if test="account != null"> ACCOUNT, </if> <if test="password != null"> PASSWORD, </if> <if test="charset != null"> CHARSET, </if> <if test="delfield != null"> DELFIELD, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_CAT_Z3950_SEQ.NEXTVAL, <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="host != null"> #{host,jdbcType=VARCHAR}, </if> <if test="port != null"> #{port,jdbcType=DECIMAL}, </if> <if test="database != null"> #{database,jdbcType=VARCHAR}, </if> <if test="validateway != null"> #{validateway,jdbcType=CHAR}, </if> <if test="account != null"> #{account,jdbcType=VARCHAR}, </if> <if test="password != null"> #{password,jdbcType=VARCHAR}, </if> <if test="charset != null"> #{charset,jdbcType=VARCHAR}, </if> <if test="delfield != null"> #{delfield,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParCatZ3950"> update PAR_CAT_Z3950 <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="host != null"> HOST = #{host,jdbcType=VARCHAR}, </if> <if test="port != null"> PORT = #{port,jdbcType=DECIMAL}, </if> <if test="database != null"> DATABASE = #{database,jdbcType=VARCHAR}, </if> <if test="validateway != null"> VALIDATEWAY = #{validateway,jdbcType=CHAR}, </if> <if test="account != null"> ACCOUNT = #{account,jdbcType=VARCHAR}, </if> <if test="password != null"> PASSWORD = #{password,jdbcType=VARCHAR}, </if> <if test="charset != null"> CHARSET = #{charset,jdbcType=VARCHAR}, </if> <if test="delfield != null"> DELFIELD = #{delfield,jdbcType=VARCHAR}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParCatZ3950"> update PAR_CAT_Z3950 set LIBCODE = #{libcode,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, HOST = #{host,jdbcType=VARCHAR}, PORT = #{port,jdbcType=DECIMAL}, DATABASE = #{database,jdbcType=VARCHAR}, VALIDATEWAY = #{validateway,jdbcType=CHAR}, ACCOUNT = #{account,jdbcType=VARCHAR}, PASSWORD = #{password,jdbcType=VARCHAR}, CHARSET = #{charset,jdbcType=VARCHAR}, DELFIELD = #{delfield,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParCatZ3950" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_Z3950 where 1=1 <if test="id != null"> and id = #{id,jdbcType=VARCHAR} </if> <if test="libcode != null"> and libcode = #{libcode,jdbcType=VARCHAR} </if> <if test="name != null"> and name = #{name,jdbcType=VARCHAR} </if> </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_Z3950 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