科室
This commit is contained in:
parent
3f146607b9
commit
1830e1b547
@ -1,6 +1,5 @@
|
|||||||
package com.xinelu.manage.service.department.impl;
|
package com.xinelu.manage.service.department.impl;
|
||||||
|
|
||||||
import com.xinelu.common.constant.Constants;
|
|
||||||
import com.xinelu.common.core.domain.AjaxResult;
|
import com.xinelu.common.core.domain.AjaxResult;
|
||||||
import com.xinelu.common.core.domain.entity.SysUser;
|
import com.xinelu.common.core.domain.entity.SysUser;
|
||||||
import com.xinelu.common.exception.ServiceException;
|
import com.xinelu.common.exception.ServiceException;
|
||||||
@ -112,7 +111,7 @@ public class DepartmentServiceImpl implements IDepartmentService {
|
|||||||
}
|
}
|
||||||
department.setCreateTime(LocalDateTime.now());
|
department.setCreateTime(LocalDateTime.now());
|
||||||
department.setCreateBy(SecurityUtils.getUsername());
|
department.setCreateBy(SecurityUtils.getUsername());
|
||||||
department.setDepartmentCode(Constants.DEPARTMENT_CODE + generateSystemCodeUtil.generateSystemCode(Constants.DEPARTMENT_CODE));
|
//department.setDepartmentCode(Constants.DEPARTMENT_CODE + generateSystemCodeUtil.generateSystemCode(Constants.DEPARTMENT_CODE));
|
||||||
return departmentMapper.insertDepartment(department);
|
return departmentMapper.insertDepartment(department);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user