Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\LibSyslogMapper.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.LibSyslogMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.LibSyslog"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="OPERID" jdbcType="DECIMAL" property="operid" /> <result column="TYPE" jdbcType="CHAR" property="type" /> <result column="LOGDATE" jdbcType="DECIMAL" property="logdate" /> <result column="LOGTIME" jdbcType="DECIMAL" property="logtime" /> <result column="STATUS" jdbcType="CHAR" property="status" /> <result column="IP" jdbcType="VARCHAR" property="ip" /> <result column="LOCATION" jdbcType="VARCHAR" property="location" /> <result column="AREA" jdbcType="VARCHAR" property="area" /> </resultMap> <sql id="Base_Column_List"> ID, OPERID, TYPE, LOGDATE, LOGTIME, STATUS, IP, LOCATION, AREA </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from LIB_SYSLOG where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from LIB_SYSLOG where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.LibSyslog"> insert into LIB_SYSLOG (ID, OPERID, TYPE, LOGDATE, LOGTIME, STATUS, IP, LOCATION, AREA) values (#{id,jdbcType=DECIMAL}, #{operid,jdbcType=DECIMAL}, #{type,jdbcType=CHAR}, #{logdate,jdbcType=DECIMAL}, #{logtime,jdbcType=DECIMAL}, #{status,jdbcType=CHAR}, #{ip,jdbcType=VARCHAR}, #{location,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.LibSyslog"> insert into LIB_SYSLOG <trim prefix="(" suffix=")" suffixOverrides=","> ID, <if test="operid != null"> OPERID, </if> <if test="type != null"> TYPE, </if> <if test="logdate != null"> LOGDATE, </if> <if test="logtime != null"> LOGTIME, </if> <if test="status != null"> STATUS, </if> <if test="ip != null"> IP, </if> <if test="location != null"> LOCATION, </if> <if test="area != null"> AREA, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> LIB_SYSLOG_SEQ.NEXTVAL, <if test="operid != null"> #{operid,jdbcType=DECIMAL}, </if> <if test="type != null"> #{type,jdbcType=CHAR}, </if> <if test="logdate != null"> #{logdate,jdbcType=DECIMAL}, </if> <if test="logtime != null"> #{logtime,jdbcType=DECIMAL}, </if> <if test="status != null"> #{status,jdbcType=CHAR}, </if> <if test="ip != null"> #{ip,jdbcType=VARCHAR}, </if> <if test="location != null"> #{location,jdbcType=VARCHAR}, </if> <if test="area != null"> #{area,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.LibSyslog"> update LIB_SYSLOG <set> <if test="operid != null"> OPERID = #{operid,jdbcType=DECIMAL}, </if> <if test="type != null"> TYPE = #{type,jdbcType=CHAR}, </if> <if test="logdate != null"> LOGDATE = #{logdate,jdbcType=DECIMAL}, </if> <if test="logtime != null"> LOGTIME = #{logtime,jdbcType=DECIMAL}, </if> <if test="status != null"> STATUS = #{status,jdbcType=CHAR}, </if> <if test="ip != null"> IP = #{ip,jdbcType=VARCHAR}, </if> <if test="location != null"> LOCATION = #{location,jdbcType=VARCHAR}, </if> <if test="area != null"> AREA = #{area,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.LibSyslog"> update LIB_SYSLOG set OPERID = #{operid,jdbcType=DECIMAL}, TYPE = #{type,jdbcType=CHAR}, LOGDATE = #{logdate,jdbcType=DECIMAL}, LOGTIME = #{logtime,jdbcType=DECIMAL}, STATUS = #{status,jdbcType=CHAR}, IP = #{ip,jdbcType=VARCHAR}, LOCATION = #{location,jdbcType=VARCHAR}, AREA = #{area,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de