<?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.artfess.bpm.persistence.dao.BoDataModifyRecordDao">
	<resultMap id="BoDataModifyRecord" type="com.artfess.bpm.model.BoDataModifyRecord">
		<id property="id" column="ID_" jdbcType="VARCHAR"/>
		<result property="userId" column="USER_ID_" jdbcType="VARCHAR"/>
		<result property="userName" column="USER_NAME_" jdbcType="VARCHAR"/>
		<result property="instId" column="INST_ID_" jdbcType="VARCHAR"/>
		<result property="taskId" column="TASK_ID_" jdbcType="VARCHAR"/>
		<result property="taskName" column="TASK_NAME_" jdbcType="VARCHAR"/>
		<result property="nodeId" column="NODE_ID_" jdbcType="VARCHAR"/>
		<result property="modifyTime" column="MODIFY_TIME_" jdbcType="TIMESTAMP"/>
		<result property="ip" column="IP_" jdbcType="VARCHAR"/>
		<result property="detail" column="DETAIL_" jdbcType="LONGVARCHAR"/>
		<result property="reason" column="REASON_" jdbcType="VARCHAR"/>
	</resultMap>
	
	<select id="getListByRefId" resultMap="BoDataModifyRecord">
		SELECT * FROM bpm_form_modify_record WHERE REF_ID_=#{refId,jdbcType=VARCHAR}
	</select>
	
</mapper>