All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mapper.hist-task.xml Maven / Gradle / Ivy

There is a newer version: 2.5.1
Show 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="HistoryTask">
    <insert id="SAVE" parameterType="historytask">
    	insert into wf_hist_task (id,order_Id,task_Name,display_Name,task_Type,perform_Type,task_State,operator,create_Time,finish_Time,expire_Time,action_Url,parent_Task_Id,variable)
    	values (#{id, jdbcType=VARCHAR},#{orderId, jdbcType=VARCHAR},#{taskName, jdbcType=VARCHAR},
    	#{displayName, jdbcType=VARCHAR},#{taskType, jdbcType=NUMERIC},
    	#{performType, jdbcType=NUMERIC},#{taskState, jdbcType=NUMERIC},
    	#{operator, jdbcType=VARCHAR},#{createTime, jdbcType=VARCHAR},
    	#{finishTime, jdbcType=VARCHAR},#{expireTime, jdbcType=VARCHAR},
    	#{actionUrl, jdbcType=VARCHAR},#{parentTaskId, jdbcType=VARCHAR},#{variable, jdbcType=VARCHAR})
    </insert>
    <select id="SELECTONE" parameterType="string" resultType="historytask">
    	select 
            id,
            order_Id as orderId,
            task_Name as taskName,
            display_Name as displayName,
            task_Type as taskType,
            perform_Type as performType,
            task_State as taskState,
            operator,
            create_Time as createTime,
            finish_Time as finishTime,
            expire_Time as expireTime,
            action_Url as actionUrl,
            parent_Task_Id as parentTaskId,
            variable
        from wf_hist_task 
    	where id = #{id, jdbcType=VARCHAR}
    </select>
    <select id="SELECTLIST" resultType="historytask">
        select 
            id,
            order_Id as orderId,
            task_Name as taskName,
            display_Name as displayName,
            task_Type as taskType,
            perform_Type as performType,
            task_State as taskState,
            operator,
            create_Time as createTime,
            finish_Time as finishTime,
            expire_Time as expireTime,
            action_Url as actionUrl,
            parent_Task_Id as parentTaskId,
            variable
        from wf_hist_task 
    </select>
</mapper>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy