| | |
| | | <mapper namespace="org.jeecg.modules.flowable.apithird.business.mapper.FlowMyBusinessMapper"> |
| | | <select id="PageList" resultType="org.jeecg.modules.flowable.apithird.business.dto.FlowMyBusinessDto"> |
| | | SELECT |
| | | flow_my_business.*, |
| | | ACT_HI_PROCINST.START_TIME_ as start_time, |
| | | ACT_HI_PROCINST.END_TIME_ as end_time, |
| | | ACT_RE_PROCDEF.NAME_ as flowName, |
| | | ACT_RE_PROCDEF.CATEGORY_ as category |
| | | flow_my_business.id, |
| | | flow_my_business.title, |
| | | flow_my_business.proposer, |
| | | flow_my_business.task_name, |
| | | flow_my_business.task_id, |
| | | ACT_RU_TASK.ASSIGNEE_ as todoUsers, |
| | | flow_my_business.done_Users, |
| | | ACT_HI_PROCINST.START_TIME_ AS start_time, |
| | | ACT_HI_PROCINST.END_TIME_ AS end_time, |
| | | ACT_RE_PROCDEF.NAME_ AS flowName, |
| | | ACT_RE_PROCDEF.CATEGORY_ AS category |
| | | FROM |
| | | flow_my_business |
| | | LEFT JOIN ACT_HI_PROCINST ON flow_my_business.process_instance_id = ACT_HI_PROCINST.ID_ |
| | | LEFT JOIN ACT_RE_PROCDEF ON flow_my_business.process_definition_id = ACT_RE_PROCDEF.ID_ |
| | | where |
| | | 1 = 1 |
| | | flow_my_business |
| | | LEFT JOIN ACT_HI_PROCINST ON flow_my_business.process_instance_id = ACT_HI_PROCINST.ID_ |
| | | LEFT JOIN ACT_RE_PROCDEF ON flow_my_business.process_definition_id = ACT_RE_PROCDEF.ID_ |
| | | left join ACT_RU_TASK on flow_my_business.task_id = ACT_RU_TASK.ID_ |
| | | WHERE |
| | | 1 = 1 |
| | | <if test="flowMyBusinessDto.category != null and flowMyBusinessDto.category != ''"> |
| | | and ACT_RE_PROCDEF.CATEGORY_ = #{flowMyBusinessDto.category} |
| | | </if> |