diff options
Diffstat (limited to 'src/main/resources/mapper/SysConfigDao.xml')
| -rw-r--r-- | src/main/resources/mapper/SysConfigDao.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/mapper/SysConfigDao.xml b/src/main/resources/mapper/SysConfigDao.xml new file mode 100644 index 0000000..4b92e6b --- /dev/null +++ b/src/main/resources/mapper/SysConfigDao.xml @@ -0,0 +1,16 @@ +<?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="com.nis.dao.SysConfigDao"> + <resultMap type="com.nis.entity.SysConfig" id="sysConfig"> + <result property="id" column="id"/> + <result property="paramKey" column="param_key"/> + <result property="paramValue" column="param_value"/> + <result property="status" column="status"/> + <result property="remark" column="remark"/> + </resultMap> + + <select id="selectList" resultMap="sysConfig"> + select * from sys_config where status=1 + </select> + +</mapper>
\ No newline at end of file |
