Merge remote-tracking branch 'origin/dev/communication_tcp' into dev/communication_tcp

This commit is contained in:
zhugongping 2026-01-16 15:15:53 +08:00
commit faa11dc37a

View File

@ -219,6 +219,7 @@ public class ThingsModelServiceImpl implements IThingsModelService {
thingsModel.setIsChart(template.getIsChart());
thingsModel.setIsHistory(template.getIsHistory());
thingsModel.setModelOrder(template.getModelOrder());
thingsModel.setIsCalculated(determineIsCalculated(thingsModel.getFormula()));
Boolean isRepeat = dbList.stream().anyMatch(x -> x.getIdentifier().equals(thingsModel.getIdentifier()));
if (isRepeat) {
repeatCount = repeatCount + 1;