fengxiang
2018-06-01 4bea542def6e511c1b508b654d3e418de3694ad1
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>