| | |
| | | refreshed.setRemark(standardTemplate == null ? oldSnapshot.getRemark() : standardTemplate.getRemark()); |
| | | refreshed.setThing(standardTemplate == null ? oldSnapshot.getThing() : standardTemplate.getThing()); |
| | | refreshed.setRecordValues(templateRecordValuesMap.get(templateId)); |
| | | refreshed.setDeviceDefaultsInitialized(oldSnapshot == null ? 1 |
| | | : oldSnapshot.getDeviceDefaultsInitialized()); |
| | | refreshed.setTemperature(templateTemperatureMap.get(templateId)); |
| | | refreshed.setHumidity(templateHumidityMap.get(templateId)); |
| | | // 刷新模板结构时必须保留检验阶段填写的业务数据,避免进入复核后回显为空。 |