8d73e917
陈威
初始化提交
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?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.BpmTaskCommuDao">
<resultMap id="BpmTaskCommu" type="com.hotent.bpm.persistence.model.BpmTaskCommu">
<id property="id" column="id_" jdbcType="VARCHAR"/>
<result property="instanceId" column="instance_id_" jdbcType="VARCHAR"/>
<result property="nodeName" column="node_name_" jdbcType="VARCHAR"/>
<result property="nodeId" column="node_id_" jdbcType="VARCHAR"/>
<result property="taskId" column="task_id_" jdbcType="VARCHAR"/>
<result property="senderId" column="sender_id_" jdbcType="VARCHAR"/>
<result property="sender" column="sender" jdbcType="VARCHAR"/>
<result property="createtime" column="createtime_" jdbcType="TIMESTAMP"/>
<result property="opinion" column="opinion_" jdbcType="VARCHAR"/>
</resultMap>
<select id="getByTaskId" parameterType="java.lang.String" resultMap="BpmTaskCommu">
SELECT * FROM bpm_task_commu
WHERE
task_id_=#{taskId}
</select>
<select id="getByInstId" parameterType="java.lang.String" resultMap="BpmTaskCommu">
SELECT * FROM bpm_task_commu
WHERE
INSTANCE_ID_=#{instId}
</select>
</mapper>
|