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