|
|
@ -51,12 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<select id="pageBusinessAlertCancel" resultType="org.dromara.business.domain.BusinessAlert"> |
|
|
|
select t.* from ( |
|
|
|
select |
|
|
|
ba.*, |
|
|
|
b.flow_status flowStatus, |
|
|
|
b.business_id businessId, |
|
|
|
b.id instanceId |
|
|
|
ba.* |
|
|
|
from ${tbPrefix.tableBusiness}.business_alert ba |
|
|
|
inner join ${tbPrefix.tableWorkflow}.flow_instance b on ba.id = b.business_id |
|
|
|
) t |
|
|
|
${ew.getCustomSqlSegment} |
|
|
|
</select> |
|
|
|