潘志宝
2024-12-03 51c1c2c9fa28fb1765dd6e81c70b78566792aebe
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelSettingServiceImpl.java
@@ -44,10 +44,13 @@
        if (CollectionUtils.isEmpty(saveList)) {
            return;
        }
        saveList.forEach(item -> {
        for (int i = 0; i < saveList.size(); i++) {
            StScheduleModelSettingSaveReqVO item = saveList.get(i);
            StScheduleModelSettingEntity entity = BeanUtils.toBean(item, StScheduleModelSettingEntity.class);
            entity.setId(UUID.randomUUID().toString());
            entity.setModelid(modelId);
            entity.setSort(i);
            baseDao.insert(entity);
        });
        }
    }
}