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