Date: Tue, 17 Sep 2024 22:05:54 +0800
Subject: [PATCH 13/78] =?UTF-8?q?docs:=20=E5=8E=BB=E9=99=A4=E6=97=A0?=
=?UTF-8?q?=E7=94=A8=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/example/workflow/controller/DeptController.java | 3 ---
.../com/example/workflow/controller/PdfFilesController.java | 4 +---
.../java/com/example/workflow/controller/RoleController.java | 3 ---
3 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/main/java/com/example/workflow/controller/DeptController.java b/src/main/java/com/example/workflow/controller/DeptController.java
index e90f761..b041f1e 100644
--- a/src/main/java/com/example/workflow/controller/DeptController.java
+++ b/src/main/java/com/example/workflow/controller/DeptController.java
@@ -24,10 +24,7 @@ import java.util.List;
import java.util.Objects;
/**
- *
* 部门 前端控制器
- *
- *
* @author 黄历
* @since 2024-03-12
*/
diff --git a/src/main/java/com/example/workflow/controller/PdfFilesController.java b/src/main/java/com/example/workflow/controller/PdfFilesController.java
index dc4ed9c..dff6ea6 100644
--- a/src/main/java/com/example/workflow/controller/PdfFilesController.java
+++ b/src/main/java/com/example/workflow/controller/PdfFilesController.java
@@ -38,9 +38,7 @@ import java.time.LocalTime;
import java.util.List;
/**
- *
- * 前端控制器
- *
+ * pdf控制器
*
* @author 黄历
* @since 2024-03-14
diff --git a/src/main/java/com/example/workflow/controller/RoleController.java b/src/main/java/com/example/workflow/controller/RoleController.java
index d56894b..2d3f1f3 100644
--- a/src/main/java/com/example/workflow/controller/RoleController.java
+++ b/src/main/java/com/example/workflow/controller/RoleController.java
@@ -33,10 +33,7 @@ import java.util.List;
import java.util.Map;
/**
- *
* 角色信息 前端控制器
- *
- *
* @author 黄历
* @since 2024-03-12
*/
--
Gitee
From ca8f3743d14e94a130ab5bbe171bf00d0bd90664 Mon Sep 17 00:00:00 2001
From: hrc
Date: Thu, 7 Nov 2024 16:41:06 +0800
Subject: [PATCH 14/78] =?UTF-8?q?refactor:=E6=B7=BB=E5=8A=A0=E5=90=AF?=
=?UTF-8?q?=E5=8A=A8=E5=9B=BE=E6=A0=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/java/com/example/workflow/Application.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/main/java/com/example/workflow/Application.java b/src/main/java/com/example/workflow/Application.java
index 62b8067..b47b7a4 100644
--- a/src/main/java/com/example/workflow/Application.java
+++ b/src/main/java/com/example/workflow/Application.java
@@ -17,6 +17,15 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
public class Application {
public static void main(String... args) {
SpringApplication.run(Application.class, args);
+ // http://patorjk.com/software/taag/?spm=5176.28103460.0.0.297c5d27o3B1lK 横幅内容生成
+ System.out.println(" _____ \n" +
+ "______ ____________/ ____\\___________ _____ _____ ____ ____ ____ \n" +
+ "\\____ \\_/ __ \\_ __ \\ __\\/ _ \\_ __ \\/ \\\\__ \\ / \\_/ ___\\/ __ \\ \n" +
+ "| |_> > ___/| | \\/| | ( <_> ) | \\/ Y Y \\/ __ \\| | \\ \\__\\ ___/ \n" +
+ "| __/ \\___ >__| |__| \\____/|__| |__|_| (____ /___| /\\___ >___ >\n" +
+ "|__| \\/ \\/ \\/ \\/ \\/ \\/" + '\n'
+ + "绩效管理系统后台服务启动成功");
+
}
}
\ No newline at end of file
--
Gitee
From 4c4d155f38bfcd3919f4dc5a9bb7fcabb69bcf24 Mon Sep 17 00:00:00 2001
From: hrc
Date: Thu, 7 Nov 2024 16:56:08 +0800
Subject: [PATCH 15/78] =?UTF-8?q?fix:=20=E5=AD=97=E6=AE=B5=E6=B3=A8?=
=?UTF-8?q?=E5=85=A5null=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../workflow/controller/FirstController.java | 128 +++++++++---------
1 file changed, 65 insertions(+), 63 deletions(-)
diff --git a/src/main/java/com/example/workflow/controller/FirstController.java b/src/main/java/com/example/workflow/controller/FirstController.java
index 1a1456a..ed9921c 100644
--- a/src/main/java/com/example/workflow/controller/FirstController.java
+++ b/src/main/java/com/example/workflow/controller/FirstController.java
@@ -14,15 +14,14 @@ import com.example.workflow.service.PieceRuleService;
import com.example.workflow.service.PositionAssessorViewService;
import com.example.workflow.service.RegionCoefficientService;
import com.example.workflow.service.ScoreRuleService;
+import com.example.workflow.utils.DateTimeUtils;
import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
-import java.time.LocalDate;
+import javax.annotation.Resource;
import java.time.LocalDateTime;
-import java.time.LocalTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -31,94 +30,97 @@ import java.util.Map;
@RestController
@RequestMapping("/first")
public class FirstController {
+ @Resource
+ private ScoreRuleService scoreRuleService;
+ @Resource
+ private PieceRuleService pieceRuleService;
+ @Resource
+ private KpiRuleService kpiRuleService;
+ @Resource
+ private RegionCoefficientService regionCoefficientService;
+ @Resource
+ private EmpCoefficientService empCoefficientService;
+ @Resource
+ private PositionAssessorViewService positionAssessorViewService;
- @Autowired
- private ScoreRuleService ScoreRuleService;
- @Autowired
- private PieceRuleService PieceRuleService;
- @Autowired
- private KpiRuleService KpiRuleService;
- @Autowired
- private RegionCoefficientService RegionCoefficientService;
- @Autowired
- private EmpCoefficientService EmpCoefficientService;
- @Autowired
- private PositionAssessorViewService PositionAssessorViewService;
-
- LocalDate today = LocalDate.now();
- LocalDateTime beginTime = LocalDateTime.of(today.withDayOfMonth(1), LocalTime.MIN);
- LocalDateTime endTime = LocalDateTime.of(today.withDayOfMonth(today.lengthOfMonth()), LocalTime.MAX);
@PostMapping("/check")
- private R