|
@@ -123,7 +123,8 @@ public class ParamApi {
|
|
|
@RequestParam Integer cumulativeError,
|
|
|
@RequestParam Integer levelShowAllPaper,
|
|
|
@RequestParam Integer propDenominator,
|
|
|
- @RequestParam Integer autoCallbackShowDeviation) {
|
|
|
+ @RequestParam Integer autoCallbackShowDeviation,
|
|
|
+ @RequestParam Integer showStandardPaperManage) {
|
|
|
List<MarkSubject> markSubjects = markSubjectRepo.findByWorkIdAndTestNotIn(workId, Arrays.asList(TrialEnum.DEFAULT.ordinal(), TrialEnum.START_FORMAL.ordinal()));
|
|
|
int countMarkTasks = markTaskRepo.countByWorkId(workId);
|
|
|
boolean flag = false;
|
|
@@ -149,6 +150,7 @@ public class ParamApi {
|
|
|
paramSetting.setLevelShowAllPaper(levelShowAllPaper);
|
|
|
paramSetting.setPropDenominator(propDenominator);
|
|
|
paramSetting.setAutoCallbackShowDeviation(autoCallbackShowDeviation);
|
|
|
+ paramSetting.setShowStandardPaperManage(showStandardPaperManage);
|
|
|
paramSettingRepo.saveAndFlush(paramSetting);
|
|
|
ParamCache.resetParam(paramSetting);
|
|
|
|