Commit cf92fc7a by wangchunyang

人员管理后台调整

parent dbbd5422
...@@ -22,8 +22,8 @@ public class KeyDmUserServiceImpl { ...@@ -22,8 +22,8 @@ public class KeyDmUserServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmUser."; private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmUser.";
@ApiOperation(value = "分页查询日常人员列表", desc = "分页") @ApiOperation(value = "分页查询日常人员列表", desc = "分页")
public Page<Map<String, Object>> selectList(Map<String, Object> map) { public Page<Map<String, Object>> selectList(Page<Map<String, Object>> map) {
if (map == null) map = new HashMap<>(); if (map == null) map = new Page<>();
return commonService.findPage(namespace + "selectList", map); return commonService.findPage(namespace + "selectList", map);
} }
...@@ -47,6 +47,7 @@ public class KeyDmUserServiceImpl { ...@@ -47,6 +47,7 @@ public class KeyDmUserServiceImpl {
@ApiOperation(value = "根据机构编码同步用户", desc = "同步本级及下属机构用户") @ApiOperation(value = "根据机构编码同步用户", desc = "同步本级及下属机构用户")
public String syncByOffice(Map<String, Object> map) { public String syncByOffice(Map<String, Object> map) {
if (map == null || map.get("office_code") == null) { if (map == null || map.get("office_code") == null) {
throw new CustomException("缺少机构编码"); throw new CustomException("缺少机构编码");
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论