Merge remote-tracking branch 'origin/0418_小程序开发' into dev

This commit is contained in:
zhangheng 2024-05-08 17:20:44 +08:00
commit 0c4baa7247
2 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,7 @@ import java.util.List;
* @date 2024-02-26
*/
public interface IAgencyService {
/**
* 查询机构信息
*

View File

@ -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);
}