
com.penging.tms.common.repository.TmsProcControlEntityMapper.xml Maven / Gradle / Ivy
The newest version!
<?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.penging.tms.common.repository.TmsProcControlEntityMapper" > <resultMap id="BaseResultMap" type="com.penging.tms.common.entity.TmsProcControlEntity" > <id column="cod_id" property="codId" jdbcType="BIGINT" /> <result column="cod_process_id" property="codProcessId" jdbcType="VARCHAR" /> <result column="txt_process_name" property="txtProcessName" jdbcType="VARCHAR" /> <result column="cod_process_class" property="codProcessClass" jdbcType="VARCHAR" /> <result column="cod_process_type" property="codProcessType" jdbcType="INTEGER" /> <result column="cod_process_seq" property="codProcessSeq" jdbcType="INTEGER" /> <result column="cod_process_freq" property="codProcessFreq" jdbcType="INTEGER" /> <result column="cod_threads" property="codThreads" jdbcType="INTEGER" /> <result column="cod_handle" property="codHandle" jdbcType="INTEGER" /> <result column="cod_num_commit" property="codNumCommit" jdbcType="INTEGER" /> <result column="cod_process_status" property="codProcessStatus" jdbcType="VARCHAR" /> <result column="dat_last_process" property="datLastProcess" jdbcType="TIMESTAMP" /> <result column="dat_process" property="datProcess" jdbcType="TIMESTAMP" /> <result column="dat_next_process" property="datNextProcess" jdbcType="TIMESTAMP" /> <result column="dat_create" property="datCreate" jdbcType="TIMESTAMP" /> <result column="cod_create_user" property="codCreateUser" jdbcType="VARCHAR" /> <result column="cod_create_org" property="codCreateOrg" jdbcType="VARCHAR" /> <result column="dat_modify" property="datModify" jdbcType="TIMESTAMP" /> <result column="cod_modify_user" property="codModifyUser" jdbcType="VARCHAR" /> <result column="cod_modify_org" property="codModifyOrg" jdbcType="VARCHAR" /> <result column="ctr_update_srlno" property="ctrUpdateSrlno" jdbcType="INTEGER" /> </resultMap> <sql id="Base_Column_List" > cod_id, cod_process_id, txt_process_name, cod_process_class, cod_process_type, cod_process_seq, cod_process_freq, cod_threads, cod_handle, cod_num_commit, cod_process_status, dat_last_process, dat_process, dat_next_process, dat_create, cod_create_user, cod_create_org, dat_modify, cod_modify_user, cod_modify_org, ctr_update_srlno </sql> <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" > select <include refid="Base_Column_List" /> from tms_proc_control where cod_id = #{codId,jdbcType=BIGINT} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long" > delete from tms_proc_control where cod_id = #{codId,jdbcType=BIGINT} </delete> <insert id="insert" parameterType="com.penging.tms.common.entity.TmsProcControlEntity" > insert into tms_proc_control (cod_id, cod_process_id, txt_process_name, cod_process_class, cod_process_type, cod_process_seq, cod_process_freq, cod_threads, cod_handle, cod_num_commit, cod_process_status, dat_last_process, dat_process, dat_next_process, dat_create, cod_create_user, cod_create_org, dat_modify, cod_modify_user, cod_modify_org, ctr_update_srlno ) values (#{codId,jdbcType=BIGINT}, #{codProcessId,jdbcType=VARCHAR}, #{txtProcessName,jdbcType=VARCHAR}, #{codProcessClass,jdbcType=VARCHAR}, #{codProcessType,jdbcType=INTEGER}, #{codProcessSeq,jdbcType=INTEGER}, #{codProcessFreq,jdbcType=INTEGER}, #{codThreads,jdbcType=INTEGER}, #{codHandle,jdbcType=INTEGER}, #{codNumCommit,jdbcType=INTEGER}, #{codProcessStatus,jdbcType=VARCHAR}, #{datLastProcess,jdbcType=TIMESTAMP}, #{datProcess,jdbcType=TIMESTAMP}, #{datNextProcess,jdbcType=TIMESTAMP}, #{datCreate,jdbcType=TIMESTAMP}, #{codCreateUser,jdbcType=VARCHAR}, #{codCreateOrg,jdbcType=VARCHAR}, #{datModify,jdbcType=TIMESTAMP}, #{codModifyUser,jdbcType=VARCHAR}, #{codModifyOrg,jdbcType=VARCHAR}, #{ctrUpdateSrlno,jdbcType=INTEGER} ) </insert> <insert id="insertSelective" parameterType="com.penging.tms.common.entity.TmsProcControlEntity" > insert into tms_proc_control <trim prefix="(" suffix=")" suffixOverrides="," > <if test="codId != null" > cod_id, </if> <if test="codProcessId != null" > cod_process_id, </if> <if test="txtProcessName != null" > txt_process_name, </if> <if test="codProcessClass != null" > cod_process_class, </if> <if test="codProcessType != null" > cod_process_type, </if> <if test="codProcessSeq != null" > cod_process_seq, </if> <if test="codProcessFreq != null" > cod_process_freq, </if> <if test="codThreads != null" > cod_threads, </if> <if test="codHandle != null" > cod_handle, </if> <if test="codNumCommit != null" > cod_num_commit, </if> <if test="codProcessStatus != null" > cod_process_status, </if> <if test="datLastProcess != null" > dat_last_process, </if> <if test="datProcess != null" > dat_process, </if> <if test="datNextProcess != null" > dat_next_process, </if> <if test="datCreate != null" > dat_create, </if> <if test="codCreateUser != null" > cod_create_user, </if> <if test="codCreateOrg != null" > cod_create_org, </if> <if test="datModify != null" > dat_modify, </if> <if test="codModifyUser != null" > cod_modify_user, </if> <if test="codModifyOrg != null" > cod_modify_org, </if> <if test="ctrUpdateSrlno != null" > ctr_update_srlno, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides="," > <if test="codId != null" > #{codId,jdbcType=BIGINT}, </if> <if test="codProcessId != null" > #{codProcessId,jdbcType=VARCHAR}, </if> <if test="txtProcessName != null" > #{txtProcessName,jdbcType=VARCHAR}, </if> <if test="codProcessClass != null" > #{codProcessClass,jdbcType=VARCHAR}, </if> <if test="codProcessType != null" > #{codProcessType,jdbcType=INTEGER}, </if> <if test="codProcessSeq != null" > #{codProcessSeq,jdbcType=INTEGER}, </if> <if test="codProcessFreq != null" > #{codProcessFreq,jdbcType=INTEGER}, </if> <if test="codThreads != null" > #{codThreads,jdbcType=INTEGER}, </if> <if test="codHandle != null" > #{codHandle,jdbcType=INTEGER}, </if> <if test="codNumCommit != null" > #{codNumCommit,jdbcType=INTEGER}, </if> <if test="codProcessStatus != null" > #{codProcessStatus,jdbcType=VARCHAR}, </if> <if test="datLastProcess != null" > #{datLastProcess,jdbcType=TIMESTAMP}, </if> <if test="datProcess != null" > #{datProcess,jdbcType=TIMESTAMP}, </if> <if test="datNextProcess != null" > #{datNextProcess,jdbcType=TIMESTAMP}, </if> <if test="datCreate != null" > #{datCreate,jdbcType=TIMESTAMP}, </if> <if test="codCreateUser != null" > #{codCreateUser,jdbcType=VARCHAR}, </if> <if test="codCreateOrg != null" > #{codCreateOrg,jdbcType=VARCHAR}, </if> <if test="datModify != null" > #{datModify,jdbcType=TIMESTAMP}, </if> <if test="codModifyUser != null" > #{codModifyUser,jdbcType=VARCHAR}, </if> <if test="codModifyOrg != null" > #{codModifyOrg,jdbcType=VARCHAR}, </if> <if test="ctrUpdateSrlno != null" > #{ctrUpdateSrlno,jdbcType=INTEGER}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.penging.tms.common.entity.TmsProcControlEntity" > update tms_proc_control <set > <if test="codProcessId != null" > cod_process_id = #{codProcessId,jdbcType=VARCHAR}, </if> <if test="txtProcessName != null" > txt_process_name = #{txtProcessName,jdbcType=VARCHAR}, </if> <if test="codProcessClass != null" > cod_process_class = #{codProcessClass,jdbcType=VARCHAR}, </if> <if test="codProcessType != null" > cod_process_type = #{codProcessType,jdbcType=INTEGER}, </if> <if test="codProcessSeq != null" > cod_process_seq = #{codProcessSeq,jdbcType=INTEGER}, </if> <if test="codProcessFreq != null" > cod_process_freq = #{codProcessFreq,jdbcType=INTEGER}, </if> <if test="codThreads != null" > cod_threads = #{codThreads,jdbcType=INTEGER}, </if> <if test="codHandle != null" > cod_handle = #{codHandle,jdbcType=INTEGER}, </if> <if test="codNumCommit != null" > cod_num_commit = #{codNumCommit,jdbcType=INTEGER}, </if> <if test="codProcessStatus != null" > cod_process_status = #{codProcessStatus,jdbcType=VARCHAR}, </if> <if test="datLastProcess != null" > dat_last_process = #{datLastProcess,jdbcType=TIMESTAMP}, </if> <if test="datProcess != null" > dat_process = #{datProcess,jdbcType=TIMESTAMP}, </if> <if test="datNextProcess != null" > dat_next_process = #{datNextProcess,jdbcType=TIMESTAMP}, </if> <if test="datCreate != null" > dat_create = #{datCreate,jdbcType=TIMESTAMP}, </if> <if test="codCreateUser != null" > cod_create_user = #{codCreateUser,jdbcType=VARCHAR}, </if> <if test="codCreateOrg != null" > cod_create_org = #{codCreateOrg,jdbcType=VARCHAR}, </if> <if test="datModify != null" > dat_modify = #{datModify,jdbcType=TIMESTAMP}, </if> <if test="codModifyUser != null" > cod_modify_user = #{codModifyUser,jdbcType=VARCHAR}, </if> <if test="codModifyOrg != null" > cod_modify_org = #{codModifyOrg,jdbcType=VARCHAR}, </if> <if test="ctrUpdateSrlno != null" > ctr_update_srlno = #{ctrUpdateSrlno,jdbcType=INTEGER}, </if> </set> where cod_id = #{codId,jdbcType=BIGINT} </update> <update id="updateByPrimaryKey" parameterType="com.penging.tms.common.entity.TmsProcControlEntity" > update tms_proc_control set cod_process_id = #{codProcessId,jdbcType=VARCHAR}, txt_process_name = #{txtProcessName,jdbcType=VARCHAR}, cod_process_class = #{codProcessClass,jdbcType=VARCHAR}, cod_process_type = #{codProcessType,jdbcType=INTEGER}, cod_process_seq = #{codProcessSeq,jdbcType=INTEGER}, cod_process_freq = #{codProcessFreq,jdbcType=INTEGER}, cod_threads = #{codThreads,jdbcType=INTEGER}, cod_handle = #{codHandle,jdbcType=INTEGER}, cod_num_commit = #{codNumCommit,jdbcType=INTEGER}, cod_process_status = #{codProcessStatus,jdbcType=VARCHAR}, dat_last_process = #{datLastProcess,jdbcType=TIMESTAMP}, dat_process = #{datProcess,jdbcType=TIMESTAMP}, dat_next_process = #{datNextProcess,jdbcType=TIMESTAMP}, dat_create = #{datCreate,jdbcType=TIMESTAMP}, cod_create_user = #{codCreateUser,jdbcType=VARCHAR}, cod_create_org = #{codCreateOrg,jdbcType=VARCHAR}, dat_modify = #{datModify,jdbcType=TIMESTAMP}, cod_modify_user = #{codModifyUser,jdbcType=VARCHAR}, cod_modify_org = #{codModifyOrg,jdbcType=VARCHAR}, ctr_update_srlno = #{ctrUpdateSrlno,jdbcType=INTEGER} where cod_id = #{codId,jdbcType=BIGINT} </update> </mapper>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy