From 55f7e6cdbd00b0ab4a98fb8edde83e16a423baaa Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Wed, 29 Apr 2026 15:17:36 +0800
Subject: [PATCH] 修改minio配置
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/CorrectionServiceImpl.java | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CorrectionServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CorrectionServiceImpl.java
index 26977f9..8143cf1 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CorrectionServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CorrectionServiceImpl.java
@@ -1,18 +1,16 @@
package com.gkhy.exam.system.service.impl;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.exam.common.api.CommonPage;
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.common.utils.PageUtils;
import com.gkhy.exam.common.utils.SecurityUtils;
import com.gkhy.exam.system.domain.Correction;
-import com.gkhy.exam.system.domain.Inconsistent;
import com.gkhy.exam.system.mapper.CorrectionMapper;
import com.gkhy.exam.system.service.CorrectionService;
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
-import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
@@ -30,9 +28,9 @@
@Autowired
private CorrectionMapper correctionMapper;
@Override
- public CommonPage selectCorrectionList(Integer companyId) {
+ public CommonPage selectCorrectionList(Correction correction) {
PageUtils.startPage();
- List<Correction> corrections = correctionMapper.selectCorrectionList(companyId);
+ List<Correction> corrections = correctionMapper.selectCorrectionList(correction);
return CommonPage.restPage(corrections);
}
@@ -48,10 +46,10 @@
}
@Override
- public CommonResult updateCorrection(Correction Correction) {
- Correction.setUpdateBy(SecurityUtils.getUsername());
- Correction.setUpdateTime(LocalDateTime.now());
- int insert = correctionMapper.updateById(Correction);
+ public CommonResult updateCorrection(Correction correction) {
+ correction.setUpdateBy(SecurityUtils.getUsername());
+ correction.setUpdateTime(LocalDateTime.now());
+ int insert = correctionMapper.updateById(correction);
if (insert > 0){
return CommonResult.success();
}
@@ -60,12 +58,12 @@
@Override
public CommonResult deletedCorrection(Integer id) {
- Correction Correction = new Correction();
- Correction.setId(id.longValue());
- Correction.setDelFlag(1);
- Correction.setUpdateBy(SecurityUtils.getUsername());
- Correction.setUpdateTime(LocalDateTime.now());
- int insert = correctionMapper.updateById(Correction);
+ Correction correction = new Correction();
+ correction.setId(id.longValue());
+ correction.setDelFlag(1);
+ correction.setUpdateBy(SecurityUtils.getUsername());
+ correction.setUpdateTime(LocalDateTime.now());
+ int insert = correctionMapper.updateById(correction);
if (insert > 0){
return CommonResult.success();
}
--
Gitblit v1.9.2