Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParCatRepeatMapper.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.ParCatRepeatMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParCatRepeat"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="SYSID" jdbcType="DECIMAL" property="sysid" /> <result column="WAY" jdbcType="CHAR" property="way" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, LIBCODE, NAME, SYSID, WAY, PARAMJSON, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_REPEAT where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_CAT_REPEAT where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParCatRepeat"> insert into PAR_CAT_REPEAT (ID, LIBCODE, NAME, SYSID, WAY, PARAMJSON, NOTE) values (#{id,jdbcType=DECIMAL}, #{libcode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{sysid,jdbcType=DECIMAL}, #{way,jdbcType=CHAR}, #{paramjson,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParCatRepeat"> insert into PAR_CAT_REPEAT <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="libcode != null"> LIBCODE, </if> <if test="name != null"> NAME, </if> <if test="sysid != null"> SYSID, </if> <if test="way != null"> WAY, </if> <if test="paramjson != null"> PARAMJSON, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_CAT_REPEAT_SEQ.NEXTVAL, <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="sysid != null"> #{sysid,jdbcType=DECIMAL}, </if> <if test="way != null"> #{way,jdbcType=CHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParCatRepeat"> update PAR_CAT_REPEAT <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="sysid != null"> SYSID = #{sysid,jdbcType=DECIMAL}, </if> <if test="way != null"> WAY = #{way,jdbcType=CHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,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.ParCatRepeat"> update PAR_CAT_REPEAT set LIBCODE = #{libcode,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, SYSID = #{sysid,jdbcType=DECIMAL}, WAY = #{way,jdbcType=CHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParCatRepeat" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_CAT_REPEAT where 1=1 <if test="sysid != null"> and sysid = #{sysid,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_REPEAT 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