mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-04 12:56:07 +00:00
v3.7.0 (2024-09-28) Java17+SpringBoot3重磅更新,【新增】支持Java17;【新增】支持SpringBoot3;【优化】优化AES和SM4加密;【优化】优化三级等保文档;
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="net.lab1024.sa.base.module.support.job.repository.SmartJobDao">
|
||||
|
||||
<!-- 定时任务-分页查询 -->
|
||||
<select id="query" resultType="net.lab1024.sa.base.module.support.job.api.domain.SmartJobVO">
|
||||
SELECT *
|
||||
FROM t_smart_job
|
||||
<where>
|
||||
<if test="query.searchWord != null and query.searchWord != ''">
|
||||
AND ( INSTR(job_name,#{query.searchWord})
|
||||
OR INSTR(job_class,#{query.searchWord})
|
||||
OR INSTR(trigger_value,#{query.searchWord})
|
||||
)
|
||||
</if>
|
||||
<if test="query.triggerType != null">
|
||||
AND trigger_type = #{query.triggerType}
|
||||
</if>
|
||||
<if test="query.enabledFlag != null">
|
||||
AND enabled_flag = #{query.enabledFlag}
|
||||
</if>
|
||||
</where>
|
||||
<if test="query.sortItemList == null or query.sortItemList.size == 0">
|
||||
ORDER BY sort ASC,job_id DESC
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user