From 08a9e6a0891cc01f34344eff4a3b3bad4e6e84ef Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Tue, 26 Sep 2023 15:59:12 +0800
Subject: [PATCH] chore:测试提交
---
screen-api/src/main/java/com/moral/api/service/impl/AllocationServiceImpl.java | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/screen-api/src/main/java/com/moral/api/service/impl/AllocationServiceImpl.java b/screen-api/src/main/java/com/moral/api/service/impl/AllocationServiceImpl.java
index 4558db6..ed0239b 100644
--- a/screen-api/src/main/java/com/moral/api/service/impl/AllocationServiceImpl.java
+++ b/screen-api/src/main/java/com/moral/api/service/impl/AllocationServiceImpl.java
@@ -76,8 +76,6 @@
@Autowired
private AllocationMapper allocationMapper;
@Autowired
- private ApproveTableMapper approveTableMapper;
- @Autowired
private SysAreaService sysAreaService;
private ApproveTableService approveTableService;
@Autowired
@@ -363,7 +361,7 @@
int complete=0;
int unComplete=0;
for (Allocation allocation : allocations) {
- String state = allocation.getState();
+ String state = allocation.getState()+"";
if (state.equals("40")||state.equals("50")){
complete++;
}else if(state.equals("10")||state.equals("20") ||state.equals("30")) {
@@ -408,7 +406,7 @@
Date dateOfDay = DateUtils.getDateOfDay(allocation.getEscalationTime(), allocation.getChangeDay());
Date date = new Date();
- String state = allocation.getState();
+ String state = allocation.getState()+"";
boolean timeBefor = DateUtils.isTimeBefor(date, dateOfDay);
if (timeBefor && !state.equals("40") && !state.equals("50")){
//������������
--
Gitblit v1.8.0