admins = adminList.stream().filter(a -> empIds.contains(a.getEmployeeId())).map(DataCollectionEmployee::getUsername).collect(Collectors.toList());
diff --git a/src/com/engine/salary/service/auth/AuthRoleServiceImpl.java b/src/com/engine/salary/service/auth/AuthRoleServiceImpl.java
index 2d55e403a..58c0bad20 100644
--- a/src/com/engine/salary/service/auth/AuthRoleServiceImpl.java
+++ b/src/com/engine/salary/service/auth/AuthRoleServiceImpl.java
@@ -48,13 +48,16 @@ public class AuthRoleServiceImpl extends Service implements AuthRoleService {
Date now = new Date();
Long id = param.getId();
String name = param.getName();
+ String description = param.getDescription();
Long taxAgentId = param.getTaxAgentId();
+
AuthRolePO po;
if (id == null) {
po = AuthRolePO.builder()
.id(IdGenerator.generate())
.name(name)
+ .description(description)
.taxAgentId(taxAgentId)
.creator((long) user.getUID())
.createTime(now)
@@ -82,6 +85,7 @@ public class AuthRoleServiceImpl extends Service implements AuthRoleService {
AuthRolePO newPo = AuthRolePO.builder()
.id(id)
.name(name)
+ .description(description)
.taxAgentId(po.getTaxAgentId())
.updateTime(now)
.build();
diff --git a/src/com/engine/salary/service/auth/AuthService.java b/src/com/engine/salary/service/auth/AuthService.java
new file mode 100644
index 000000000..b15b3f4ee
--- /dev/null
+++ b/src/com/engine/salary/service/auth/AuthService.java
@@ -0,0 +1,17 @@
+package com.engine.salary.service.auth;
+
+import com.engine.salary.entity.auth.dto.AuthDTO;
+
+import java.util.List;
+
+/**
+ * 鏉冮檺
+ * Copyright: Copyright (c) 2024
+ * Company: 娉涘井杞欢
+ *
+ * @author qiantao
+ * @version 1.0
+ **/
+public interface AuthService {
+ List auth(String page);
+}
diff --git a/src/com/engine/salary/service/auth/AuthServiceImpl.java b/src/com/engine/salary/service/auth/AuthServiceImpl.java
new file mode 100644
index 000000000..9103494af
--- /dev/null
+++ b/src/com/engine/salary/service/auth/AuthServiceImpl.java
@@ -0,0 +1,20 @@
+package com.engine.salary.service.auth;
+
+import com.engine.core.impl.Service;
+import com.engine.salary.entity.auth.dto.AuthDTO;
+import com.engine.salary.mapper.auth.AuthMapper;
+import com.engine.salary.util.db.MapperProxyFactory;
+
+import java.util.List;
+
+public class AuthServiceImpl extends Service implements AuthService {
+ private AuthMapper getAuthMapper() {
+ return MapperProxyFactory.getProxy(AuthMapper.class);
+ }
+
+ @Override
+ public List auth(String page) {
+ return getAuthMapper().getAuth((long) user.getUID(), page);
+ }
+
+}
diff --git a/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java b/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java
index b468c29d3..568b7719b 100644
--- a/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java
+++ b/src/com/engine/salary/service/impl/SalaryArchiveServiceImpl.java
@@ -184,6 +184,11 @@ public class SalaryArchiveServiceImpl extends Service implements SalaryArchiveSe
queryParam.setPayEndDateEndDate(SalaryDateUtil.stringToDate(queryParam.getPayEndDateEndDateStr()));
}
+ //鑳芥煡鐪嬪摢浜涙。妗
+
+ //鑳界鐞嗗摢浜涙。妗
+
+
List list = getSalaryArchiveMapper().list(queryParam);
return SalaryI18nUtil.i18nList(list);
}