mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-15 07:03:48 +08:00
2.0的js版本和后端 完成
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.common.module.support.config.ConfigDao">
|
||||
<!-- 分页查询系统配置 -->
|
||||
<select id="queryByPage" resultType="net.lab1024.sa.common.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.common.module.support.config.domain.ConfigEntity">
|
||||
SELECT *
|
||||
FROM t_config
|
||||
WHERE config_key = #{key}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user