fengxiang
2018-06-23 b664b9891d2988182ddfa34f816355f94f4714c8
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>