mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-03 12:34:41 +00:00
v3.12【新增】标签页Chome模式;【优化】优化很多细节
This commit is contained in:
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import jakarta.annotation.Resource;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
|
||||
@@ -49,5 +49,4 @@ public interface ${name.upperCamel}Dao extends BaseMapper<${name.upperCamel}Enti
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ spring:
|
||||
host: smtp.163.com
|
||||
port: 465
|
||||
username: lab1024@163.com
|
||||
password: ROIMSIQCEXHTQFTA
|
||||
password: LAB1024LAB
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
<!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">
|
||||
|
||||
<update id="updateDeletedFlag">
|
||||
update t_smart_job
|
||||
set deleted_flag = #{deletedFlag}
|
||||
where job_id = #{jobId}
|
||||
</update>
|
||||
|
||||
<!-- 定时任务-分页查询 -->
|
||||
<select id="query" resultType="net.lab1024.sa.base.module.support.job.api.domain.SmartJobVO">
|
||||
SELECT *
|
||||
@@ -19,10 +25,19 @@
|
||||
<if test="query.enabledFlag != null">
|
||||
AND enabled_flag = #{query.enabledFlag}
|
||||
</if>
|
||||
<if test="query.deletedFlag != null">
|
||||
AND deleted_flag = #{query.deletedFlag}
|
||||
</if>
|
||||
</where>
|
||||
<if test="query.sortItemList == null or query.sortItemList.size == 0">
|
||||
ORDER BY sort ASC,job_id DESC
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectByJobClass" resultType="net.lab1024.sa.base.module.support.job.repository.domain.SmartJobEntity">
|
||||
SELECT *
|
||||
FROM t_smart_job
|
||||
WHERE job_class = #{jobClass}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -21,18 +21,19 @@ spring:
|
||||
pointcut: net.lab1024.sa..*Service.*
|
||||
|
||||
# redis 连接池配置信息
|
||||
redis:
|
||||
database: 1
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password:
|
||||
timeout: 10000ms
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 100
|
||||
min-idle: 10
|
||||
max-idle: 50
|
||||
max-wait: 30000ms
|
||||
data:
|
||||
redis:
|
||||
database: 1
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password:
|
||||
timeout: 10000ms
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 100
|
||||
min-idle: 10
|
||||
max-idle: 50
|
||||
max-wait: 30000ms
|
||||
# 邮件,置以SSL的方式发送, 这个需要使用这种方式并且端口是465
|
||||
mail:
|
||||
host: smtp.163.com
|
||||
|
||||
Reference in New Issue
Block a user