Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysEmailMapper.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.ParSysEmailMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysEmail"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="USERNAME" jdbcType="VARCHAR" property="username" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="PASSWORD" jdbcType="VARCHAR" property="password" /> <result column="SMTP" jdbcType="VARCHAR" property="smtp" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, USERNAME, NAME, LIBCODE, PASSWORD, SMTP, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_EMAIL where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_EMAIL where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysEmail"> insert into PAR_SYS_EMAIL (ID, USERNAME, NAME, LIBCODE, PASSWORD, SMTP, NOTE) values (#{id,jdbcType=DECIMAL}, #{username,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{libcode,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{smtp,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysEmail"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select PAR_SYS_EMAIL_SEQ.nextval a FROM dual </selectKey> insert into PAR_SYS_EMAIL <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="username != null"> USERNAME, </if> <if test="name != null"> NAME, </if> <if test="libcode != null"> LIBCODE, </if> <if test="password != null"> PASSWORD, </if> <if test="smtp != null"> SMTP, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="username != null"> #{username,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="password != null"> #{password,jdbcType=VARCHAR}, </if> <if test="smtp != null"> #{smtp,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysEmail"> update PAR_SYS_EMAIL <set> <if test="username != null"> USERNAME = #{username,jdbcType=VARCHAR}, </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="password != null"> PASSWORD = #{password,jdbcType=VARCHAR}, </if> <if test="smtp != null"> SMTP = #{smtp,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.ParSysEmail"> update PAR_SYS_EMAIL set USERNAME = #{username,jdbcType=VARCHAR}, NAME = #{name,jdbcType=VARCHAR}, LIBCODE = #{libcode,jdbcType=VARCHAR}, PASSWORD = #{password,jdbcType=VARCHAR}, SMTP = #{smtp,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysEmail" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_EMAIL where 1=1 <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_SYS_EMAIL 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