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,22 @@
|
||||
<?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.config.ConfigDao">
|
||||
<!-- 分页查询系统配置 -->
|
||||
<select id="queryByPage" resultType="net.lab1024.sa.base.module.support.config.domain.ConfigEntity">
|
||||
SELECT *
|
||||
FROM t_config
|
||||
<where>
|
||||
<if test="query.configKey != null and query.configKey != ''">
|
||||
AND INSTR(config_key,#{query.configKey})
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<!-- 根据key查询获取数据 -->
|
||||
<select id="selectByKey" resultType="net.lab1024.sa.base.module.support.config.domain.ConfigEntity">
|
||||
SELECT *
|
||||
FROM t_config
|
||||
WHERE config_key = #{key}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user