Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysMenuMapper.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.ParSysMenuMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysMenu"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="TITLE" jdbcType="VARCHAR" property="title" /> <result column="MODULECODE" jdbcType="VARCHAR" property="modulecode" /> </resultMap> <sql id="Base_Column_List"> ID, TITLE, MODULECODE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_MENU where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_MENU where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysMenu"> insert into PAR_SYS_MENU (ID, TITLE, MODULECODE ) values (#{id,jdbcType=DECIMAL}, #{title,jdbcType=VARCHAR}, #{modulecode,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysMenu"> insert into PAR_SYS_MENU <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="title != null"> TITLE, </if> <if test="modulecode != null"> MODULECODE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="title != null"> #{title,jdbcType=VARCHAR}, </if> <if test="modulecode != null"> #{modulecode,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysMenu"> update PAR_SYS_MENU <set> <if test="title != null"> TITLE = #{title,jdbcType=VARCHAR}, </if> <if test="modulecode != null"> MODULECODE = #{modulecode,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParSysMenu"> update PAR_SYS_MENU set TITLE = #{title,jdbcType=VARCHAR}, MODULECODE = #{modulecode,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysMenu" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_MENU where 1=1 <if test="modulecode != null"> and MODULECODE = #{modulecode,jdbcType=VARCHAR} </if> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de