Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibCirReaderMapper.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.LibCirReaderMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibCirReader"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="RDRNO" jdbcType="VARCHAR" property="rdrno" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="IDCARD" jdbcType="VARCHAR" property="idcard" /> <result column="OTHERNO" jdbcType="VARCHAR" property="otherno" /> <result column="PASSWORD" jdbcType="VARCHAR" property="password" /> <result column="STATUS" jdbcType="CHAR" property="status" /> <result column="RDRTYPE" jdbcType="VARCHAR" property="rdrtype" /> <result column="RDRFLD1" jdbcType="VARCHAR" property="rdrfld1" /> <result column="RDRFLD2" jdbcType="VARCHAR" property="rdrfld2" /> <result column="RDRFLD3" jdbcType="VARCHAR" property="rdrfld3" /> <result column="RDRFLD4" jdbcType="VARCHAR" property="rdrfld4" /> <result column="BIRTHDAY" jdbcType="VARCHAR" property="birthday" /> <result column="GENDER" jdbcType="CHAR" property="gender" /> <result column="HOBBY" jdbcType="VARCHAR" property="hobby" /> <result column="SPECIALTY" jdbcType="VARCHAR" property="specialty" /> <result column="TELEPHONE" jdbcType="VARCHAR" property="telephone" /> <result column="EMAIL" jdbcType="VARCHAR" property="email" /> <result column="NATION" jdbcType="VARCHAR" property="nation" /> <result column="NATIVEPLACE" jdbcType="VARCHAR" property="nativeplace" /> <result column="ADDRESS" jdbcType="VARCHAR" property="address" /> <result column="UNIT" jdbcType="VARCHAR" property="unit" /> <result column="CREATEDATE" jdbcType="DECIMAL" property="createdate" /> <result column="STARTDATE" jdbcType="DECIMAL" property="startdate" /> <result column="ENDDATE" jdbcType="DECIMAL" property="enddate" /> <result column="CANCELDATE" jdbcType="DECIMAL" property="canceldate" /> <result column="PHOTOURL" jdbcType="VARCHAR" property="photourl" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> <result column="OPENID" jdbcType="VARCHAR" property="openid" /> <result column="OTHERNO1" jdbcType="VARCHAR" property="otherno1" /> <result column="OTHERNO2" jdbcType="VARCHAR" property="otherno2" /> <result column="STOPDATE" jdbcType="DECIMAL" property="stopdate" /> <result column="RDRUID" jdbcType="VARCHAR" property="rdruid" /> </resultMap> <sql id="Base_Column_List"> ID, LIBCODE, RDRNO, NAME, IDCARD, OTHERNO, PASSWORD, STATUS, RDRTYPE, RDRFLD1, RDRFLD2, RDRFLD3, RDRFLD4, BIRTHDAY, GENDER, HOBBY, SPECIALTY, TELEPHONE, EMAIL, NATION, NATIVEPLACE, ADDRESS, UNIT, CREATEDATE, STARTDATE, ENDDATE, CANCELDATE, PHOTOURL, NOTE, PARAMJSON, OPENID, OTHERNO1, OTHERNO2, STOPDATE, RDRUID </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_READER where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from LIB_CIR_READER where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibCirReader"> insert into LIB_CIR_READER (ID, LIBCODE, RDRNO, NAME, IDCARD, OTHERNO, PASSWORD, STATUS, RDRTYPE, RDRFLD1, RDRFLD2, RDRFLD3, RDRFLD4, BIRTHDAY, GENDER, HOBBY, SPECIALTY, TELEPHONE, EMAIL, NATION, NATIVEPLACE, ADDRESS, UNIT, CREATEDATE, STARTDATE, ENDDATE, CANCELDATE, PHOTOURL, NOTE, PARAMJSON ) values (#{id,jdbcType=DECIMAL}, #{libcode,jdbcType=VARCHAR}, #{rdrno,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{idcard,jdbcType=VARCHAR}, #{otherno,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{status,jdbcType=CHAR}, #{rdrtype,jdbcType=VARCHAR}, #{rdrfld1,jdbcType=VARCHAR}, #{rdrfld2,jdbcType=VARCHAR}, #{rdrfld3,jdbcType=VARCHAR}, #{rdrfld4,jdbcType=VARCHAR}, #{birthday,jdbcType=VARCHAR}, #{gender,jdbcType=CHAR}, #{hobby,jdbcType=VARCHAR}, #{specialty,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{nation,jdbcType=VARCHAR}, #{nativeplace,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{createdate,jdbcType=DECIMAL}, #{startdate,jdbcType=DECIMAL}, #{enddate,jdbcType=DECIMAL}, #{canceldate,jdbcType=DECIMAL}, #{photourl,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{paramjson,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibCirReader"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select LIB_CIR_READER_SEQ.nextval a FROM dual </selectKey> insert into LIB_CIR_READER <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="libcode != null"> LIBCODE, </if> <if test="rdrno != null"> RDRNO, </if> <if test="name != null"> NAME, </if> <if test="idcard != null"> IDCARD, </if> <if test="otherno != null"> OTHERNO, </if> <if test="password != null"> PASSWORD, </if> <if test="status != null"> STATUS, </if> <if test="rdrtype != null"> RDRTYPE, </if> <if test="rdrfld1 != null"> RDRFLD1, </if> <if test="rdrfld2 != null"> RDRFLD2, </if> <if test="rdrfld3 != null"> RDRFLD3, </if> <if test="rdrfld4 != null"> RDRFLD4, </if> <if test="birthday != null"> BIRTHDAY, </if> <if test="gender != null"> GENDER, </if> <if test="hobby != null"> HOBBY, </if> <if test="specialty != null"> SPECIALTY, </if> <if test="telephone != null"> TELEPHONE, </if> <if test="email != null"> EMAIL, </if> <if test="nation != null"> NATION, </if> <if test="nativeplace != null"> NATIVEPLACE, </if> <if test="address != null"> ADDRESS, </if> <if test="unit != null"> UNIT, </if> <if test="createdate != null"> CREATEDATE, </if> <if test="startdate != null"> STARTDATE, </if> <if test="enddate != null"> ENDDATE, </if> <if test="canceldate != null"> CANCELDATE, </if> <if test="photourl != null"> PHOTOURL, </if> <if test="note != null"> NOTE, </if> <if test="paramjson != null"> PARAMJSON, </if> <if test="openid != null"> OPENID, </if> <if test="otherno1 != null"> OTHERNO1, </if> <if test="otherno2 != null"> OTHERNO2, </if> <if test="stopdate != null"> stopdate, </if> <if test="rdruid != null"> rdruid, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> #{id,jdbcType=DECIMAL}, <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="rdrno != null"> #{rdrno,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="idcard != null"> #{idcard,jdbcType=VARCHAR}, </if> <if test="otherno != null"> #{otherno,jdbcType=VARCHAR}, </if> <if test="password != null"> #{password,jdbcType=VARCHAR}, </if> <if test="status != null"> #{status,jdbcType=CHAR}, </if> <if test="rdrtype != null"> #{rdrtype,jdbcType=VARCHAR}, </if> <if test="rdrfld1 != null"> #{rdrfld1,jdbcType=VARCHAR}, </if> <if test="rdrfld2 != null"> #{rdrfld2,jdbcType=VARCHAR}, </if> <if test="rdrfld3 != null"> #{rdrfld3,jdbcType=VARCHAR}, </if> <if test="rdrfld4 != null"> #{rdrfld4,jdbcType=VARCHAR}, </if> <if test="birthday != null"> #{birthday,jdbcType=VARCHAR}, </if> <if test="gender != null"> #{gender,jdbcType=CHAR}, </if> <if test="hobby != null"> #{hobby,jdbcType=VARCHAR}, </if> <if test="specialty != null"> #{specialty,jdbcType=VARCHAR}, </if> <if test="telephone != null"> #{telephone,jdbcType=VARCHAR}, </if> <if test="email != null"> #{email,jdbcType=VARCHAR}, </if> <if test="nation != null"> #{nation,jdbcType=VARCHAR}, </if> <if test="nativeplace != null"> #{nativeplace,jdbcType=VARCHAR}, </if> <if test="address != null"> #{address,jdbcType=VARCHAR}, </if> <if test="unit != null"> #{unit,jdbcType=VARCHAR}, </if> <if test="createdate != null"> #{createdate,jdbcType=DECIMAL}, </if> <if test="startdate != null"> #{startdate,jdbcType=DECIMAL}, </if> <if test="enddate != null"> #{enddate,jdbcType=DECIMAL}, </if> <if test="canceldate != null"> #{canceldate,jdbcType=DECIMAL}, </if> <if test="photourl != null"> #{photourl,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> <if test="openid != null"> #{openid,jdbcType=VARCHAR}, </if> <if test="otherno1 != null"> #{otherno1,jdbcType=VARCHAR}, </if> <if test="otherno2 != null"> #{otherno2,jdbcType=VARCHAR}, </if> <if test="stopdate != null"> #{stopdate,jdbcType=DECIMAL}, </if> <if test="rdruid != null"> #{rdruid,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibCirReader"> update LIB_CIR_READER <set> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="rdrno != null"> RDRNO = #{rdrno,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="idcard != null"> IDCARD = #{idcard,jdbcType=VARCHAR}, </if> <if test="otherno != null"> OTHERNO = #{otherno,jdbcType=VARCHAR}, </if> <if test="password != null"> PASSWORD = #{password,jdbcType=VARCHAR}, </if> <if test="status != null"> STATUS = #{status,jdbcType=CHAR}, </if> <if test="rdrtype != null"> RDRTYPE = #{rdrtype,jdbcType=VARCHAR}, </if> <if test="rdrfld1 != null"> RDRFLD1 = #{rdrfld1,jdbcType=VARCHAR}, </if> <if test="rdrfld2 != null"> RDRFLD2 = #{rdrfld2,jdbcType=VARCHAR}, </if> <if test="rdrfld3 != null"> RDRFLD3 = #{rdrfld3,jdbcType=VARCHAR}, </if> <if test="rdrfld4 != null"> RDRFLD4 = #{rdrfld4,jdbcType=VARCHAR}, </if> <if test="birthday != null"> BIRTHDAY = #{birthday,jdbcType=VARCHAR}, </if> <if test="gender != null"> GENDER = #{gender,jdbcType=CHAR}, </if> <if test="hobby != null"> HOBBY = #{hobby,jdbcType=VARCHAR}, </if> <if test="specialty != null"> SPECIALTY = #{specialty,jdbcType=VARCHAR}, </if> <if test="telephone != null"> TELEPHONE = #{telephone,jdbcType=VARCHAR}, </if> <if test="email != null"> EMAIL = #{email,jdbcType=VARCHAR}, </if> <if test="nation != null"> NATION = #{nation,jdbcType=VARCHAR}, </if> <if test="nativeplace != null"> NATIVEPLACE = #{nativeplace,jdbcType=VARCHAR}, </if> <if test="address != null"> ADDRESS = #{address,jdbcType=VARCHAR}, </if> <if test="unit != null"> UNIT = #{unit,jdbcType=VARCHAR}, </if> <if test="createdate != null"> CREATEDATE = #{createdate,jdbcType=DECIMAL}, </if> <if test="startdate != null"> STARTDATE = #{startdate,jdbcType=DECIMAL}, </if> <if test="enddate != null"> ENDDATE = #{enddate,jdbcType=DECIMAL}, </if> <if test="canceldate != null"> CANCELDATE = #{canceldate,jdbcType=DECIMAL}, </if> <if test="photourl != null"> PHOTOURL = #{photourl,jdbcType=VARCHAR}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,jdbcType=VARCHAR}, </if> <if test="openid != null"> openid = #{openid,jdbcType=VARCHAR}, </if> <if test="otherno1 != null"> otherno1 = #{otherno1,jdbcType=VARCHAR}, </if> <if test="otherno2 != null"> otherno2 = #{otherno2,jdbcType=VARCHAR}, </if> stopdate = #{stopdate,jdbcType=DECIMAL}, <if test="rdruid != null"> rdruid = #{rdruid,jdbcType=VARCHAR}, </if> </set> where <choose> <when test="rdrno != null and id == null"> RDRNO = #{rdrno,jdbcType=VARCHAR} </when> <otherwise> ID = #{id,jdbcType=DECIMAL} </otherwise> </choose> </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.LibCirReader"> update LIB_CIR_READER set LIBCODE = #{libcode,jdbcType=VARCHAR}, RDRNO = #{rdrno,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, IDCARD = #{idcard,jdbcType=VARCHAR}, OTHERNO = #{otherno,jdbcType=VARCHAR}, PASSWORD = #{password,jdbcType=VARCHAR}, STATUS = #{status,jdbcType=CHAR}, RDRTYPE = #{rdrtype,jdbcType=VARCHAR}, RDRFLD1 = #{rdrfld1,jdbcType=VARCHAR}, RDRFLD2 = #{rdrfld2,jdbcType=VARCHAR}, RDRFLD3 = #{rdrfld3,jdbcType=VARCHAR}, RDRFLD4 = #{rdrfld4,jdbcType=VARCHAR}, BIRTHDAY = #{birthday,jdbcType=VARCHAR}, GENDER = #{gender,jdbcType=CHAR}, HOBBY = #{hobby,jdbcType=VARCHAR}, SPECIALTY = #{specialty,jdbcType=VARCHAR}, TELEPHONE = #{telephone,jdbcType=VARCHAR}, EMAIL = #{email,jdbcType=VARCHAR}, NATION = #{nation,jdbcType=VARCHAR}, NATIVEPLACE = #{nativeplace,jdbcType=VARCHAR}, ADDRESS = #{address,jdbcType=VARCHAR}, UNIT = #{unit,jdbcType=VARCHAR}, CREATEDATE = #{createdate,jdbcType=DECIMAL}, STARTDATE = #{startdate,jdbcType=DECIMAL}, ENDDATE = #{enddate,jdbcType=DECIMAL}, CANCELDATE = #{canceldate,jdbcType=DECIMAL}, PHOTOURL = #{photourl,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="selectByUniqueKey" parameterType="com.jishen.libsystem.entity.LibCirReader" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_READER where 1=1 <if test="id != null"> and id = #{id,jdbcType=DECIMAL} </if> <if test="rdrno != null"> and rdrno = #{rdrno,jdbcType=VARCHAR} </if> <if test="idcard != null"> and idcard = #{idcard,jdbcType=VARCHAR} </if> <if test="otherno != null"> and otherno = #{otherno,jdbcType=VARCHAR} </if> <if test="openid != null"> and openid = #{openid,jdbcType=VARCHAR} </if> <if test="otherno1 != null"> and otherno1 = #{otherno1,jdbcType=VARCHAR} </if> <if test="otherno2 != null"> and otherno2 = #{otherno2,jdbcType=VARCHAR} </if> <if test="status != null"> and status in (${status}) </if> <if test="rdruid != null"> and rdruid = #{rdruid,jdbcType=VARCHAR} </if> </select> <select id="listSelective" parameterType="com.jishen.libsystem.entity.LibCirReader" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_CIR_READER where 1=1 <if test="id != null"> and id = #{id,jdbcType=VARCHAR} </if> <if test="rdrno != null"> and rdrno like CONCAT(#{rdrno,jdbcType=VARCHAR},'%') </if> <if test="name != null"> and name like CONCAT(#{name,jdbcType=VARCHAR},'%') </if> <if test="idcard != null"> and idcard like CONCAT(#{idcard,jdbcType=VARCHAR},'%') </if> <if test="otherno != null"> and otherno like CONCAT(#{otherno,jdbcType=VARCHAR},'%') </if> <if test="telephone != null"> and telephone like CONCAT(#{telephone,jdbcType=VARCHAR},'%') </if> <if test="rdruid != null"> and rdruid = #{rdruid,jdbcType=VARCHAR} </if> <if test="password != null"> and password = #{password,jdbcType=VARCHAR} </if> </select> <insert id="insertRecords" > insert into LIB_CIR_READER ( ID, LIBCODE, RDRNO, NAME, IDCARD, OTHERNO, PASSWORD, STATUS, RDRTYPE, RDRFLD1, RDRFLD2, RDRFLD3, RDRFLD4, BIRTHDAY, GENDER, HOBBY, SPECIALTY, TELEPHONE, EMAIL, NATION, NATIVEPLACE, ADDRESS, UNIT, CREATEDATE, STARTDATE, ENDDATE, CANCELDATE, PHOTOURL, NOTE, PARAMJSON, OPENID, OTHERNO1, OTHERNO2, STOPDATE, RDRUID ) select <if test="autoId"> LIB_CIR_READER_SEQ.nextval, </if>list.* from ( <foreach collection="records" item="record" index="index" separator="UNION ALL"> select <if test="autoId==false"> #{record.id,jdbcType=DECIMAL}, </if> #{record.libcode,jdbcType=VARCHAR}, #{record.rdrno,jdbcType=VARCHAR}, #{record.name,jdbcType=VARCHAR}, #{record.idcard,jdbcType=VARCHAR}, #{record.otherno,jdbcType=VARCHAR}, #{record.password,jdbcType=VARCHAR}, #{record.status,jdbcType=CHAR}, #{record.rdrtype,jdbcType=VARCHAR}, #{record.rdrfld1,jdbcType=VARCHAR}, #{record.rdrfld2,jdbcType=VARCHAR}, #{record.rdrfld3,jdbcType=VARCHAR}, #{record.rdrfld4,jdbcType=VARCHAR}, #{record.birthday,jdbcType=VARCHAR}, #{record.gender,jdbcType=CHAR}, #{record.hobby,jdbcType=VARCHAR}, #{record.specialty,jdbcType=VARCHAR}, #{record.telephone,jdbcType=VARCHAR}, #{record.email,jdbcType=VARCHAR}, #{record.nation,jdbcType=VARCHAR}, #{record.nativeplace,jdbcType=VARCHAR}, #{record.address,jdbcType=VARCHAR}, #{record.unit,jdbcType=VARCHAR}, #{record.createdate,jdbcType=DECIMAL}, #{record.startdate,jdbcType=DECIMAL}, #{record.enddate,jdbcType=DECIMAL}, #{record.canceldate,jdbcType=DECIMAL}, #{record.photourl,jdbcType=VARCHAR}, #{record.note,jdbcType=VARCHAR}, #{record.paramjson,jdbcType=VARCHAR}, #{record.openid,jdbcType=VARCHAR}, #{record.otherno1,jdbcType=VARCHAR}, #{record.otherno2,jdbcType=VARCHAR}, #{record.stopdate,jdbcType=DECIMAL}, #{record.rdruid,jdbcType=VARCHAR} from dual </foreach> ) list </insert> <select id="listWithCondition" resultType="com.jishen.libsystem.entity.LibCirReader"> select <include refid="Base_Column_List" /> from LIB_CIR_READER where 1=1 <include refid="common.condition"/> </select> <update id="updateRecords" parameterType="java.util.List"> begin <foreach collection="records" item="record" index="index" separator=";"> update LIB_CIR_READER <set> <if test="record.libcode != null"> LIBCODE = #{record.libcode,jdbcType=VARCHAR}, </if> <if test="record.rdrno != null"> RDRNO = #{record.rdrno,jdbcType=VARCHAR}, </if> <if test="record.name != null"> NAME = #{record.name,jdbcType=VARCHAR}, </if> <if test="record.idcard != null"> IDCARD = #{record.idcard,jdbcType=VARCHAR}, </if> <if test="record.otherno != null"> OTHERNO = #{record.otherno,jdbcType=VARCHAR}, </if> <if test="record.password != null"> PASSWORD = #{record.password,jdbcType=VARCHAR}, </if> <if test="record.status != null"> STATUS = #{record.status,jdbcType=CHAR}, </if> <if test="record.rdrtype != null"> RDRTYPE = #{record.rdrtype,jdbcType=VARCHAR}, </if> <if test="record.rdrfld1 != null"> RDRFLD1 = #{record.rdrfld1,jdbcType=VARCHAR}, </if> <if test="record.rdrfld2 != null"> RDRFLD2 = #{record.rdrfld2,jdbcType=VARCHAR}, </if> <if test="record.rdrfld3 != null"> RDRFLD3 = #{record.rdrfld3,jdbcType=VARCHAR}, </if> <if test="record.rdrfld4 != null"> RDRFLD4 = #{record.rdrfld4,jdbcType=VARCHAR}, </if> <if test="record.birthday != null"> BIRTHDAY = #{record.birthday,jdbcType=VARCHAR}, </if> <if test="record.gender != null"> GENDER = #{record.gender,jdbcType=CHAR}, </if> <if test="record.hobby != null"> HOBBY = #{record.hobby,jdbcType=VARCHAR}, </if> <if test="record.specialty != null"> SPECIALTY = #{record.specialty,jdbcType=VARCHAR}, </if> <if test="record.telephone != null"> TELEPHONE = #{record.telephone,jdbcType=VARCHAR}, </if> <if test="record.email != null"> EMAIL = #{record.email,jdbcType=VARCHAR}, </if> <if test="record.nation != null"> NATION = #{record.nation,jdbcType=VARCHAR}, </if> <if test="record.nativeplace != null"> NATIVEPLACE = #{record.nativeplace,jdbcType=VARCHAR}, </if> <if test="record.address != null"> ADDRESS = #{record.address,jdbcType=VARCHAR}, </if> <if test="record.unit != null"> UNIT = #{record.unit,jdbcType=VARCHAR}, </if> <if test="record.createdate != null"> CREATEDATE = #{record.createdate,jdbcType=DECIMAL}, </if> <if test="record.startdate != null"> STARTDATE = #{record.startdate,jdbcType=DECIMAL}, </if> <if test="record.enddate != null"> ENDDATE = #{record.enddate,jdbcType=DECIMAL}, </if> <if test="record.canceldate != null"> CANCELDATE = #{record.canceldate,jdbcType=DECIMAL}, </if> <if test="record.photourl != null"> PHOTOURL = #{record.photourl,jdbcType=VARCHAR}, </if> <if test="record.note != null"> NOTE = #{record.note,jdbcType=VARCHAR}, </if> <if test="record.paramjson != null"> PARAMJSON = #{record.paramjson,jdbcType=VARCHAR}, </if> <if test="record.stopdate != null"> stopdate = #{record.stopdate,jdbcType=DECIMAL}, </if> <if test="record.otherno1 != null"> otherno1 = #{record.otherno1,jdbcType=VARCHAR}, </if> <if test="record.otherno2 != null"> otherno2 = #{record.otherno2,jdbcType=VARCHAR}, </if> <if test="record.rdruid != null"> rdruid = #{record.rdruid,jdbcType=VARCHAR}, </if> </set> where ID = #{record.id,jdbcType=DECIMAL} </foreach> ;end; </update> <delete id="deleteRecords"> delete from LIB_CIR_READER where 1 = 1 <include refid="common.condition"/> </delete> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de