commit | author | age
|
a18bfa
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
Z |
2 |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
|
3 |
<mapper namespace="cn.autoform.web.mapper.process.ProcessTaskMapper"> |
|
4 |
|
|
5 |
<sql id="myCat"> |
|
6 |
/*!mycat:sql= select tenantid from FORMDATAMANAGER WHERE TENANTID = '${tenantID}' AND FORMID = '${formID}' */ |
|
7 |
</sql> |
|
8 |
|
|
9 |
|
|
10 |
<insert id="insertList"> |
|
11 |
|
|
12 |
INSERT INTO process_task ( |
|
13 |
work_item_id, |
|
14 |
process_def_id, |
|
15 |
process_def_name, |
|
16 |
process_ch_name, |
|
17 |
version, |
|
18 |
process_inst_id, |
|
19 |
process_inst_name, |
|
20 |
activity_inst_id, |
|
21 |
activity_inst_name, |
|
22 |
participant_id, |
|
23 |
participant_name, |
|
24 |
data_start, |
|
25 |
app_id, |
|
26 |
service_name, |
|
27 |
comp_id, |
|
28 |
company_name, |
|
29 |
TENANTID, |
|
30 |
tenant_name, |
|
31 |
information, |
|
32 |
limit_num, |
|
33 |
directory_id, |
|
34 |
directory_name, |
|
35 |
open_id, |
|
36 |
start_time, |
|
37 |
process_inst_start_time |
|
38 |
) |
|
39 |
VALUES |
|
40 |
(#{pro.workItemId},#{pro.processDefId},#{pro.processDefName},#{pro.processChName}, |
|
41 |
#{pro.version},#{pro.processInstId},#{pro.processInstName}, |
|
42 |
#{pro.activityInstId},#{pro.activityInstName},#{pro.participantId}, |
|
43 |
#{pro.participantName},#{pro.dataStart},#{pro.appId},#{pro.serviceName}, |
|
44 |
#{pro.compId},#{pro.companyName},#{pro.tenantId},#{pro.tenantName},#{pro.information}, |
|
45 |
#{pro.limitNum},#{pro.directoryId},#{pro.directoryName},#{pro.openId}, |
|
46 |
#{pro.startTime},#{pro.processInstStartTime}) |
|
47 |
|
|
48 |
</insert> |
|
49 |
|
|
50 |
<delete id="deleteTask"> |
|
51 |
DELETE from process_task |
|
52 |
</delete> |
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
</mapper> |