bug修复

This commit is contained in:
guo 2023-08-04 18:10:34 +08:00
parent 1a980e58eb
commit a291a0bb13

View File

@ -72,6 +72,8 @@ public class PoisonousGasDevCurrentDataServiceImpl extends ServiceImpl<Poisonous
log.warn("有毒气体设备未添加sn{}", mac);
return;
}
dev.setUploadDate(new Date());
poisonousGasDevMapper.updateById(dev);
PoisonousGasDevCurrentData currentData = new PoisonousGasDevCurrentData();
currentData.setDevSn(mac);
currentData.setProjectSn(dev.getProjectSn());