src/main/resources/mapper/JobDao.xml @@ -19,4 +19,8 @@ where a.mac = #{0} </select> <update id="updateStateByMac"> UPDATE equipment SET state=#{1} WHERE mac=#{0} </update> </mapper>