Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysSubsystemMapper.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.ParSysSubsystemMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysSubsystem"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="TYPE" jdbcType="CHAR" property="type" /> <result column="MARCTYPE" jdbcType="VARCHAR" property="marctype" /> <result column="SHOWFIELD" jdbcType="VARCHAR" property="showfield" /> <result column="INDEXFIELD" jdbcType="VARCHAR" property="indexfield" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, NAME, TYPE, MARCTYPE, SHOWFIELD, INDEXFIELD, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_SUBSYSTEM where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_SUBSYSTEM where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysSubsystem"> insert into PAR_SYS_SUBSYSTEM (ID, NAME, TYPE, MARCTYPE, SHOWFIELD, INDEXFIELD, NOTE) values (#{id,jdbcType=DECIMAL}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=CHAR}, #{marctype,jdbcType=VARCHAR}, #{showfield,jdbcType=VARCHAR}, #{indexfield,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysSubsystem"> insert into PAR_SYS_SUBSYSTEM <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="name != null"> NAME, </if> <if test="type != null"> TYPE, </if> <if test="marctype != null"> MARCTYPE, </if> <if test="showfield != null"> SHOWFIELD, </if> <if test="indexfield != null"> INDEXFIELD, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> PAR_SYS_SUBSYSTEM_SEQ.nextval, <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="type != null"> #{type,jdbcType=CHAR}, </if> <if test="marctype != null"> #{marctype,jdbcType=VARCHAR}, </if> <if test="showfield != null"> #{showfield,jdbcType=VARCHAR}, </if> <if test="indexfield != null"> #{indexfield,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysSubsystem"> update PAR_SYS_SUBSYSTEM <set> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="type != null"> TYPE = #{type,jdbcType=CHAR}, </if> <if test="marctype != null"> MARCTYPE = #{marctype,jdbcType=VARCHAR}, </if> <if test="showfield != null"> SHOWFIELD = #{showfield,jdbcType=VARCHAR}, </if> <if test="indexfield != null"> INDEXFIELD = #{indexfield,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.ParSysSubsystem"> update PAR_SYS_SUBSYSTEM set NAME = #{name,jdbcType=VARCHAR}, TYPE = #{type,jdbcType=CHAR}, MARCTYPE = #{marctype,jdbcType=VARCHAR}, SHOWFIELD = #{showfield,jdbcType=VARCHAR}, INDEXFIELD = #{indexfield,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysSubsystem" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_SUBSYSTEM where 1=1 <if test="id != null"> and id = #{id,jdbcType=DECIMAL} </if> <if test="type != null"> and type = #{type,jdbcType=CHAR} </if> <if test="name != null"> and name = #{name,jdbcType=VARCHAR} </if> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de