- <?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.wtkj.mapper.FileAndFolderHistoryMapper">
- <select id="selectByLatestId" resultType="com.wtkj.entity.FileAndFolderHistory">
- select * from blade_file_and_folder_history where is_deleted = 0 and latest_id = #{param}
- </select>
- <select id="getPage" resultType="com.wtkj.entity.FileAndFolderHistory">
- select * from blade_file_and_folder_history where is_deleted = 0 and latest_id = #{param1}
- order by create_time desc
- </select>
- </mapper>
|