FileAndFolderHistoryMapper.xml 645 B

123456789101112131415
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.wtkj.mapper.FileAndFolderHistoryMapper">
  4. <select id="selectByLatestId" resultType="com.wtkj.entity.FileAndFolderHistory">
  5. select * from blade_file_and_folder_history where is_deleted = 0 and latest_id = #{param}
  6. </select>
  7. <select id="getPage" resultType="com.wtkj.entity.FileAndFolderHistory">
  8. select * from blade_file_and_folder_history where is_deleted = 0 and latest_id = #{param1}
  9. order by create_time desc
  10. </select>
  11. </mapper>