Merge branch 'dev' into v1.18
This commit is contained in:
commit
dfce6ff5b4
@ -83,6 +83,22 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="userTaskList_COUNT" resultType="LONG">
|
||||||
|
SELECT count(0)
|
||||||
|
FROM dataset_table_task
|
||||||
|
left join dataset_table on dataset_table.id=dataset_table_task.table_id
|
||||||
|
left join qrtz_triggers on dataset_table_task.id=qrtz_triggers.TRIGGER_NAME
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="io.dataease.ext.query.GridSql.taskListGridCondition"/>
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause != null">
|
||||||
|
order by ${orderByClause}
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause == null">
|
||||||
|
order by dataset_table_task.create_time desc
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
|
||||||
<select id="taskWithTriggers" resultMap="TaskResult" parameterType="io.dataease.ext.query.GridExample">
|
<select id="taskWithTriggers" resultMap="TaskResult" parameterType="io.dataease.ext.query.GridExample">
|
||||||
SELECT dataset_table.name as table_name, get_auths(dataset_table_task.table_id,'dataset', #{extendCondition}) as
|
SELECT dataset_table.name as table_name, get_auths(dataset_table_task.table_id,'dataset', #{extendCondition}) as
|
||||||
`privileges`,dataset_table_task.* , qrtz_triggers.NEXT_FIRE_TIME
|
`privileges`,dataset_table_task.* , qrtz_triggers.NEXT_FIRE_TIME
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user