Commit 40344c70 by wuwenlong

获取用户信息接口

parent c3a442fd
......@@ -117,10 +117,10 @@ public class UserSessionUtils extends UserSession {
* *获取指定公司的部门列表
* @return
*/
public static List<Map<String,String>> getDeptByCompany(String companyCode){
public static List<Map<String,String>> getDepByCompany(String companyCode){
Map<String,String> map = new HashMap<String,String>(){{
put("deptCode","001");
put("deptName","公司A");
put("depCode","001");
put("depName","公司A");
}};
return new ArrayList<Map<String,String>>(){{add(map);}};
}
......@@ -134,8 +134,8 @@ public class UserSessionUtils extends UserSession {
Map<String,String> map = new HashMap<String,String>(){{
put("userCode","");//工号
put("userName","");//用户名称
put("deptCode","");//所属部门编码
put("deptName","");//所属部门名称
put("depCode","");//所属部门编码
put("depName","");//所属部门名称
}};
return new ArrayList<Map<String,String>>(){{add(map);}};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment