Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
5d5cfb69
提交
5d5cfb69
编写于
1月 01, 2021
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibz-ou,统一组织单位]
上级
e28bcf64
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
66 行增加
和
59 行删除
+66
-59
SysDepartmentServiceImpl.java
...bizlab/core/ou/service/impl/SysDepartmentServiceImpl.java
+12
-11
SysDeptMemberServiceImpl.java
...bizlab/core/ou/service/impl/SysDeptMemberServiceImpl.java
+9
-8
SysEmployeeServiceImpl.java
.../ibizlab/core/ou/service/impl/SysEmployeeServiceImpl.java
+9
-8
SysOrganizationServiceImpl.java
...zlab/core/ou/service/impl/SysOrganizationServiceImpl.java
+9
-8
SysPostServiceImpl.java
...a/cn/ibizlab/core/ou/service/impl/SysPostServiceImpl.java
+9
-8
SysTeamMemberServiceImpl.java
...bizlab/core/ou/service/impl/SysTeamMemberServiceImpl.java
+9
-8
SysTeamServiceImpl.java
...a/cn/ibizlab/core/ou/service/impl/SysTeamServiceImpl.java
+9
-8
未找到文件。
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysDepartmentServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -59,9 +59,6 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
@Autowired
@Lazy
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysOrganizationService
sysorganizationService
;
@Autowired
@Lazy
ISysDepartmentService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -158,7 +155,7 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -176,10 +173,10 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -198,10 +195,10 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -234,6 +231,9 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
this
.
remove
(
new
QueryWrapper
<
SysDepartment
>().
eq
(
"orgid"
,
orgid
));
}
public
ISysDepartmentService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
@Override
public
void
saveByOrgid
(
String
orgid
,
List
<
SysDepartment
>
list
)
{
if
(
list
==
null
)
...
...
@@ -256,11 +256,11 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
_create
.
add
(
sub
);
}
if
(
_update
.
size
()>
0
)
proxyService
.
updateBatch
(
_update
);
getProxyService
()
.
updateBatch
(
_update
);
if
(
_create
.
size
()>
0
)
proxyService
.
createBatch
(
_create
);
getProxyService
()
.
createBatch
(
_create
);
if
(
delIds
.
size
()>
0
)
proxyService
.
removeBatch
(
delIds
);
getProxyService
()
.
removeBatch
(
delIds
);
}
...
...
@@ -354,6 +354,7 @@ public class SysDepartmentServiceImpl extends ServiceImpl<SysDepartmentMapper, S
}
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysDeptMemberServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -61,9 +61,6 @@ public class SysDeptMemberServiceImpl extends ServiceImpl<SysDeptMemberMapper, S
@Autowired
@Lazy
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
logic
.
ISysDeptMembersaveDeptMemberLogic
savedeptmemberLogic
;
@Autowired
@Lazy
ISysDeptMemberService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -154,7 +151,7 @@ public class SysDeptMemberServiceImpl extends ServiceImpl<SysDeptMemberMapper, S
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -172,10 +169,10 @@ public class SysDeptMemberServiceImpl extends ServiceImpl<SysDeptMemberMapper, S
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -194,10 +191,10 @@ public class SysDeptMemberServiceImpl extends ServiceImpl<SysDeptMemberMapper, S
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -317,6 +314,10 @@ public class SysDeptMemberServiceImpl extends ServiceImpl<SysDeptMemberMapper, S
public
ISysDeptMemberService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
}
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysEmployeeServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -63,9 +63,6 @@ public class SysEmployeeServiceImpl extends ServiceImpl<SysEmployeeMapper, SysEm
@Autowired
@Lazy
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysPostService
syspostService
;
@Autowired
@Lazy
ISysEmployeeService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -172,7 +169,7 @@ public class SysEmployeeServiceImpl extends ServiceImpl<SysEmployeeMapper, SysEm
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -190,10 +187,10 @@ public class SysEmployeeServiceImpl extends ServiceImpl<SysEmployeeMapper, SysEm
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -212,10 +209,10 @@ public class SysEmployeeServiceImpl extends ServiceImpl<SysEmployeeMapper, SysEm
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -371,6 +368,10 @@ public class SysEmployeeServiceImpl extends ServiceImpl<SysEmployeeMapper, SysEm
public
ISysEmployeeService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
}
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysOrganizationServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -56,9 +56,6 @@ public class SysOrganizationServiceImpl extends ServiceImpl<SysOrganizationMappe
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysEmployeeService
sysemployeeService
;
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysOrganizationService
sysorganizationService
=
this
;
@Autowired
@Lazy
ISysOrganizationService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -163,7 +160,7 @@ public class SysOrganizationServiceImpl extends ServiceImpl<SysOrganizationMappe
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -181,10 +178,10 @@ public class SysOrganizationServiceImpl extends ServiceImpl<SysOrganizationMappe
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -203,10 +200,10 @@ public class SysOrganizationServiceImpl extends ServiceImpl<SysOrganizationMappe
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -306,6 +303,10 @@ public class SysOrganizationServiceImpl extends ServiceImpl<SysOrganizationMappe
public
ISysOrganizationService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
}
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysPostServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -57,9 +57,6 @@ public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> impl
@Autowired
@Lazy
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysTeamMemberService
systeammemberService
;
@Autowired
@Lazy
ISysPostService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -145,7 +142,7 @@ public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> impl
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -162,10 +159,10 @@ public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> impl
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -183,10 +180,10 @@ public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> impl
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -235,6 +232,10 @@ public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> impl
public
ISysPostService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
}
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysTeamMemberServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -57,9 +57,6 @@ public class SysTeamMemberServiceImpl extends ServiceImpl<SysTeamMemberMapper, S
@Autowired
@Lazy
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysTeamService
systeamService
;
@Autowired
@Lazy
ISysTeamMemberService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -150,7 +147,7 @@ public class SysTeamMemberServiceImpl extends ServiceImpl<SysTeamMemberMapper, S
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -168,10 +165,10 @@ public class SysTeamMemberServiceImpl extends ServiceImpl<SysTeamMemberMapper, S
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -190,10 +187,10 @@ public class SysTeamMemberServiceImpl extends ServiceImpl<SysTeamMemberMapper, S
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -306,6 +303,10 @@ public class SysTeamMemberServiceImpl extends ServiceImpl<SysTeamMemberMapper, S
public
ISysTeamMemberService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
}
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysTeamServiceImpl.java
浏览文件 @
5d5cfb69
...
...
@@ -51,9 +51,6 @@ public class SysTeamServiceImpl extends ServiceImpl<SysTeamMapper, SysTeam> impl
@Autowired
@Lazy
protected
cn
.
ibizlab
.
core
.
ou
.
service
.
ISysTeamMemberService
systeammemberService
;
@Autowired
@Lazy
ISysTeamService
proxyService
;
protected
int
batchSize
=
500
;
...
...
@@ -139,7 +136,7 @@ public class SysTeamServiceImpl extends ServiceImpl<SysTeamMapper, SysTeam> impl
if
(
null
==
et
)
{
return
false
;
}
else
{
return
checkKey
(
et
)
?
proxyService
.
update
(
et
)
:
proxyService
.
create
(
et
);
return
checkKey
(
et
)
?
getProxyService
().
update
(
et
)
:
getProxyService
()
.
create
(
et
);
}
}
...
...
@@ -156,10 +153,10 @@ public class SysTeamServiceImpl extends ServiceImpl<SysTeamMapper, SysTeam> impl
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
return
true
;
}
...
...
@@ -177,10 +174,10 @@ public class SysTeamServiceImpl extends ServiceImpl<SysTeamMapper, SysTeam> impl
}
}
if
(
create
.
size
()
>
0
)
{
proxyService
.
createBatch
(
create
);
getProxyService
()
.
createBatch
(
create
);
}
if
(
update
.
size
()
>
0
)
{
proxyService
.
updateBatch
(
update
);
getProxyService
()
.
updateBatch
(
update
);
}
}
...
...
@@ -229,6 +226,10 @@ public class SysTeamServiceImpl extends ServiceImpl<SysTeamMapper, SysTeam> impl
public
ISysTeamService
getProxyService
()
{
return
cn
.
ibizlab
.
util
.
security
.
SpringContextHolder
.
getBean
(
this
.
getClass
());
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录