From 75960d6e223f8cab9ceb489f6b89f5f08c6db62a Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期五, 01 八月 2025 17:24:32 +0800
Subject: [PATCH] 部分新功能

---
 multi-system/src/main/java/com/gkhy/exam/system/service/impl/CorrectionServiceImpl.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 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..b9119eb 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
@@ -30,9 +30,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 +48,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 +60,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