<?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.SystemExternalExtMapper"> 
 | 
  
 | 
  <!-- 管理页面查询 --> 
 | 
  <resultMap id="SystemExternalExtListVO" type="doumeemes.dao.ext.vo.SystemExternalExtListVO" autoMapping="true"> 
 | 
    <id column="ID" jdbcType="INTEGER" property="id"/> 
 | 
  </resultMap> 
 | 
  <select id="selectList" parameterType="doumeemes.dao.ext.dto.QuerySystemExternalExtDTO" resultMap="SystemExternalExtListVO"> 
 | 
    SELECT 
 | 
      `a`.`ID`, 
 | 
      `a`.`DELETED`, 
 | 
      `a`.`CREATE_USER`, 
 | 
      `a`.`CREATE_TIME`, 
 | 
      `a`.`UPDATE_USER`, 
 | 
      `a`.`UPDATE_TIME`, 
 | 
      `a`.`NAME`, 
 | 
      `a`.`INFO`, 
 | 
      `a`.`ACCOUNT_ID`, 
 | 
      `a`.`ACCOUNT_KEY`, 
 | 
      `a`.`DETAILS`, 
 | 
      `a`.`TYPE` 
 | 
    FROM `system_external` `a` 
 | 
    <where> 
 | 
      <if test="id != null"> 
 | 
        AND `a`.`ID` = #{id} 
 | 
      </if> 
 | 
      <if test="deleted != null"> 
 | 
        AND `a`.`DELETED` = #{deleted} 
 | 
      </if> 
 | 
      <if test="createUser != null"> 
 | 
        AND `a`.`CREATE_USER` = #{createUser} 
 | 
      </if> 
 | 
      <if test="createTime != null"> 
 | 
        AND `a`.`CREATE_TIME` = #{createTime} 
 | 
      </if> 
 | 
      <if test="updateUser != null"> 
 | 
        AND `a`.`UPDATE_USER` = #{updateUser} 
 | 
      </if> 
 | 
      <if test="updateTime != null"> 
 | 
        AND `a`.`UPDATE_TIME` = #{updateTime} 
 | 
      </if> 
 | 
      <if test="name != null and name != ''"> 
 | 
        AND `a`.`NAME` = #{name} 
 | 
      </if> 
 | 
      <if test="info != null and info != ''"> 
 | 
        AND `a`.`INFO` = #{info} 
 | 
      </if> 
 | 
      <if test="accountId != null and accountId != ''"> 
 | 
        AND `a`.`ACCOUNT_ID` = #{accountId} 
 | 
      </if> 
 | 
      <if test="accountKey != null and accountKey != ''"> 
 | 
        AND `a`.`ACCOUNT_KEY` = #{accountKey} 
 | 
      </if> 
 | 
      <if test="details != null and details != ''"> 
 | 
        AND `a`.`DETAILS` = #{details} 
 | 
      </if> 
 | 
      <if test="type != null"> 
 | 
        AND `a`.`TYPE` = #{type} 
 | 
      </if> 
 | 
    </where> 
 | 
  </select> 
 | 
</mapper> 
 |