From eb89823db765c24e1312c817c7bfc7faa5c40986 Mon Sep 17 00:00:00 2001 From: chenxu1234 <1401584727@qq.com> Date: Wed, 10 Apr 2024 16:21:27 +0800 Subject: [PATCH] =?UTF-8?q?12=E5=A4=9C=E8=A1=A5=E5=8D=8A=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E5=8A=A0=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/kq/biz/KQOverTimeRuleCalBiz.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/engine/kq/biz/KQOverTimeRuleCalBiz.java b/src/com/engine/kq/biz/KQOverTimeRuleCalBiz.java index 44b9d95..bf17c34 100644 --- a/src/com/engine/kq/biz/KQOverTimeRuleCalBiz.java +++ b/src/com/engine/kq/biz/KQOverTimeRuleCalBiz.java @@ -1033,6 +1033,12 @@ public class KQOverTimeRuleCalBiz { String searIdYb = bb.getPropValue("nbkq_main","searIdYb"); //管理人员12小时班制夜班最大加班时长 Integer ybMaxMins = Util.getIntValue(bb.getPropValue("nbkq_main","ybMaxMins")); + if(searIdYb.equals(searIdFrom)){ + //12夜补半小时 + mins = mins + 30; + kqLog.info("12夜补半小时:"+mins); + } + Integer bxszh = changeBxs(mins); kqLog.info("半小时计提时长bxszh:"+bxszh+"searIdFrom:"+searIdFrom);