fengxiang
2018-05-22 6006fe5d31237a7b45214b81069c17c2d155e9fb
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>