diff --git a/backend/src/main/java/io/metersphere/api/service/MockConfigService.java b/backend/src/main/java/io/metersphere/api/service/MockConfigService.java index e5c274a048..bb741ca96a 100644 --- a/backend/src/main/java/io/metersphere/api/service/MockConfigService.java +++ b/backend/src/main/java/io/metersphere/api/service/MockConfigService.java @@ -1421,7 +1421,7 @@ public class MockConfigService { mockExpect.setMockConfigId(mockConfig.getId()); mockExpect.setId(expectInDb.getId()); mockExpect.setUpdateTime(System.currentTimeMillis()); - mockExpectConfigMapper.updateByPrimaryKey(mockExpect); + mockExpectConfigMapper.updateByPrimaryKeyWithBLOBs(mockExpect); } } diff --git a/frontend/src/business/components/reportstatistics/projectstatistics/casecount/filter/TestCaseCountFilter.vue b/frontend/src/business/components/reportstatistics/projectstatistics/casecount/filter/TestCaseCountFilter.vue index 855a2a917f..eb4ff7e5eb 100644 --- a/frontend/src/business/components/reportstatistics/projectstatistics/casecount/filter/TestCaseCountFilter.vue +++ b/frontend/src/business/components/reportstatistics/projectstatistics/casecount/filter/TestCaseCountFilter.vue @@ -28,13 +28,13 @@ + style="margin-right: 10px;width: 100%">
@@ -219,14 +219,6 @@ export default { id: 'id', label: 'label', }, - datePickerOptions: { - disabledDate: (time) => { - let nowDate = new Date(); - let oneDay = 1000 * 60 * 60 * 24; - let oneYearLater = new Date(nowDate.getTime() + (oneDay * 365)); - return time.getTime() > nowDate || time.getTime() > oneYearLater;//注意是||不是&& - } - }, }; }, created() {