FileCQuery.xml 642 B

123456789101112
  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.bowintek.smartsearch.mapper.cquery.FileCQuery">
  4. <select id="getList" resultType="com.bowintek.smartsearch.vo.system.FileModel">
  5. select f.fileId,f.fileName,f.fileSuffix,f.fileUrl,f.fileType,f.fileNote,f.sFileId,f.userID,f.fileRefID,f.createTime
  6. ,user.Name as userName
  7. from cf_file f
  8. left join sys_user user on f.userID = user.UserID
  9. where 1=1 and f.fileRefID = #{fileRefID}
  10. order by f.createTime
  11. </select>
  12. </mapper>