| 123456789101112131415161718 | 
							- <?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.xunmei.iot.mapper.IotServerInfoMapper">
 
-     <select id="selectServerPage" resultType="com.xunmei.iot.vo.serverInfo.IotServerInfoPageVo">
 
-         select i.* from iot_server_info i
 
-         <where>
 
-             <if test="req.iotStatus!=null">
 
-                 and i.iot_status=#{req.iotStatus}
 
-             </if>
 
-             <if test="req.iotName!=null and req.iotName!=''">
 
-                 and i.iot_name like concat('%',#{req.iotStatus},'%')
 
-             </if>
 
-             <if test="req.iotCode!=null and req.iotCode!=''">
 
-                 and i.iot_code like concat('%',#{req.iotCode},'%')
 
-             </if>
 
-         </where>
 
-     </select>
 
- </mapper>
 
 
  |