generated from dxfeng/secondev-wugang-dxfeng
refactor(portal): 优化部门和岗位自定义表字段并调整分页参数
- 在 BaseParam 类中添加部门和岗位自定义表字段 - 添加租户标识字段 - 在 ManagerPortalServiceImpl 中调整 getTeamEmployee 方法的分页参数
This commit is contained in:
parent
de622f0b18
commit
902e025c51
|
|
@ -16,7 +16,17 @@ public class BaseParam {
|
|||
private String ec_secondev = "ec_secondev";
|
||||
private String eteams = "eteams";
|
||||
|
||||
/**
|
||||
* 部门自定义表
|
||||
*/
|
||||
private String table_dept_cus = "ft_1154218872715993098";
|
||||
/**
|
||||
* 岗位自定义表
|
||||
*/
|
||||
private String table_job_cus = "ft_1155455711525494797";
|
||||
/**
|
||||
* 租户标识
|
||||
*/
|
||||
private String tenantKey;
|
||||
|
||||
public String getTenantKey() {
|
||||
|
|
|
|||
|
|
@ -348,8 +348,8 @@ public class ManagerPortalServiceImpl implements ManagerPortalService {
|
|||
public WeaResult<Map<String, Object>> getTeamEmployee(Map<String, String> params) {
|
||||
String searchKey = params.get("searchKey");
|
||||
String departmentId = params.get("departmentId");
|
||||
int pageSize = Convert.toInt(params.get("pageSize"), 1);
|
||||
int current = Convert.toInt(params.get("current"), 10);
|
||||
int pageSize = Convert.toInt(params.get("pageSize"), 10);
|
||||
int current = Convert.toInt(params.get("current"), 1);
|
||||
|
||||
User currentUser = UserContext.getCurrentUser();
|
||||
BasicPersonnelParam basicPersonnelParam = new BasicPersonnelParam();
|
||||
|
|
|
|||
Loading…
Reference in New Issue