|
@@ -102,7 +102,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
|
|
//
|
|
|
// 2.1 插入用户
|
|
|
if (createReqVO.getDeptId()==null) {
|
|
|
- createReqVO.setDeptId(112L);//加载测绘学院
|
|
|
+ createReqVO.setDeptId(0L);//加载测绘学院
|
|
|
}
|
|
|
AdminUserDO user = BeanUtils.toBean(createReqVO, AdminUserDO.class);
|
|
|
user.setStatus(CommonStatusEnum.ENABLE.getStatus()); // 默认开启
|
|
@@ -639,7 +639,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
|
|
Long TransformDept(String deptName){
|
|
|
Long deptId =null;
|
|
|
if (deptName==null){
|
|
|
- deptId=121L;//测绘学院
|
|
|
+ deptId=0L;//测绘学院
|
|
|
}
|
|
|
DeptDO dept = deptService.getDeptByDeptName(deptName);
|
|
|
if (dept!=null) {
|