fengxiang
2018-06-09 81cc95bee24b88d28cd5f0a97c689384c4ab1b81
src/main/resources/mapper/SensorMapper.xml
@@ -62,6 +62,9 @@
         <if test="mac != null">
         AND d.mac =   #{mac}
         </if>
         <if test="professionId != null">
         AND d.profession_id = #{professionId}
         </if>
   </select>
  
</mapper>