Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\BdLogStatusMapper.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.BdLogStatusMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.BdLogStatus"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="LOGDATE" jdbcType="VARCHAR" property="logdate" /> <result column="LOGSTAMP" jdbcType="VARCHAR" property="logstamp" /> <result column="DEVICEALIAS" jdbcType="VARCHAR" property="devicealias" /> <result column="STATUS" jdbcType="DECIMAL" property="status" /> <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" /> </resultMap> <sql id="Base_Column_List"> ID, LOGDATE, LOGSTAMP, DEVICEALIAS, STATUS, DESCRIPTION </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from BD_LOG_STATUS where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from BD_LOG_STATUS where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.BdLogStatus"> insert into BD_LOG_STATUS (ID, LOGDATE, LOGSTAMP, DEVICEALIAS, STATUS, DESCRIPTION ) values (#{id,jdbcType=DECIMAL}, #{logdate,jdbcType=VARCHAR}, #{logstamp,jdbcType=VARCHAR}, #{devicealias,jdbcType=VARCHAR}, #{status,jdbcType=DECIMAL}, #{description,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.BdLogStatus"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select BD_LOG_STATUS_SEQ.nextval a FROM dual </selectKey> insert into BD_LOG_STATUS <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="logdate != null"> LOGDATE, </if> <if test="logstamp != null"> LOGSTAMP, </if> <if test="devicealias != null"> DEVICEALIAS, </if> <if test="status != null"> STATUS, </if> <if test="description != null"> DESCRIPTION, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="logdate != null"> #{logdate,jdbcType=VARCHAR}, </if> <if test="logstamp != null"> #{logstamp,jdbcType=VARCHAR}, </if> <if test="devicealias != null"> #{devicealias,jdbcType=VARCHAR}, </if> <if test="status != null"> #{status,jdbcType=DECIMAL}, </if> <if test="description != null"> #{description,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.BdLogStatus"> update BD_LOG_STATUS <set> <if test="logdate != null"> LOGDATE = #{logdate,jdbcType=VARCHAR}, </if> <if test="logstamp != null"> LOGSTAMP = #{logstamp,jdbcType=VARCHAR}, </if> <if test="devicealias != null"> DEVICEALIAS = #{devicealias,jdbcType=VARCHAR}, </if> <if test="status != null"> STATUS = #{status,jdbcType=DECIMAL}, </if> <if test="description != null"> DESCRIPTION = #{description,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.BdLogStatus"> update BD_LOG_STATUS set LOGDATE = #{logdate,jdbcType=VARCHAR}, LOGSTAMP = #{logstamp,jdbcType=VARCHAR}, DEVICEALIAS = #{devicealias,jdbcType=VARCHAR}, STATUS = #{status,jdbcType=DECIMAL}, DESCRIPTION = #{description,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from BD_LOG_STATUS where 1=1 <include refid="common.condition"></include> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de