- <?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.platform.dao.mapper.upms.SysDictMapper">
- <select id="selectType" resultType="java.lang.String">
- SELECT distinct(type) as type FROM t_sys_dict;
- </select>
- <select id="selectTreeByDTO"
- resultType="com.platform.dao.entity.upms.SysDict">
- SELECT * from t_sys_dict
- group by type
- </select>
- </mapper>
|