You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
378 B

5 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.qyft.ms.system.mapper.RoleMapper">
  6. <select id="findByCode" resultType="com.qyft.ms.system.model.entity.Role">
  7. SELECT * FROM sys_role WHERE code = #{code}
  8. </select>
  9. </mapper>