| | |
| | | atask.proc_inst_id_ AS procInstId, |
| | | atask.proc_def_id_ AS procDefId, |
| | | atask.name_ AS name, |
| | | atask.task_def_key_ AS taskDefKey, |
| | | su.realname AS assignee, |
| | | atask.task_def_key_ as taskDefKey, |
| | | su.realname as assignee, |
| | | atask.priority_ AS priority, |
| | | atask.create_time_ AS createTime, |
| | | atask.suspension_state_ AS suspensionState, |
| | | fmb.act_status AS actStatus, |
| | | fmb.title AS title, |
| | | fmb.data_id AS dataId, |
| | | pro.name_ as flowName |
| | | fmb.process_definition_key AS processDefinitionKey, |
| | | fmb.process_definition_id AS processDefinitionId, |
| | | fmb.process_instance_id AS processInstanceId, |
| | | pro.name_ as flowName, |
| | | pro.CATEGORY_ as category |
| | | FROM |
| | | act_ru_task AS atask, |
| | | flow_my_business AS fmb, |
| | |
| | | <if test="flowMy.endTime!= null and flowMy.endTime!= ''"> |
| | | AND atask.create_time_ <= #{flowMy.endTime} |
| | | </if> |
| | | <if test="flowMy.category!= null and flowMy.category!= ''"> |
| | | AND pro.CATEGORY_ = #{flowMy.category} |
| | | </if> |
| | | ORDER BY |
| | | create_time_ DESC |
| | | </select> |