| 12345678910111213141516171819202122232425262728 |
- <?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.xunmei.system.operating.mapper.IOperatingManualMapper">
- <select id="selectPageData" resultType="com.xunmei.system.operating.domain.OperatingManual">
- select
- a.id,
- a.source_id,
- b.source_name,
- a.file_url,
- a.file_name,
- a.file_type,
- a.sort,
- a.create_by,
- a.create_time,
- a.update_by,
- a.update_time
- from sys_operating a
- LEFT JOIN sys_operating_type b on a.source_id = b.id
- where 1=1
- <if test="request.sourceId">
- and a.source_id = ${request.sourceId}
- </if>
- ORDER BY b.sort,a.sort
- </select>
- </mapper>
|