Merge branch 'master' into docker_package
This commit is contained in:
commit
0c6028ec75
|
@ -29,12 +29,20 @@
|
|||
</resultMap>
|
||||
|
||||
<select id="getMyProcessInstancePage" parameterType="map" resultMap="ProcessActivityEntity">
|
||||
SELECT aht.*, arp.NAME_ as DEF_NAME, ahp.BUSINESS_KEY_, ahp.START_TIME_, ahp.END_TIME_,
|
||||
ahp.START_USER_ID_, arp.VERSION_ as DEF_VERSION_
|
||||
FROM (SELECT DISTINCT PROC_DEF_ID_, PROC_INST_ID_,ASSIGNEE_ FROM ACT_HI_TASKINST) aht
|
||||
LEFT JOIN ACT_HI_PROCINST ahp on aht.PROC_INST_ID_ = ahp.PROC_INST_ID_
|
||||
LEFT JOIN ACT_RE_PROCDEF arp on aht.PROC_DEF_ID_ = arp.ID_
|
||||
WHERE aht.ASSIGNEE_ = #{userId}
|
||||
SELECT
|
||||
aht.*,
|
||||
arp.NAME_ AS DEF_NAME,
|
||||
ahp.BUSINESS_KEY_,
|
||||
ahp.START_TIME_,
|
||||
ahp.END_TIME_,
|
||||
ahp.START_USER_ID_,
|
||||
arp.VERSION_ AS DEF_VERSION_
|
||||
FROM
|
||||
( SELECT DISTINCT PROC_DEF_ID_, PROC_INST_ID_, ASSIGNEE_ FROM ACT_HI_TASKINST ) aht
|
||||
LEFT JOIN ACT_HI_PROCINST ahp ON aht.PROC_INST_ID_ = ahp.PROC_INST_ID_
|
||||
LEFT JOIN ACT_RE_PROCDEF arp ON aht.PROC_DEF_ID_ = arp.ID_
|
||||
WHERE
|
||||
aht.ASSIGNEE_ = #{userId}
|
||||
<if test="processInstanceId != null">
|
||||
and aht.PROC_INST_ID_ = #{processInstanceId}
|
||||
</if>
|
||||
|
|
Loading…
Reference in New Issue