Commit 8fa35cf96078580ec18d1d1b026051af3a2a8e7c

Authored by 王通
1 parent 51f23217

1.修复历史修正班次时不同角色的日期范围问题

src/main/java/com/bsth/util/PrivilegeUtils.java
@@ -21,7 +21,7 @@ public class PrivilegeUtils { @@ -21,7 +21,7 @@ public class PrivilegeUtils {
21 if (param != null && param.getValue() != null) { 21 if (param != null && param.getValue() != null) {
22 for (Role role : roles) { 22 for (Role role : roles) {
23 if (param.getValue().contains(String.format(",%s,", role.getCodeName()))) { 23 if (param.getValue().contains(String.format(",%s,", role.getCodeName()))) {
24 - days = 5; 24 + days = 6;
25 } 25 }
26 } 26 }
27 } 27 }