BpmExeStackHisMapper.xml 1.58 KB
<?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.hotent.bpm.persistence.dao.BpmExeStackHisDao">
	<resultMap id="BpmExeStackHis" type="com.hotent.bpm.persistence.model.BpmExeStackHis">
		<id property="id" column="id_" jdbcType="VARCHAR" />
		<result property="prcoDefId" column="prco_def_id_" jdbcType="VARCHAR" />
		<result property="nodeId" column="node_id_" jdbcType="VARCHAR" />
		<result property="nodeName" column="node_name_" jdbcType="VARCHAR" />
		<result property="startTime" column="start_time_" jdbcType="TIMESTAMP" />
		<result property="endTime" column="end_time" jdbcType="TIMESTAMP" />
		<result property="isMulitiTask" column="is_muliti_task_"
			jdbcType="NUMERIC" />
		<result property="parentId" column="parent_id_" jdbcType="VARCHAR" />
		<result property="procInstId" column="proc_inst_id_" jdbcType="VARCHAR" />
		<result property="nodePath" column="node_path_" jdbcType="VARCHAR" />
		<result property="taskToken" column="task_token_" jdbcType="VARCHAR" />
		<result property="targetNode" column="TARGET_NODE_" jdbcType="VARCHAR" />
		<result property="targetToken" column="TARGET_TOKEN_" jdbcType="VARCHAR" />
		<result property="interpose" column="INTERPOSE_" jdbcType="NUMERIC" />
		<result property="nodeType" column="node_type_" jdbcType="VARCHAR" />
	</resultMap>

	<!-- 驳回撤回恢复数据 -->
	<select id="getStackByInstId" resultMap="BpmExeStackHis">
		select
		*
		from bpm_exe_stack_his
		WHERE
		proc_inst_id_=#{procInstId,jdbcType=VARCHAR}
	</select>

</mapper>