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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| <?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="cn.autoform.web.mapper.process.ProcessTaskMapper">
|
| <sql id="myCat">
| /*!mycat:sql= select tenantid from FORMDATAMANAGER WHERE TENANTID = '${tenantID}' AND FORMID = '${formID}' */
| </sql>
|
|
| <insert id="insertList">
|
| INSERT INTO process_task (
| work_item_id,
| process_def_id,
| process_def_name,
| process_ch_name,
| version,
| process_inst_id,
| process_inst_name,
| activity_inst_id,
| activity_inst_name,
| participant_id,
| participant_name,
| data_start,
| app_id,
| service_name,
| comp_id,
| company_name,
| TENANTID,
| tenant_name,
| information,
| limit_num,
| directory_id,
| directory_name,
| open_id,
| start_time,
| process_inst_start_time
| )
| VALUES
| (#{pro.workItemId},#{pro.processDefId},#{pro.processDefName},#{pro.processChName},
| #{pro.version},#{pro.processInstId},#{pro.processInstName},
| #{pro.activityInstId},#{pro.activityInstName},#{pro.participantId},
| #{pro.participantName},#{pro.dataStart},#{pro.appId},#{pro.serviceName},
| #{pro.compId},#{pro.companyName},#{pro.tenantId},#{pro.tenantName},#{pro.information},
| #{pro.limitNum},#{pro.directoryId},#{pro.directoryName},#{pro.openId},
| #{pro.startTime},#{pro.processInstStartTime})
|
| </insert>
|
| <delete id="deleteTask">
| DELETE from process_task
| </delete>
|
|
|
|
|
|
|
| </mapper>
|
|