| <?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="doumeemes.dao.ext.MultifilesExtMapper"> | 
|   | 
|   <!-- 管理页面查询 --> | 
|   <resultMap id="MultifilesExtListVO" type="doumeemes.dao.ext.vo.MultifilesExtListVO" autoMapping="true"> | 
|     <id column="ID" jdbcType="INTEGER" property="id"/> | 
|   </resultMap> | 
|   <select id="selectList" parameterType="doumeemes.dao.ext.dto.QueryMultifilesExtDTO" resultMap="MultifilesExtListVO"> | 
|     SELECT | 
|       `multifiles`.`ID`, | 
|       `multifiles`.`DELETED`, | 
|       `multifiles`.`CREATE_USER`, | 
|       `multifiles`.`CREATE_TIME`, | 
|       `multifiles`.`UPDATE_USER`, | 
|       `multifiles`.`UPDATE_TIME`, | 
|       `multifiles`.`REMARK`, | 
|       `multifiles`.`ROOT_DEPART_ID`, | 
|       `multifiles`.`COM_DEPART_ID`, | 
|       `multifiles`.`FILEURL`, | 
|       `multifiles`.`TYPE`, | 
|       `multifiles`.`FILENAME`, | 
|       `multifiles`.`FILESIZE`, | 
|       `multifiles`.`OBJID`, | 
|       `multifiles`.`OBJTYPE` | 
|     FROM `multifiles` `multifiles` | 
|     <where> | 
|       <if test="id != null"> | 
|         AND `multifiles`.`ID` = #{id} | 
|       </if> | 
|       <if test="deleted != null"> | 
|         AND `multifiles`.`DELETED` = #{deleted} | 
|       </if> | 
|       <if test="createUser != null"> | 
|         AND `multifiles`.`CREATE_USER` = #{createUser} | 
|       </if> | 
|       <if test="createTime != null"> | 
|         AND `multifiles`.`CREATE_TIME` = #{createTime} | 
|       </if> | 
|       <if test="updateUser != null"> | 
|         AND `multifiles`.`UPDATE_USER` = #{updateUser} | 
|       </if> | 
|       <if test="updateTime != null"> | 
|         AND `multifiles`.`UPDATE_TIME` = #{updateTime} | 
|       </if> | 
|       <if test="remark != null and remark != ''"> | 
|         AND `multifiles`.`REMARK` = #{remark} | 
|       </if> | 
|       <if test="rootDepartId != null"> | 
|         AND `multifiles`.`ROOT_DEPART_ID` = #{rootDepartId} | 
|       </if> | 
|       <if test="comDepartId != null"> | 
|         AND `multifiles`.`COM_DEPART_ID` = #{comDepartId} | 
|       </if> | 
|       <if test="fileurl != null and fileurl != ''"> | 
|         AND `multifiles`.`FILEURL` = #{fileurl} | 
|       </if> | 
|       <if test="type != null"> | 
|         AND `multifiles`.`TYPE` = #{type} | 
|       </if> | 
|       <if test="filename != null and filename != ''"> | 
|         AND `multifiles`.`FILENAME` = #{filename} | 
|       </if> | 
|       <if test="filesize != null"> | 
|         AND `multifiles`.`FILESIZE` = #{filesize} | 
|       </if> | 
|       <if test="objid != null"> | 
|         AND `multifiles`.`OBJID` = #{objid} | 
|       </if> | 
|       <if test="objtype != null"> | 
|         AND `multifiles`.`OBJTYPE` = #{objtype} | 
|       </if> | 
|     </where> | 
|   </select> | 
| </mapper> |