|
@@ -196,8 +196,9 @@ public class SapUserService extends BaseService {
|
|
|
}
|
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
- public List<SapUser> selectListByDepartId(String departId) throws Exception {
|
|
|
- return (List<SapUser>) findList("SapUserMapper.selectListByDepartId", departId);
|
|
|
+ public List<SapUser> selectListByDepartIdAndLevel(String departId) throws Exception {
|
|
|
+ SapOrg sapOrg = sapOrgService.selectById(departId);
|
|
|
+ return (List<SapUser>) findList("SapUserMapper.selectListByDepartIdAndLevel", sapOrg);
|
|
|
}
|
|
|
|
|
|
public SapUser toInfoDetail(SapUser sapUser) throws Exception {
|