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