Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
098b421c
提交
098b421c
编写于
5月 25, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更改结构
上级
1d3aefac
变更
15
显示空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
42 行增加
和
56 行删除
+42
-56
IBZEmp2UserAspect.java
.../ibizlab/core/ou/extensions/aspect/IBZEmp2UserAspect.java
+2
-7
OUModelRefreshAspect.java
...izlab/core/ou/extensions/aspect/OUModelRefreshAspect.java
+2
-21
DeptMap.java
...in/java/cn/ibizlab/core/ou/extensions/domain/DeptMap.java
+1
-2
DeptNode.java
...n/java/cn/ibizlab/core/ou/extensions/domain/DeptNode.java
+1
-1
EmpNode.java
...in/java/cn/ibizlab/core/ou/extensions/domain/EmpNode.java
+1
-1
OrgMap.java
...ain/java/cn/ibizlab/core/ou/extensions/domain/OrgMap.java
+1
-1
OrgNode.java
...in/java/cn/ibizlab/core/ou/extensions/domain/OrgNode.java
+1
-1
IBZDept2NodeMapping.java
...izlab/core/ou/extensions/mapping/IBZDept2NodeMapping.java
+2
-2
IBZEmp2NodeMapping.java
...bizlab/core/ou/extensions/mapping/IBZEmp2NodeMapping.java
+2
-2
IBZEmp2UserMapping.java
...bizlab/core/ou/extensions/mapping/IBZEmp2UserMapping.java
+1
-3
IBZOrg2NodeMapping.java
...bizlab/core/ou/extensions/mapping/IBZOrg2NodeMapping.java
+2
-2
IBZUSERServiceImpl.java
...bizlab/core/ou/extensions/service/IBZUSERServiceImpl.java
+16
-0
OUCoreService.java
.../cn/ibizlab/core/ou/extensions/service/OUCoreService.java
+5
-5
OUModelService.java
...cn/ibizlab/core/ou/extensions/service/OUModelService.java
+3
-6
OUCoreResource.java
...n/java/cn/ibizlab/api/rest/extensions/OUCoreResource.java
+2
-2
未找到文件。
ibzou-core/src/main/java/cn/ibizlab/core/extensions/aspect/IBZEmp2UserAspect.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/aspect/IBZEmp2UserAspect.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
aspect
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
aspect
;
import
cn.ibizlab.core.extensions.mapping.IBZEmp2UserMapping
;
import
cn.ibizlab.core.ou.extensions.mapping.IBZEmp2UserMapping
;
import
cn.ibizlab.core.extensions.service.OUModelService
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.core.ou.service.IIBZDepartmentService
;
import
cn.ibizlab.core.ou.service.IIBZEmployeeService
;
import
cn.ibizlab.core.ou.service.IIBZEmployeeService
;
import
cn.ibizlab.core.ou.service.IIBZOrganizationService
;
import
cn.ibizlab.util.domain.IBZUSER
;
import
cn.ibizlab.util.errors.BadRequestAlertException
;
import
cn.ibizlab.util.errors.BadRequestAlertException
;
import
cn.ibizlab.util.service.IBZUSERService
;
import
cn.ibizlab.util.service.IBZUSERService
;
import
org.aspectj.lang.JoinPoint
;
import
org.aspectj.lang.JoinPoint
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/aspect/OUModelRefreshAspect.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/aspect/OUModelRefreshAspect.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
aspect
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
aspect
;
import
cn.ibizlab.core.extensions.service.OUModelService
;
import
cn.ibizlab.core.ou.extensions.service.OUModelService
;
import
cn.ibizlab.util.annotation.DEField
;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.helper.DEFieldCacheMap
;
import
cn.ibizlab.util.security.AuthenticationUser
;
import
org.aspectj.lang.JoinPoint
;
import
org.aspectj.lang.JoinPoint
;
import
org.aspectj.lang.annotation.After
;
import
org.aspectj.lang.annotation.After
;
import
org.aspectj.lang.annotation.Aspect
;
import
org.aspectj.lang.annotation.Aspect
;
import
org.aspectj.lang.annotation.Before
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.cglib.beans.BeanMap
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.core.annotation.Order
;
import
org.springframework.core.annotation.Order
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.util.AlternativeJdkIdGenerator
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.StringUtils
;
import
java.beans.PropertyDescriptor
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Method
;
import
java.sql.Timestamp
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 实体属性默认值切面,只有新建(Create)时才会填充默认值
* 实体属性默认值切面,只有新建(Create)时才会填充默认值
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/domain/DeptMap.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/domain/DeptMap.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
domain
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
domain
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.util.StringUtils
;
import
org.springframework.util.StringUtils
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/domain/DeptNode.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/domain/DeptNode.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
domain
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
domain
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/domain/EmpNode.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/domain/EmpNode.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
domain
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
domain
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/domain/OrgMap.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/domain/OrgMap.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
domain
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
domain
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
lombok.Data
;
import
lombok.Data
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/domain/OrgNode.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/domain/OrgNode.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
domain
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
domain
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/mapping/IBZDept2NodeMapping.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/mapping/IBZDept2NodeMapping.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
mapping
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
mapping
;
import
cn.ibizlab.core.extensions.domain.DeptNode
;
import
cn.ibizlab.core.
ou.
extensions.domain.DeptNode
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.util.domain.MappingBase
;
import
cn.ibizlab.util.domain.MappingBase
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.Mapper
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/mapping/IBZEmp2NodeMapping.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/mapping/IBZEmp2NodeMapping.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
mapping
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
mapping
;
import
cn.ibizlab.core.extensions.domain.EmpNode
;
import
cn.ibizlab.core.
ou.
extensions.domain.EmpNode
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.util.domain.MappingBase
;
import
cn.ibizlab.util.domain.MappingBase
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.Mapper
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/mapping/IBZEmp2UserMapping.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/mapping/IBZEmp2UserMapping.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
mapping
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
mapping
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.util.domain.IBZUSER
;
import
cn.ibizlab.util.domain.IBZUSER
;
...
@@ -7,8 +7,6 @@ import org.mapstruct.Mapper;
...
@@ -7,8 +7,6 @@ import org.mapstruct.Mapper;
import
org.mapstruct.NullValueCheckStrategy
;
import
org.mapstruct.NullValueCheckStrategy
;
import
org.mapstruct.NullValuePropertyMappingStrategy
;
import
org.mapstruct.NullValuePropertyMappingStrategy
;
import
java.util.List
;
@Mapper
(
componentModel
=
"spring"
,
uses
=
{},
@Mapper
(
componentModel
=
"spring"
,
uses
=
{},
nullValuePropertyMappingStrategy
=
NullValuePropertyMappingStrategy
.
IGNORE
,
nullValuePropertyMappingStrategy
=
NullValuePropertyMappingStrategy
.
IGNORE
,
nullValueCheckStrategy
=
NullValueCheckStrategy
.
ALWAYS
)
nullValueCheckStrategy
=
NullValueCheckStrategy
.
ALWAYS
)
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/mapping/IBZOrg2NodeMapping.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/mapping/IBZOrg2NodeMapping.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
mapping
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
mapping
;
import
cn.ibizlab.core.extensions.domain.OrgNode
;
import
cn.ibizlab.core.
ou.
extensions.domain.OrgNode
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.util.domain.MappingBase
;
import
cn.ibizlab.util.domain.MappingBase
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.Mapper
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/service/IBZUSERServiceImpl.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/service/IBZUSERServiceImpl.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
service
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
service
;
import
cn.ibizlab.util.domain.IBZUSER
;
import
cn.ibizlab.util.domain.IBZUSER
;
import
cn.ibizlab.util.errors.BadRequestAlertException
;
import
cn.ibizlab.util.helper.CachedBeanCopier
;
import
cn.ibizlab.util.mapper.IBZUSERMapper
;
import
cn.ibizlab.util.mapper.IBZUSERMapper
;
import
cn.ibizlab.util.security.AuthenticationUser
;
import
cn.ibizlab.util.service.AuthenticationUserService
;
import
cn.ibizlab.util.service.IBZUSERService
;
import
cn.ibizlab.util.service.IBZUSERService
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnExpression
;
import
org.springframework.context.annotation.Primary
;
import
org.springframework.security.core.userdetails.UsernameNotFoundException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.DigestUtils
;
import
org.springframework.util.StringUtils
;
/**
/**
* 实体[IBZUSER] 服务对象接口实现
* 实体[IBZUSER] 服务对象接口实现
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/service/OUCoreService.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/service/OUCoreService.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
service
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
service
;
import
cn.ibizlab.core.extensions.domain.*
;
import
cn.ibizlab.core.
ou.
extensions.domain.*
;
import
cn.ibizlab.core.extensions.mapping.IBZDept2NodeMapping
;
import
cn.ibizlab.core.
ou.
extensions.mapping.IBZDept2NodeMapping
;
import
cn.ibizlab.core.extensions.mapping.IBZEmp2NodeMapping
;
import
cn.ibizlab.core.
ou.
extensions.mapping.IBZEmp2NodeMapping
;
import
cn.ibizlab.core.extensions.mapping.IBZOrg2NodeMapping
;
import
cn.ibizlab.core.
ou.
extensions.mapping.IBZOrg2NodeMapping
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
...
...
ibzou-core/src/main/java/cn/ibizlab/core/extensions/service/OUModelService.java
→
ibzou-core/src/main/java/cn/ibizlab/core/
ou/
extensions/service/OUModelService.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
core
.
extensions
.
service
;
package
cn
.
ibizlab
.
core
.
ou
.
extensions
.
service
;
import
cn.ibizlab.core.extensions.domain.DeptMap
;
import
cn.ibizlab.core.
ou.
extensions.domain.DeptMap
;
import
cn.ibizlab.core.extensions.domain.OrgMap
;
import
cn.ibizlab.core.
ou.
extensions.domain.OrgMap
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZDepartment
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.core.ou.domain.IBZOrganization
;
import
cn.ibizlab.core.ou.service.IIBZDepartmentService
;
import
cn.ibizlab.core.ou.service.IIBZDepartmentService
;
import
cn.ibizlab.core.ou.service.IIBZOrganizationService
;
import
cn.ibizlab.core.ou.service.IIBZOrganizationService
;
import
cn.ibizlab.util.security.AuthenticationUser
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.cache.annotation.CacheEvict
;
import
org.springframework.cache.annotation.Cacheable
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.StringUtils
;
import
org.springframework.util.StringUtils
;
...
...
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/extensions/OUCoreResource.java
浏览文件 @
098b421c
package
cn
.
ibizlab
.
api
.
rest
.
extensions
;
package
cn
.
ibizlab
.
api
.
rest
.
extensions
;
import
cn.ibizlab.core.extensions.domain.*
;
import
cn.ibizlab.core.
ou.
extensions.domain.*
;
import
cn.ibizlab.core.extensions.service.OUCoreService
;
import
cn.ibizlab.core.
ou.
extensions.service.OUCoreService
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.domain.IBZEmployee
;
import
cn.ibizlab.core.ou.service.IIBZEmployeeService
;
import
cn.ibizlab.core.ou.service.IIBZEmployeeService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录