From ca2acee2a994862d2ca582faf897c33baa67f092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Wed, 16 Nov 2022 11:48:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dbnt/faisp/main/userInfo/FaispController.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/dbnt/faisp/main/userInfo/FaispController.java b/src/main/java/com/dbnt/faisp/main/userInfo/FaispController.java index 38080354..f5585478 100644 --- a/src/main/java/com/dbnt/faisp/main/userInfo/FaispController.java +++ b/src/main/java/com/dbnt/faisp/main/userInfo/FaispController.java @@ -218,10 +218,11 @@ public class FaispController { } - private List calcStatusList(List statusList){ - for(PersonnelStatus status: statusList){ - status.setSumMax(status.getJt001Max()+status.getJt002Max()+status.getJt003Max()+status.getJt004Max()+status.getJt005Max()+status.getJt006Max()+status.getJt007Max()); - status.setSumNow(status.getJt001Now()+status.getJt002Now()+status.getJt003Now()+status.getJt004Now()+status.getJt005Now()+status.getJt006Now()+status.getJt007Now()); + private List calcStatusList(List statusList) { + for (PersonnelStatus status : statusList) { + status.setSumMax(status.getJt001Max() + status.getJt002Max() + status.getJt003Max() + status.getJt004Max() + status.getJt005Max() + status.getJt006Max() + status.getJt007Max()); + status.setSumNow(status.getJt001Now() + status.getJt002Now() + status.getJt003Now() + status.getJt004Now() + status.getJt005Now() + status.getJt006Now() + status.getJt007Now()); } return statusList; + } }