New file |
| | |
| | | <?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.moral.mapper.OperateUserMapper"> |
| | | |
| | | <select id="findOperateUserList" resultType="com.moral.entity.OperateUser"> |
| | | SELECT |
| | | * |
| | | FROM |
| | | operate_user |
| | | </select> |
| | | |
| | | <select id="findOperateUserCount" resultType="java.lang.Long"> |
| | | SELECT |
| | | count(1) |
| | | FROM |
| | | operate_user |
| | | </select> |
| | | |
| | | <select id="findOperateUser" resultType="com.moral.entity.OperateUser"> |
| | | SELECT |
| | | * |
| | | FROM |
| | | operate_user |
| | | WHERE |
| | | id = #{id} |
| | | </select> |
| | | |
| | | </mapper> |