Merge remote-tracking branch 'origin/0418_小程序开发' into dev
This commit is contained in:
commit
0c4baa7247
@ -16,6 +16,7 @@ import java.util.List;
|
||||
* @date 2024-02-26
|
||||
*/
|
||||
public interface IAgencyService {
|
||||
|
||||
/**
|
||||
* 查询机构信息
|
||||
*
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
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.entity.SysUser;
|
||||
import com.xinelu.common.exception.ServiceException;
|
||||
@ -112,7 +111,7 @@ public class DepartmentServiceImpl implements IDepartmentService {
|
||||
}
|
||||
department.setCreateTime(LocalDateTime.now());
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user