Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysLocationGroupMapper.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.ParSysLocationGroupMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysLocationGroup"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> <result column="LOCCODE" jdbcType="VARCHAR" property="loccode" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, NAME, PARAMJSON, LOCCODE, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_LOCATIONGROUP where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_LOCATIONGROUP where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysLocationGroup"> insert into PAR_SYS_LOCATIONGROUP (ID, NAME, PARAMJSON, LOCCODE, NOTE) values (#{id,jdbcType=DECIMAL}, #{name,jdbcType=VARCHAR}, #{paramjson,jdbcType=VARCHAR}, #{loccode,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysLocationGroup"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select PAR_SYS_LOCATIONGROUP_SEQ.nextval a FROM dual </selectKey> insert into PAR_SYS_LOCATIONGROUP <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="name != null"> NAME, </if> <if test="paramjson != null"> PARAMJSON, </if> <if test="loccode != null"> LOCCODE, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> <if test="loccode != null"> #{loccode,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysLocationGroup"> update PAR_SYS_LOCATIONGROUP <set> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,jdbcType=VARCHAR}, </if> <if test="loccode != null"> LOCCODE = #{loccode,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.ParSysLocationGroup"> update PAR_SYS_LOCATIONGROUP set NAME = #{name,jdbcType=VARCHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR}, LOCCODE = #{loccode,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysLocationGroup" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_LOCATIONGROUP where 1=1 <if test="code != null"> and code = #{code,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_SYS_LOCATIONGROUP 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