Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysScheduledtaskMapper.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.ParSysScheduledtaskMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysScheduledtask"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="TYPE" jdbcType="VARCHAR" property="type" /> <result column="LIBCODE" jdbcType="VARCHAR" property="libcode" /> <result column="EXETIME" jdbcType="VARCHAR" property="exetime" /> <result column="PARAMJSON" jdbcType="VARCHAR" property="paramjson" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, TYPE, LIBCODE, EXETIME, PARAMJSON, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_SCHEDULEDTASK where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_SCHEDULEDTASK where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysScheduledtask"> insert into PAR_SYS_SCHEDULEDTASK (ID, TYPE, LIBCODE, EXETIME, PARAMJSON, NOTE ) values (#{id,jdbcType=DECIMAL}, #{type,jdbcType=VARCHAR}, #{libcode,jdbcType=VARCHAR}, #{exetime,jdbcType=VARCHAR}, #{paramjson,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR} ) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysScheduledtask"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select PAR_SYS_SCHEDULEDTASK_SEQ.nextval a FROM dual </selectKey> insert into PAR_SYS_SCHEDULEDTASK <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="type != null"> TYPE, </if> <if test="libcode != null"> LIBCODE, </if> <if test="exetime != null"> EXETIME, </if> <if test="paramjson != null"> PARAMJSON, </if> <if test="note != null"> NOTE, </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="libcode != null"> #{libcode,jdbcType=VARCHAR}, </if> <if test="exetime != null"> #{exetime,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> #{paramjson,jdbcType=VARCHAR}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysScheduledtask"> update PAR_SYS_SCHEDULEDTASK <set> <if test="type != null"> TYPE = #{type,jdbcType=VARCHAR}, </if> <if test="libcode != null"> LIBCODE = #{libcode,jdbcType=VARCHAR}, </if> <if test="exetime != null"> EXETIME = #{exetime,jdbcType=VARCHAR}, </if> <if test="paramjson != null"> PARAMJSON = #{paramjson,jdbcType=VARCHAR}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParSysScheduledtask"> update PAR_SYS_SCHEDULEDTASK set TYPE = #{type,jdbcType=VARCHAR}, LIBCODE = #{libcode,jdbcType=VARCHAR}, EXETIME = #{exetime,jdbcType=VARCHAR}, PARAMJSON = #{paramjson,jdbcType=VARCHAR}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysScheduledtask" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_SCHEDULEDTASK where 1=1 </select> <select id="listWithCondition" parameterType="com.jishen.common.SrchLimitEntity" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_SCHEDULEDTASK 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