Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibCirBlacklistMapper.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.LibCirBlacklistMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibCirBlacklist"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="BCTYPE" jdbcType="VARCHAR" property="bctype" /> <result column="BCVALUE" jdbcType="VARCHAR" property="bcvalue" /> <result column="BCDATE" jdbcType="DECIMAL" property="bcdate" /> <result column="BCSTAMP" jdbcType="DECIMAL" property="bcstamp" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, BCTYPE, BCVALUE, BCDATE, BCSTAMP, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_BLACKLIST where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from LIB_CIR_BLACKLIST where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibCirBlacklist"> insert into LIB_CIR_BLACKLIST (ID, BCTYPE, BCVALUE, BCDATE, BCSTAMP, NOTE ) values (#{id,jdbcType=DECIMAL}, #{bctype,jdbcType=VARCHAR}, #{bcvalue,jdbcType=VARCHAR}, #{bcdate,jdbcType=DECIMAL}, #{bcstamp,jdbcType=DECIMAL}, #{note,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibCirBlacklist"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select LIB_CIR_BLACKLIST_SEQ.nextval a FROM dual </selectKey> insert into LIB_CIR_BLACKLIST <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="bctype != null"> BCTYPE, </if> <if test="bcvalue != null"> BCVALUE, </if> <if test="bcdate != null"> BCDATE, </if> <if test="bcstamp != null"> BCSTAMP, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="bctype != null"> #{bctype,jdbcType=VARCHAR}, </if> <if test="bcvalue != null"> #{bcvalue,jdbcType=VARCHAR}, </if> <if test="bcdate != null"> #{bcdate,jdbcType=DECIMAL}, </if> <if test="bcstamp != null"> #{bcstamp,jdbcType=DECIMAL}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibCirBlacklist"> update LIB_CIR_BLACKLIST <set> <if test="bctype != null"> BCTYPE = #{bctype,jdbcType=VARCHAR}, </if> <if test="bcvalue != null"> BCVALUE = #{bcvalue,jdbcType=VARCHAR}, </if> <if test="bcdate != null"> BCDATE = #{bcdate,jdbcType=DECIMAL}, </if> <if test="bcstamp != null"> BCSTAMP = #{bcstamp,jdbcType=DECIMAL}, </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.LibCirBlacklist"> update LIB_CIR_BLACKLIST set BCTYPE = #{bctype,jdbcType=VARCHAR}, BCVALUE = #{bcvalue,jdbcType=VARCHAR}, BCDATE = #{bcdate,jdbcType=DECIMAL}, BCSTAMP = #{bcstamp,jdbcType=DECIMAL}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibCirBlacklist" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_BLACKLIST where 1=1 <if test="bctype != null"> and bctype = #{bctype,jdbcType=VARCHAR} </if> <if test="bcvalue != null"> and bcvalue = #{bcvalue,jdbcType=VARCHAR} </if> </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_BLACKLIST 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