fengxiang
2018-06-22 0fd34e51dadbf9598188b0e061b658139e6d6257
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>