Skip to content

Commit 3783173

Browse files
committed
fix: correct BackupTimeRangeStrategy mapping
1 parent 6956821 commit 3783173

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/kcn/hikvisionmanager/mapper/BackupConfigMapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public BackupConfigurationEntity toEntity(BackupConfigDTO dto) {
3535
.cameraId(dto.getCameraId())
3636
.enabled(dto.isEnabled())
3737
.backupPath(backupConfig.getBaseDir().toString())
38+
.timeRangeStrategy(dto.getTimeRangeStrategy())
3839
.cronExpression(generateCron(dto))
3940
.retentionDays(dto.getRetentionDays())
4041
.notifyOnComplete(dto.isNotifyOnComplete())

0 commit comments

Comments
 (0)