Update HeartBeatService.java

pull/1/head
wangsiyuan 2024-04-22 15:34:59 +08:00
parent 07be57d5cf
commit 7020497109
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ public class HeartBeatService {
try {
DeviceInfoDAO deviceInfoDAO = deviceInfoDAOMapper.selectOne(queryWrapper);
if (deviceInfoDAO != null) {
logger.info("Data is queried in the database based on the SN");
//logger.info("Data is queried in the database based on the SN");
return deviceInfoDAO;
}
return null; // 数据不存在
@ -120,7 +120,7 @@ public class HeartBeatService {
* @return DeviceInfoDAO
*/
private DeviceInfoDAO convertToDeviceInfoDAO(DeviceInfo deviceInfo) {
logger.info("start convert to device info dao");
// logger.info("start convert to device info dao");
DeviceInfoDAO deviceInfoDAO = new DeviceInfoDAO();
deviceInfoDAO.setIsMonitored(1);