Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
b0556a44
提交
b0556a44
编写于
2月 03, 2021
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibiz-rt,ibizlab-runtime]
上级
eb0193d4
变更
121
隐藏空白字符变更
内嵌
并排
正在显示
121 个修改的文件
包含
681 行增加
和
201 行删除
+681
-201
DictCatalogFallback.java
...java/cn/ibizlab/core/dict/client/DictCatalogFallback.java
+1
-1
DictCatalogFeignClient.java
...a/cn/ibizlab/core/dict/client/DictCatalogFeignClient.java
+1
-1
DictOptionFallback.java
.../java/cn/ibizlab/core/dict/client/DictOptionFallback.java
+1
-1
DictOptionFeignClient.java
...va/cn/ibizlab/core/dict/client/DictOptionFeignClient.java
+1
-1
DictCatalogServiceImpl.java
...bizlab/core/dict/service/impl/DictCatalogServiceImpl.java
+15
-3
DictOptionServiceImpl.java
...ibizlab/core/dict/service/impl/DictOptionServiceImpl.java
+15
-3
SDFileFallback.java
...main/java/cn/ibizlab/core/disk/client/SDFileFallback.java
+1
-1
SDFileFeignClient.java
...n/java/cn/ibizlab/core/disk/client/SDFileFeignClient.java
+1
-1
SDFileServiceImpl.java
.../cn/ibizlab/core/disk/service/impl/SDFileServiceImpl.java
+15
-3
MsgBodyFallback.java
...n/java/cn/ibizlab/core/notify/client/MsgBodyFallback.java
+1
-1
MsgBodyFeignClient.java
...ava/cn/ibizlab/core/notify/client/MsgBodyFeignClient.java
+1
-1
MsgOpenAccessFallback.java
.../cn/ibizlab/core/notify/client/MsgOpenAccessFallback.java
+1
-1
MsgOpenAccessFeignClient.java
.../ibizlab/core/notify/client/MsgOpenAccessFeignClient.java
+1
-1
MsgTemplateFallback.java
...va/cn/ibizlab/core/notify/client/MsgTemplateFallback.java
+1
-1
MsgTemplateFeignClient.java
...cn/ibizlab/core/notify/client/MsgTemplateFeignClient.java
+1
-1
MsgUserAccountFallback.java
...cn/ibizlab/core/notify/client/MsgUserAccountFallback.java
+1
-1
MsgUserAccountFeignClient.java
...ibizlab/core/notify/client/MsgUserAccountFeignClient.java
+1
-1
MsgBodyServiceImpl.java
.../ibizlab/core/notify/service/impl/MsgBodyServiceImpl.java
+15
-3
MsgOpenAccessServiceImpl.java
...ab/core/notify/service/impl/MsgOpenAccessServiceImpl.java
+15
-3
MsgTemplateServiceImpl.java
...zlab/core/notify/service/impl/MsgTemplateServiceImpl.java
+15
-3
MsgUserAccountServiceImpl.java
...b/core/notify/service/impl/MsgUserAccountServiceImpl.java
+15
-3
SysDepartmentFallback.java
...java/cn/ibizlab/core/ou/client/SysDepartmentFallback.java
+1
-1
SysDepartmentFeignClient.java
...a/cn/ibizlab/core/ou/client/SysDepartmentFeignClient.java
+1
-1
SysDeptMemberFallback.java
...java/cn/ibizlab/core/ou/client/SysDeptMemberFallback.java
+1
-1
SysDeptMemberFeignClient.java
...a/cn/ibizlab/core/ou/client/SysDeptMemberFeignClient.java
+1
-1
SysEmployeeFallback.java
...n/java/cn/ibizlab/core/ou/client/SysEmployeeFallback.java
+1
-1
SysEmployeeFeignClient.java
...ava/cn/ibizlab/core/ou/client/SysEmployeeFeignClient.java
+1
-1
SysOrganizationFallback.java
...va/cn/ibizlab/core/ou/client/SysOrganizationFallback.java
+1
-1
SysOrganizationFeignClient.java
...cn/ibizlab/core/ou/client/SysOrganizationFeignClient.java
+1
-1
SysPostFallback.java
.../main/java/cn/ibizlab/core/ou/client/SysPostFallback.java
+1
-1
SysPostFeignClient.java
...in/java/cn/ibizlab/core/ou/client/SysPostFeignClient.java
+1
-1
SysTeamFallback.java
.../main/java/cn/ibizlab/core/ou/client/SysTeamFallback.java
+1
-1
SysTeamFeignClient.java
...in/java/cn/ibizlab/core/ou/client/SysTeamFeignClient.java
+1
-1
SysTeamMemberFallback.java
...java/cn/ibizlab/core/ou/client/SysTeamMemberFallback.java
+1
-1
SysTeamMemberFeignClient.java
...a/cn/ibizlab/core/ou/client/SysTeamMemberFeignClient.java
+1
-1
SysDepartmentServiceImpl.java
...bizlab/core/ou/service/impl/SysDepartmentServiceImpl.java
+15
-3
SysDeptMemberServiceImpl.java
...bizlab/core/ou/service/impl/SysDeptMemberServiceImpl.java
+15
-3
SysEmployeeServiceImpl.java
.../ibizlab/core/ou/service/impl/SysEmployeeServiceImpl.java
+15
-3
SysOrganizationServiceImpl.java
...zlab/core/ou/service/impl/SysOrganizationServiceImpl.java
+15
-3
SysPostServiceImpl.java
...a/cn/ibizlab/core/ou/service/impl/SysPostServiceImpl.java
+15
-3
SysTeamMemberServiceImpl.java
...bizlab/core/ou/service/impl/SysTeamMemberServiceImpl.java
+15
-3
SysTeamServiceImpl.java
...a/cn/ibizlab/core/ou/service/impl/SysTeamServiceImpl.java
+15
-3
PayOpenAccessFallback.java
...ava/cn/ibizlab/core/pay/client/PayOpenAccessFallback.java
+1
-1
PayOpenAccessFeignClient.java
.../cn/ibizlab/core/pay/client/PayOpenAccessFeignClient.java
+1
-1
PayTradeFallback.java
...ain/java/cn/ibizlab/core/pay/client/PayTradeFallback.java
+1
-1
PayTradeFeignClient.java
.../java/cn/ibizlab/core/pay/client/PayTradeFeignClient.java
+1
-1
PayOpenAccessServiceImpl.java
...izlab/core/pay/service/impl/PayOpenAccessServiceImpl.java
+15
-3
PayTradeServiceImpl.java
...cn/ibizlab/core/pay/service/impl/PayTradeServiceImpl.java
+15
-3
JobsInfoFallback.java
...in/java/cn/ibizlab/core/task/client/JobsInfoFallback.java
+1
-1
JobsInfoFeignClient.java
...java/cn/ibizlab/core/task/client/JobsInfoFeignClient.java
+1
-1
JobsLockFallback.java
...in/java/cn/ibizlab/core/task/client/JobsLockFallback.java
+1
-1
JobsLockFeignClient.java
...java/cn/ibizlab/core/task/client/JobsLockFeignClient.java
+1
-1
JobsLogFallback.java
...ain/java/cn/ibizlab/core/task/client/JobsLogFallback.java
+1
-1
JobsLogFeignClient.java
.../java/cn/ibizlab/core/task/client/JobsLogFeignClient.java
+1
-1
JobsRegistryFallback.java
...ava/cn/ibizlab/core/task/client/JobsRegistryFallback.java
+1
-1
JobsRegistryFeignClient.java
.../cn/ibizlab/core/task/client/JobsRegistryFeignClient.java
+1
-1
JobsInfoServiceImpl.java
...n/ibizlab/core/task/service/impl/JobsInfoServiceImpl.java
+15
-3
JobsLockServiceImpl.java
...n/ibizlab/core/task/service/impl/JobsLockServiceImpl.java
+15
-3
JobsLogServiceImpl.java
...cn/ibizlab/core/task/service/impl/JobsLogServiceImpl.java
+15
-3
JobsRegistryServiceImpl.java
...izlab/core/task/service/impl/JobsRegistryServiceImpl.java
+15
-3
SysAppFallback.java
.../main/java/cn/ibizlab/core/uaa/client/SysAppFallback.java
+1
-1
SysAppFeignClient.java
...in/java/cn/ibizlab/core/uaa/client/SysAppFeignClient.java
+1
-1
SysAuthLogFallback.java
...n/java/cn/ibizlab/core/uaa/client/SysAuthLogFallback.java
+1
-1
SysAuthLogFeignClient.java
...ava/cn/ibizlab/core/uaa/client/SysAuthLogFeignClient.java
+1
-1
SysOpenAccessFallback.java
...ava/cn/ibizlab/core/uaa/client/SysOpenAccessFallback.java
+1
-1
SysOpenAccessFeignClient.java
.../cn/ibizlab/core/uaa/client/SysOpenAccessFeignClient.java
+1
-1
SysPSSystemFallback.java
.../java/cn/ibizlab/core/uaa/client/SysPSSystemFallback.java
+1
-1
SysPSSystemFeignClient.java
...va/cn/ibizlab/core/uaa/client/SysPSSystemFeignClient.java
+1
-1
SysPermissionFallback.java
...ava/cn/ibizlab/core/uaa/client/SysPermissionFallback.java
+1
-1
SysPermissionFeignClient.java
.../cn/ibizlab/core/uaa/client/SysPermissionFeignClient.java
+1
-1
SysRoleFallback.java
...main/java/cn/ibizlab/core/uaa/client/SysRoleFallback.java
+1
-1
SysRoleFeignClient.java
...n/java/cn/ibizlab/core/uaa/client/SysRoleFeignClient.java
+1
-1
SysRolePermissionFallback.java
...cn/ibizlab/core/uaa/client/SysRolePermissionFallback.java
+1
-1
SysRolePermissionFeignClient.java
...ibizlab/core/uaa/client/SysRolePermissionFeignClient.java
+1
-1
SysUserAuthFallback.java
.../java/cn/ibizlab/core/uaa/client/SysUserAuthFallback.java
+1
-1
SysUserAuthFeignClient.java
...va/cn/ibizlab/core/uaa/client/SysUserAuthFeignClient.java
+1
-1
SysUserFallback.java
...main/java/cn/ibizlab/core/uaa/client/SysUserFallback.java
+1
-1
SysUserFeignClient.java
...n/java/cn/ibizlab/core/uaa/client/SysUserFeignClient.java
+1
-1
SysUserRoleFallback.java
.../java/cn/ibizlab/core/uaa/client/SysUserRoleFallback.java
+1
-1
SysUserRoleFeignClient.java
...va/cn/ibizlab/core/uaa/client/SysUserRoleFeignClient.java
+1
-1
SysAppServiceImpl.java
...a/cn/ibizlab/core/uaa/service/impl/SysAppServiceImpl.java
+15
-3
SysAuthLogServiceImpl.java
.../ibizlab/core/uaa/service/impl/SysAuthLogServiceImpl.java
+15
-3
SysOpenAccessServiceImpl.java
...izlab/core/uaa/service/impl/SysOpenAccessServiceImpl.java
+15
-3
SysPSSystemServiceImpl.java
...ibizlab/core/uaa/service/impl/SysPSSystemServiceImpl.java
+15
-3
SysPermissionServiceImpl.java
...izlab/core/uaa/service/impl/SysPermissionServiceImpl.java
+15
-3
SysRolePermissionServiceImpl.java
...b/core/uaa/service/impl/SysRolePermissionServiceImpl.java
+15
-3
SysRoleServiceImpl.java
.../cn/ibizlab/core/uaa/service/impl/SysRoleServiceImpl.java
+15
-3
SysUserAuthServiceImpl.java
...ibizlab/core/uaa/service/impl/SysUserAuthServiceImpl.java
+15
-3
SysUserRoleServiceImpl.java
...ibizlab/core/uaa/service/impl/SysUserRoleServiceImpl.java
+15
-3
SysUserServiceImpl.java
.../cn/ibizlab/core/uaa/service/impl/SysUserServiceImpl.java
+15
-3
WFGroupFallback.java
...java/cn/ibizlab/core/workflow/client/WFGroupFallback.java
+1
-1
WFGroupFeignClient.java
...a/cn/ibizlab/core/workflow/client/WFGroupFeignClient.java
+1
-1
WFMemberFallback.java
...ava/cn/ibizlab/core/workflow/client/WFMemberFallback.java
+1
-1
WFMemberFeignClient.java
.../cn/ibizlab/core/workflow/client/WFMemberFeignClient.java
+1
-1
WFProcessDefinitionFallback.java
...lab/core/workflow/client/WFProcessDefinitionFallback.java
+1
-1
WFProcessDefinitionFeignClient.java
.../core/workflow/client/WFProcessDefinitionFeignClient.java
+1
-1
WFProcessInstanceFallback.java
...izlab/core/workflow/client/WFProcessInstanceFallback.java
+1
-1
WFProcessInstanceFeignClient.java
...ab/core/workflow/client/WFProcessInstanceFeignClient.java
+1
-1
WFProcessNodeFallback.java
...n/ibizlab/core/workflow/client/WFProcessNodeFallback.java
+1
-1
WFProcessNodeFeignClient.java
...bizlab/core/workflow/client/WFProcessNodeFeignClient.java
+1
-1
WFREModelFallback.java
...va/cn/ibizlab/core/workflow/client/WFREModelFallback.java
+1
-1
WFREModelFeignClient.java
...cn/ibizlab/core/workflow/client/WFREModelFeignClient.java
+1
-1
WFSystemFallback.java
...ava/cn/ibizlab/core/workflow/client/WFSystemFallback.java
+1
-1
WFSystemFeignClient.java
.../cn/ibizlab/core/workflow/client/WFSystemFeignClient.java
+1
-1
WFTaskFallback.java
.../java/cn/ibizlab/core/workflow/client/WFTaskFallback.java
+1
-1
WFTaskFeignClient.java
...va/cn/ibizlab/core/workflow/client/WFTaskFeignClient.java
+1
-1
WFTaskWayFallback.java
...va/cn/ibizlab/core/workflow/client/WFTaskWayFallback.java
+1
-1
WFTaskWayFeignClient.java
...cn/ibizlab/core/workflow/client/WFTaskWayFeignClient.java
+1
-1
WFUserFallback.java
.../java/cn/ibizlab/core/workflow/client/WFUserFallback.java
+1
-1
WFUserFeignClient.java
...va/cn/ibizlab/core/workflow/client/WFUserFeignClient.java
+1
-1
WFGroupServiceImpl.java
...bizlab/core/workflow/service/impl/WFGroupServiceImpl.java
+15
-3
WFMemberServiceImpl.java
...izlab/core/workflow/service/impl/WFMemberServiceImpl.java
+15
-3
WFProcessDefinitionServiceImpl.java
...workflow/service/impl/WFProcessDefinitionServiceImpl.java
+15
-3
WFProcessInstanceServiceImpl.java
...e/workflow/service/impl/WFProcessInstanceServiceImpl.java
+15
-3
WFProcessNodeServiceImpl.java
.../core/workflow/service/impl/WFProcessNodeServiceImpl.java
+15
-3
WFREModelServiceImpl.java
...zlab/core/workflow/service/impl/WFREModelServiceImpl.java
+15
-3
WFSystemServiceImpl.java
...izlab/core/workflow/service/impl/WFSystemServiceImpl.java
+15
-3
WFTaskServiceImpl.java
...ibizlab/core/workflow/service/impl/WFTaskServiceImpl.java
+15
-3
WFTaskWayServiceImpl.java
...zlab/core/workflow/service/impl/WFTaskWayServiceImpl.java
+15
-3
WFUserServiceImpl.java
...ibizlab/core/workflow/service/impl/WFUserServiceImpl.java
+15
-3
DELogicAspect.java
...l/src/main/java/cn/ibizlab/util/aspect/DELogicAspect.java
+1
-1
未找到文件。
ibzrt-core/src/main/java/cn/ibizlab/core/dict/client/DictCatalogFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class DictCatalogFallback implements DictCatalogFeignClient {
}
public
DictCatalog
saveEntity
(
DictCatalog
dictcatalog
)
{
public
Object
saveEntity
(
DictCatalog
dictcatalog
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/dict/client/DictCatalogFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface DictCatalogFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dictcatalogs/save"
)
DictCatalog
saveEntity
(
@RequestBody
DictCatalog
dictcatalog
);
Object
saveEntity
(
@RequestBody
DictCatalog
dictcatalog
);
default
Boolean
save
(
@RequestBody
DictCatalog
dictcatalog
)
{
return
saveEntity
(
dictcatalog
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/dict/client/DictOptionFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class DictOptionFallback implements DictOptionFeignClient {
}
public
DictOption
saveEntity
(
DictOption
dictoption
)
{
public
Object
saveEntity
(
DictOption
dictoption
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/dict/client/DictOptionFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface DictOptionFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dictoptions/save"
)
DictOption
saveEntity
(
@RequestBody
DictOption
dictoption
);
Object
saveEntity
(
@RequestBody
DictOption
dictoption
);
default
Boolean
save
(
@RequestBody
DictOption
dictoption
)
{
return
saveEntity
(
dictoption
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/dict/service/impl/DictCatalogServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class DictCatalogServiceImpl implements IDictCatalogService {
@Override
@Transactional
public
boolean
save
(
DictCatalog
et
)
{
DictCatalog
rt
=
dictCatalogFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
dictCatalogFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
DictCatalog
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/dict/service/impl/DictOptionServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class DictOptionServiceImpl implements IDictOptionService {
@Override
@Transactional
public
boolean
save
(
DictOption
et
)
{
DictOption
rt
=
dictOptionFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
dictOptionFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
DictOption
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/disk/client/SDFileFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SDFileFallback implements SDFileFeignClient {
}
public
SDFile
saveEntity
(
SDFile
sdfile
)
{
public
Object
saveEntity
(
SDFile
sdfile
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/disk/client/SDFileFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SDFileFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sdfiles/save"
)
SDFile
saveEntity
(
@RequestBody
SDFile
sdfile
);
Object
saveEntity
(
@RequestBody
SDFile
sdfile
);
default
Boolean
save
(
@RequestBody
SDFile
sdfile
)
{
return
saveEntity
(
sdfile
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/disk/service/impl/SDFileServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SDFileServiceImpl implements ISDFileService {
@Override
@Transactional
public
boolean
save
(
SDFile
et
)
{
SDFile
rt
=
sDFileFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sDFileFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SDFile
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgBodyFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class MsgBodyFallback implements MsgBodyFeignClient {
}
public
MsgBody
saveEntity
(
MsgBody
msgbody
)
{
public
Object
saveEntity
(
MsgBody
msgbody
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgBodyFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface MsgBodyFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/msgbodies/save"
)
MsgBody
saveEntity
(
@RequestBody
MsgBody
msgbody
);
Object
saveEntity
(
@RequestBody
MsgBody
msgbody
);
default
Boolean
save
(
@RequestBody
MsgBody
msgbody
)
{
return
saveEntity
(
msgbody
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgOpenAccessFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class MsgOpenAccessFallback implements MsgOpenAccessFeignClient {
}
public
MsgOpenAccess
saveEntity
(
MsgOpenAccess
msgopenaccess
)
{
public
Object
saveEntity
(
MsgOpenAccess
msgopenaccess
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgOpenAccessFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface MsgOpenAccessFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/msgopenaccesses/save"
)
MsgOpenAccess
saveEntity
(
@RequestBody
MsgOpenAccess
msgopenaccess
);
Object
saveEntity
(
@RequestBody
MsgOpenAccess
msgopenaccess
);
default
Boolean
save
(
@RequestBody
MsgOpenAccess
msgopenaccess
)
{
return
saveEntity
(
msgopenaccess
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgTemplateFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class MsgTemplateFallback implements MsgTemplateFeignClient {
}
public
MsgTemplate
saveEntity
(
MsgTemplate
msgtemplate
)
{
public
Object
saveEntity
(
MsgTemplate
msgtemplate
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgTemplateFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface MsgTemplateFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/msgtemplates/save"
)
MsgTemplate
saveEntity
(
@RequestBody
MsgTemplate
msgtemplate
);
Object
saveEntity
(
@RequestBody
MsgTemplate
msgtemplate
);
default
Boolean
save
(
@RequestBody
MsgTemplate
msgtemplate
)
{
return
saveEntity
(
msgtemplate
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgUserAccountFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class MsgUserAccountFallback implements MsgUserAccountFeignClient {
}
public
MsgUserAccoun
t
saveEntity
(
MsgUserAccount
msguseraccount
)
{
public
Objec
t
saveEntity
(
MsgUserAccount
msguseraccount
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/client/MsgUserAccountFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface MsgUserAccountFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/msguseraccounts/save"
)
MsgUserAccoun
t
saveEntity
(
@RequestBody
MsgUserAccount
msguseraccount
);
Objec
t
saveEntity
(
@RequestBody
MsgUserAccount
msguseraccount
);
default
Boolean
save
(
@RequestBody
MsgUserAccount
msguseraccount
)
{
return
saveEntity
(
msguseraccount
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/service/impl/MsgBodyServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class MsgBodyServiceImpl implements IMsgBodyService {
@Override
@Transactional
public
boolean
save
(
MsgBody
et
)
{
MsgBody
rt
=
msgBodyFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
msgBodyFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
MsgBody
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/service/impl/MsgOpenAccessServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class MsgOpenAccessServiceImpl implements IMsgOpenAccessService {
@Override
@Transactional
public
boolean
save
(
MsgOpenAccess
et
)
{
MsgOpenAccess
rt
=
msgOpenAccessFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
msgOpenAccessFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
MsgOpenAccess
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/service/impl/MsgTemplateServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class MsgTemplateServiceImpl implements IMsgTemplateService {
@Override
@Transactional
public
boolean
save
(
MsgTemplate
et
)
{
MsgTemplate
rt
=
msgTemplateFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
msgTemplateFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
MsgTemplate
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/notify/service/impl/MsgUserAccountServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class MsgUserAccountServiceImpl implements IMsgUserAccountService {
@Override
@Transactional
public
boolean
save
(
MsgUserAccount
et
)
{
MsgUserAccount
rt
=
msgUserAccountFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
msgUserAccountFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
MsgUserAccount
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysDepartmentFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysDepartmentFallback implements SysDepartmentFeignClient {
}
public
SysDepartmen
t
saveEntity
(
SysDepartment
sysdepartment
)
{
public
Objec
t
saveEntity
(
SysDepartment
sysdepartment
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysDepartmentFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysDepartmentFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysdepartments/save"
)
SysDepartmen
t
saveEntity
(
@RequestBody
SysDepartment
sysdepartment
);
Objec
t
saveEntity
(
@RequestBody
SysDepartment
sysdepartment
);
default
Boolean
save
(
@RequestBody
SysDepartment
sysdepartment
)
{
return
saveEntity
(
sysdepartment
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysDeptMemberFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysDeptMemberFallback implements SysDeptMemberFeignClient {
}
public
SysDeptMember
saveEntity
(
SysDeptMember
sysdeptmember
)
{
public
Object
saveEntity
(
SysDeptMember
sysdeptmember
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysDeptMemberFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysDeptMemberFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysdeptmembers/save"
)
SysDeptMember
saveEntity
(
@RequestBody
SysDeptMember
sysdeptmember
);
Object
saveEntity
(
@RequestBody
SysDeptMember
sysdeptmember
);
default
Boolean
save
(
@RequestBody
SysDeptMember
sysdeptmember
)
{
return
saveEntity
(
sysdeptmember
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysEmployeeFallback.java
浏览文件 @
b0556a44
...
...
@@ -65,7 +65,7 @@ public class SysEmployeeFallback implements SysEmployeeFeignClient {
return
null
;
}
public
SysEmployee
saveEntity
(
SysEmployee
sysemployee
)
{
public
Object
saveEntity
(
SysEmployee
sysemployee
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysEmployeeFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public interface SysEmployeeFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysemployees/save"
)
SysEmployee
saveEntity
(
@RequestBody
SysEmployee
sysemployee
);
Object
saveEntity
(
@RequestBody
SysEmployee
sysemployee
);
default
Boolean
save
(
@RequestBody
SysEmployee
sysemployee
)
{
return
saveEntity
(
sysemployee
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysOrganizationFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysOrganizationFallback implements SysOrganizationFeignClient {
}
public
SysOrganization
saveEntity
(
SysOrganization
sysorganization
)
{
public
Object
saveEntity
(
SysOrganization
sysorganization
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysOrganizationFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysOrganizationFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysorganizations/save"
)
SysOrganization
saveEntity
(
@RequestBody
SysOrganization
sysorganization
);
Object
saveEntity
(
@RequestBody
SysOrganization
sysorganization
);
default
Boolean
save
(
@RequestBody
SysOrganization
sysorganization
)
{
return
saveEntity
(
sysorganization
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysPostFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysPostFallback implements SysPostFeignClient {
}
public
SysPos
t
saveEntity
(
SysPost
syspost
)
{
public
Objec
t
saveEntity
(
SysPost
syspost
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysPostFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysPostFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysposts/save"
)
SysPos
t
saveEntity
(
@RequestBody
SysPost
syspost
);
Objec
t
saveEntity
(
@RequestBody
SysPost
syspost
);
default
Boolean
save
(
@RequestBody
SysPost
syspost
)
{
return
saveEntity
(
syspost
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysTeamFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysTeamFallback implements SysTeamFeignClient {
}
public
SysTeam
saveEntity
(
SysTeam
systeam
)
{
public
Object
saveEntity
(
SysTeam
systeam
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysTeamFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysTeamFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeams/save"
)
SysTeam
saveEntity
(
@RequestBody
SysTeam
systeam
);
Object
saveEntity
(
@RequestBody
SysTeam
systeam
);
default
Boolean
save
(
@RequestBody
SysTeam
systeam
)
{
return
saveEntity
(
systeam
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysTeamMemberFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysTeamMemberFallback implements SysTeamMemberFeignClient {
}
public
SysTeamMember
saveEntity
(
SysTeamMember
systeammember
)
{
public
Object
saveEntity
(
SysTeamMember
systeammember
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/client/SysTeamMemberFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysTeamMemberFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/systeammembers/save"
)
SysTeamMember
saveEntity
(
@RequestBody
SysTeamMember
systeammember
);
Object
saveEntity
(
@RequestBody
SysTeamMember
systeammember
);
default
Boolean
save
(
@RequestBody
SysTeamMember
systeammember
)
{
return
saveEntity
(
systeammember
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysDepartmentServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysDepartmentServiceImpl implements ISysDepartmentService {
@Override
@Transactional
public
boolean
save
(
SysDepartment
et
)
{
SysDepartment
rt
=
sysDepartmentFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysDepartmentFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysDepartment
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysDeptMemberServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysDeptMemberServiceImpl implements ISysDeptMemberService {
@Override
@Transactional
public
boolean
save
(
SysDeptMember
et
)
{
SysDeptMember
rt
=
sysDeptMemberFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysDeptMemberFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysDeptMember
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysEmployeeServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -124,11 +124,23 @@ public class SysEmployeeServiceImpl implements ISysEmployeeService {
@Override
@Transactional
public
boolean
save
(
SysEmployee
et
)
{
SysEmployee
rt
=
sysEmployeeFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysEmployeeFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysEmployee
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysOrganizationServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService {
@Override
@Transactional
public
boolean
save
(
SysOrganization
et
)
{
SysOrganization
rt
=
sysOrganizationFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysOrganizationFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysOrganization
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysPostServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysPostServiceImpl implements ISysPostService {
@Override
@Transactional
public
boolean
save
(
SysPost
et
)
{
SysPost
rt
=
sysPostFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysPostFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysPost
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysTeamMemberServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysTeamMemberServiceImpl implements ISysTeamMemberService {
@Override
@Transactional
public
boolean
save
(
SysTeamMember
et
)
{
SysTeamMember
rt
=
sysTeamMemberFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysTeamMemberFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysTeamMember
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/service/impl/SysTeamServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysTeamServiceImpl implements ISysTeamService {
@Override
@Transactional
public
boolean
save
(
SysTeam
et
)
{
SysTeam
rt
=
sysTeamFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysTeamFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysTeam
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/pay/client/PayOpenAccessFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class PayOpenAccessFallback implements PayOpenAccessFeignClient {
}
public
PayOpenAccess
saveEntity
(
PayOpenAccess
payopenaccess
)
{
public
Object
saveEntity
(
PayOpenAccess
payopenaccess
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/pay/client/PayOpenAccessFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface PayOpenAccessFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/payopenaccesses/save"
)
PayOpenAccess
saveEntity
(
@RequestBody
PayOpenAccess
payopenaccess
);
Object
saveEntity
(
@RequestBody
PayOpenAccess
payopenaccess
);
default
Boolean
save
(
@RequestBody
PayOpenAccess
payopenaccess
)
{
return
saveEntity
(
payopenaccess
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/pay/client/PayTradeFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class PayTradeFallback implements PayTradeFeignClient {
}
public
PayTrade
saveEntity
(
PayTrade
paytrade
)
{
public
Object
saveEntity
(
PayTrade
paytrade
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/pay/client/PayTradeFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface PayTradeFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/paytrades/save"
)
PayTrade
saveEntity
(
@RequestBody
PayTrade
paytrade
);
Object
saveEntity
(
@RequestBody
PayTrade
paytrade
);
default
Boolean
save
(
@RequestBody
PayTrade
paytrade
)
{
return
saveEntity
(
paytrade
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/pay/service/impl/PayOpenAccessServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class PayOpenAccessServiceImpl implements IPayOpenAccessService {
@Override
@Transactional
public
boolean
save
(
PayOpenAccess
et
)
{
PayOpenAccess
rt
=
payOpenAccessFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
payOpenAccessFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
PayOpenAccess
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/pay/service/impl/PayTradeServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class PayTradeServiceImpl implements IPayTradeService {
@Override
@Transactional
public
boolean
save
(
PayTrade
et
)
{
PayTrade
rt
=
payTradeFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
payTradeFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
PayTrade
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsInfoFallback.java
浏览文件 @
b0556a44
...
...
@@ -65,7 +65,7 @@ public class JobsInfoFallback implements JobsInfoFeignClient {
return
null
;
}
public
JobsInfo
saveEntity
(
JobsInfo
jobsinfo
)
{
public
Object
saveEntity
(
JobsInfo
jobsinfo
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsInfoFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public interface JobsInfoFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobsinfos/save"
)
JobsInfo
saveEntity
(
@RequestBody
JobsInfo
jobsinfo
);
Object
saveEntity
(
@RequestBody
JobsInfo
jobsinfo
);
default
Boolean
save
(
@RequestBody
JobsInfo
jobsinfo
)
{
return
saveEntity
(
jobsinfo
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsLockFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class JobsLockFallback implements JobsLockFeignClient {
}
public
JobsLock
saveEntity
(
JobsLock
jobslock
)
{
public
Object
saveEntity
(
JobsLock
jobslock
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsLockFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface JobsLockFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobslocks/save"
)
JobsLock
saveEntity
(
@RequestBody
JobsLock
jobslock
);
Object
saveEntity
(
@RequestBody
JobsLock
jobslock
);
default
Boolean
save
(
@RequestBody
JobsLock
jobslock
)
{
return
saveEntity
(
jobslock
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsLogFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class JobsLogFallback implements JobsLogFeignClient {
}
public
JobsLog
saveEntity
(
JobsLog
jobslog
)
{
public
Object
saveEntity
(
JobsLog
jobslog
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsLogFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface JobsLogFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobslogs/save"
)
JobsLog
saveEntity
(
@RequestBody
JobsLog
jobslog
);
Object
saveEntity
(
@RequestBody
JobsLog
jobslog
);
default
Boolean
save
(
@RequestBody
JobsLog
jobslog
)
{
return
saveEntity
(
jobslog
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsRegistryFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class JobsRegistryFallback implements JobsRegistryFeignClient {
}
public
JobsRegistry
saveEntity
(
JobsRegistry
jobsregistry
)
{
public
Object
saveEntity
(
JobsRegistry
jobsregistry
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/client/JobsRegistryFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface JobsRegistryFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobsregistries/save"
)
JobsRegistry
saveEntity
(
@RequestBody
JobsRegistry
jobsregistry
);
Object
saveEntity
(
@RequestBody
JobsRegistry
jobsregistry
);
default
Boolean
save
(
@RequestBody
JobsRegistry
jobsregistry
)
{
return
saveEntity
(
jobsregistry
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/service/impl/JobsInfoServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -124,11 +124,23 @@ public class JobsInfoServiceImpl implements IJobsInfoService {
@Override
@Transactional
public
boolean
save
(
JobsInfo
et
)
{
JobsInfo
rt
=
jobsInfoFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
jobsInfoFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
JobsInfo
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/service/impl/JobsLockServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class JobsLockServiceImpl implements IJobsLockService {
@Override
@Transactional
public
boolean
save
(
JobsLock
et
)
{
JobsLock
rt
=
jobsLockFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
jobsLockFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
JobsLock
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/service/impl/JobsLogServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class JobsLogServiceImpl implements IJobsLogService {
@Override
@Transactional
public
boolean
save
(
JobsLog
et
)
{
JobsLog
rt
=
jobsLogFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
jobsLogFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
JobsLog
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/task/service/impl/JobsRegistryServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class JobsRegistryServiceImpl implements IJobsRegistryService {
@Override
@Transactional
public
boolean
save
(
JobsRegistry
et
)
{
JobsRegistry
rt
=
jobsRegistryFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
jobsRegistryFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
JobsRegistry
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysAppFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysAppFallback implements SysAppFeignClient {
}
public
SysApp
saveEntity
(
SysApp
sysapp
)
{
public
Object
saveEntity
(
SysApp
sysapp
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysAppFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysAppFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/save"
)
SysApp
saveEntity
(
@RequestBody
SysApp
sysapp
);
Object
saveEntity
(
@RequestBody
SysApp
sysapp
);
default
Boolean
save
(
@RequestBody
SysApp
sysapp
)
{
return
saveEntity
(
sysapp
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysAuthLogFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysAuthLogFallback implements SysAuthLogFeignClient {
}
public
SysAuthLog
saveEntity
(
SysAuthLog
sysauthlog
)
{
public
Object
saveEntity
(
SysAuthLog
sysauthlog
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysAuthLogFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysAuthLogFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysauthlogs/save"
)
SysAuthLog
saveEntity
(
@RequestBody
SysAuthLog
sysauthlog
);
Object
saveEntity
(
@RequestBody
SysAuthLog
sysauthlog
);
default
Boolean
save
(
@RequestBody
SysAuthLog
sysauthlog
)
{
return
saveEntity
(
sysauthlog
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysOpenAccessFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysOpenAccessFallback implements SysOpenAccessFeignClient {
}
public
SysOpenAccess
saveEntity
(
SysOpenAccess
sysopenaccess
)
{
public
Object
saveEntity
(
SysOpenAccess
sysopenaccess
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysOpenAccessFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysOpenAccessFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysopenaccesses/save"
)
SysOpenAccess
saveEntity
(
@RequestBody
SysOpenAccess
sysopenaccess
);
Object
saveEntity
(
@RequestBody
SysOpenAccess
sysopenaccess
);
default
Boolean
save
(
@RequestBody
SysOpenAccess
sysopenaccess
)
{
return
saveEntity
(
sysopenaccess
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysPSSystemFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysPSSystemFallback implements SysPSSystemFeignClient {
}
public
SysPSSystem
saveEntity
(
SysPSSystem
syspssystem
)
{
public
Object
saveEntity
(
SysPSSystem
syspssystem
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysPSSystemFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysPSSystemFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspssystems/save"
)
SysPSSystem
saveEntity
(
@RequestBody
SysPSSystem
syspssystem
);
Object
saveEntity
(
@RequestBody
SysPSSystem
syspssystem
);
default
Boolean
save
(
@RequestBody
SysPSSystem
syspssystem
)
{
return
saveEntity
(
syspssystem
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysPermissionFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysPermissionFallback implements SysPermissionFeignClient {
}
public
SysPermission
saveEntity
(
SysPermission
syspermission
)
{
public
Object
saveEntity
(
SysPermission
syspermission
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysPermissionFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysPermissionFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/save"
)
SysPermission
saveEntity
(
@RequestBody
SysPermission
syspermission
);
Object
saveEntity
(
@RequestBody
SysPermission
syspermission
);
default
Boolean
save
(
@RequestBody
SysPermission
syspermission
)
{
return
saveEntity
(
syspermission
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysRoleFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysRoleFallback implements SysRoleFeignClient {
}
public
SysRole
saveEntity
(
SysRole
sysrole
)
{
public
Object
saveEntity
(
SysRole
sysrole
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysRoleFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysRoleFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/save"
)
SysRole
saveEntity
(
@RequestBody
SysRole
sysrole
);
Object
saveEntity
(
@RequestBody
SysRole
sysrole
);
default
Boolean
save
(
@RequestBody
SysRole
sysrole
)
{
return
saveEntity
(
sysrole
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysRolePermissionFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysRolePermissionFallback implements SysRolePermissionFeignClient {
}
public
SysRolePermission
saveEntity
(
SysRolePermission
sysrolepermission
)
{
public
Object
saveEntity
(
SysRolePermission
sysrolepermission
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysRolePermissionFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysRolePermissionFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysrolepermissions/save"
)
SysRolePermission
saveEntity
(
@RequestBody
SysRolePermission
sysrolepermission
);
Object
saveEntity
(
@RequestBody
SysRolePermission
sysrolepermission
);
default
Boolean
save
(
@RequestBody
SysRolePermission
sysrolepermission
)
{
return
saveEntity
(
sysrolepermission
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysUserAuthFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysUserAuthFallback implements SysUserAuthFeignClient {
}
public
SysUserAuth
saveEntity
(
SysUserAuth
sysuserauth
)
{
public
Object
saveEntity
(
SysUserAuth
sysuserauth
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysUserAuthFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysUserAuthFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysuserauths/save"
)
SysUserAuth
saveEntity
(
@RequestBody
SysUserAuth
sysuserauth
);
Object
saveEntity
(
@RequestBody
SysUserAuth
sysuserauth
);
default
Boolean
save
(
@RequestBody
SysUserAuth
sysuserauth
)
{
return
saveEntity
(
sysuserauth
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysUserFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysUserFallback implements SysUserFeignClient {
}
public
SysUser
saveEntity
(
SysUser
sysuser
)
{
public
Object
saveEntity
(
SysUser
sysuser
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysUserFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysUserFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/save"
)
SysUser
saveEntity
(
@RequestBody
SysUser
sysuser
);
Object
saveEntity
(
@RequestBody
SysUser
sysuser
);
default
Boolean
save
(
@RequestBody
SysUser
sysuser
)
{
return
saveEntity
(
sysuser
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysUserRoleFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class SysUserRoleFallback implements SysUserRoleFeignClient {
}
public
SysUserRole
saveEntity
(
SysUserRole
sysuserrole
)
{
public
Object
saveEntity
(
SysUserRole
sysuserrole
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/client/SysUserRoleFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface SysUserRoleFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysuserroles/save"
)
SysUserRole
saveEntity
(
@RequestBody
SysUserRole
sysuserrole
);
Object
saveEntity
(
@RequestBody
SysUserRole
sysuserrole
);
default
Boolean
save
(
@RequestBody
SysUserRole
sysuserrole
)
{
return
saveEntity
(
sysuserrole
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysAppServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysAppServiceImpl implements ISysAppService {
@Override
@Transactional
public
boolean
save
(
SysApp
et
)
{
SysApp
rt
=
sysAppFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysAppFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysApp
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysAuthLogServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysAuthLogServiceImpl implements ISysAuthLogService {
@Override
@Transactional
public
boolean
save
(
SysAuthLog
et
)
{
SysAuthLog
rt
=
sysAuthLogFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysAuthLogFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysAuthLog
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysOpenAccessServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysOpenAccessServiceImpl implements ISysOpenAccessService {
@Override
@Transactional
public
boolean
save
(
SysOpenAccess
et
)
{
SysOpenAccess
rt
=
sysOpenAccessFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysOpenAccessFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysOpenAccess
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysPSSystemServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysPSSystemServiceImpl implements ISysPSSystemService {
@Override
@Transactional
public
boolean
save
(
SysPSSystem
et
)
{
SysPSSystem
rt
=
sysPSSystemFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysPSSystemFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysPSSystem
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysPermissionServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysPermissionServiceImpl implements ISysPermissionService {
@Override
@Transactional
public
boolean
save
(
SysPermission
et
)
{
SysPermission
rt
=
sysPermissionFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysPermissionFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysPermission
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysRolePermissionServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysRolePermissionServiceImpl implements ISysRolePermissionService {
@Override
@Transactional
public
boolean
save
(
SysRolePermission
et
)
{
SysRolePermission
rt
=
sysRolePermissionFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysRolePermissionFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysRolePermission
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysRoleServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysRoleServiceImpl implements ISysRoleService {
@Override
@Transactional
public
boolean
save
(
SysRole
et
)
{
SysRole
rt
=
sysRoleFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysRoleFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysRole
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserAuthServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysUserAuthServiceImpl implements ISysUserAuthService {
@Override
@Transactional
public
boolean
save
(
SysUserAuth
et
)
{
SysUserAuth
rt
=
sysUserAuthFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysUserAuthFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysUserAuth
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserRoleServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysUserRoleServiceImpl implements ISysUserRoleService {
@Override
@Transactional
public
boolean
save
(
SysUserRole
et
)
{
SysUserRole
rt
=
sysUserRoleFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysUserRoleFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysUserRole
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysUserServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class SysUserServiceImpl implements ISysUserService {
@Override
@Transactional
public
boolean
save
(
SysUser
et
)
{
SysUser
rt
=
sysUserFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
sysUserFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
SysUser
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFGroupFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFGroupFallback implements WFGroupFeignClient {
}
public
WFGroup
saveEntity
(
WFGroup
wfgroup
)
{
public
Object
saveEntity
(
WFGroup
wfgroup
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFGroupFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFGroupFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfgroups/save"
)
WFGroup
saveEntity
(
@RequestBody
WFGroup
wfgroup
);
Object
saveEntity
(
@RequestBody
WFGroup
wfgroup
);
default
Boolean
save
(
@RequestBody
WFGroup
wfgroup
)
{
return
saveEntity
(
wfgroup
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFMemberFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFMemberFallback implements WFMemberFeignClient {
}
public
WFMember
saveEntity
(
WFMember
wfmember
)
{
public
Object
saveEntity
(
WFMember
wfmember
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFMemberFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFMemberFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfmembers/save"
)
WFMember
saveEntity
(
@RequestBody
WFMember
wfmember
);
Object
saveEntity
(
@RequestBody
WFMember
wfmember
);
default
Boolean
save
(
@RequestBody
WFMember
wfmember
)
{
return
saveEntity
(
wfmember
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFProcessDefinitionFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFProcessDefinitionFallback implements WFProcessDefinitionFeignClie
}
public
WFProcessDefinition
saveEntity
(
WFProcessDefinition
wfprocessdefinition
)
{
public
Object
saveEntity
(
WFProcessDefinition
wfprocessdefinition
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFProcessDefinitionFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFProcessDefinitionFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfprocessdefinitions/save"
)
WFProcessDefinition
saveEntity
(
@RequestBody
WFProcessDefinition
wfprocessdefinition
);
Object
saveEntity
(
@RequestBody
WFProcessDefinition
wfprocessdefinition
);
default
Boolean
save
(
@RequestBody
WFProcessDefinition
wfprocessdefinition
)
{
return
saveEntity
(
wfprocessdefinition
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFProcessInstanceFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFProcessInstanceFallback implements WFProcessInstanceFeignClient {
}
public
WFProcessInstance
saveEntity
(
WFProcessInstance
wfprocessinstance
)
{
public
Object
saveEntity
(
WFProcessInstance
wfprocessinstance
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFProcessInstanceFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFProcessInstanceFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfprocessinstances/save"
)
WFProcessInstance
saveEntity
(
@RequestBody
WFProcessInstance
wfprocessinstance
);
Object
saveEntity
(
@RequestBody
WFProcessInstance
wfprocessinstance
);
default
Boolean
save
(
@RequestBody
WFProcessInstance
wfprocessinstance
)
{
return
saveEntity
(
wfprocessinstance
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFProcessNodeFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFProcessNodeFallback implements WFProcessNodeFeignClient {
}
public
WFProcessNode
saveEntity
(
WFProcessNode
wfprocessnode
)
{
public
Object
saveEntity
(
WFProcessNode
wfprocessnode
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFProcessNodeFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFProcessNodeFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfprocessnodes/save"
)
WFProcessNode
saveEntity
(
@RequestBody
WFProcessNode
wfprocessnode
);
Object
saveEntity
(
@RequestBody
WFProcessNode
wfprocessnode
);
default
Boolean
save
(
@RequestBody
WFProcessNode
wfprocessnode
)
{
return
saveEntity
(
wfprocessnode
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFREModelFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFREModelFallback implements WFREModelFeignClient {
}
public
WFREModel
saveEntity
(
WFREModel
wfremodel
)
{
public
Object
saveEntity
(
WFREModel
wfremodel
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFREModelFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFREModelFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfremodels/save"
)
WFREModel
saveEntity
(
@RequestBody
WFREModel
wfremodel
);
Object
saveEntity
(
@RequestBody
WFREModel
wfremodel
);
default
Boolean
save
(
@RequestBody
WFREModel
wfremodel
)
{
return
saveEntity
(
wfremodel
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFSystemFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFSystemFallback implements WFSystemFeignClient {
}
public
WFSystem
saveEntity
(
WFSystem
wfsystem
)
{
public
Object
saveEntity
(
WFSystem
wfsystem
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFSystemFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFSystemFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfsystems/save"
)
WFSystem
saveEntity
(
@RequestBody
WFSystem
wfsystem
);
Object
saveEntity
(
@RequestBody
WFSystem
wfsystem
);
default
Boolean
save
(
@RequestBody
WFSystem
wfsystem
)
{
return
saveEntity
(
wfsystem
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFTaskFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFTaskFallback implements WFTaskFeignClient {
}
public
WFTask
saveEntity
(
WFTask
wftask
)
{
public
Object
saveEntity
(
WFTask
wftask
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFTaskFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFTaskFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wftasks/save"
)
WFTask
saveEntity
(
@RequestBody
WFTask
wftask
);
Object
saveEntity
(
@RequestBody
WFTask
wftask
);
default
Boolean
save
(
@RequestBody
WFTask
wftask
)
{
return
saveEntity
(
wftask
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFTaskWayFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFTaskWayFallback implements WFTaskWayFeignClient {
}
public
WFTaskWay
saveEntity
(
WFTaskWay
wftaskway
)
{
public
Object
saveEntity
(
WFTaskWay
wftaskway
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFTaskWayFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFTaskWayFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wftaskways/save"
)
WFTaskWay
saveEntity
(
@RequestBody
WFTaskWay
wftaskway
);
Object
saveEntity
(
@RequestBody
WFTaskWay
wftaskway
);
default
Boolean
save
(
@RequestBody
WFTaskWay
wftaskway
)
{
return
saveEntity
(
wftaskway
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFUserFallback.java
浏览文件 @
b0556a44
...
...
@@ -61,7 +61,7 @@ public class WFUserFallback implements WFUserFeignClient {
}
public
WFUser
saveEntity
(
WFUser
wfuser
)
{
public
Object
saveEntity
(
WFUser
wfuser
)
{
return
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/client/WFUserFeignClient.java
浏览文件 @
b0556a44
...
...
@@ -57,7 +57,7 @@ public interface WFUserFeignClient {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/wfusers/save"
)
WFUser
saveEntity
(
@RequestBody
WFUser
wfuser
);
Object
saveEntity
(
@RequestBody
WFUser
wfuser
);
default
Boolean
save
(
@RequestBody
WFUser
wfuser
)
{
return
saveEntity
(
wfuser
)!=
null
;
}
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFGroupServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFGroupServiceImpl implements IWFGroupService {
@Override
@Transactional
public
boolean
save
(
WFGroup
et
)
{
WFGroup
rt
=
wFGroupFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFGroupFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFGroup
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFMemberServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFMemberServiceImpl implements IWFMemberService {
@Override
@Transactional
public
boolean
save
(
WFMember
et
)
{
WFMember
rt
=
wFMemberFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFMemberFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFMember
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFProcessDefinitionServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFProcessDefinitionServiceImpl implements IWFProcessDefinitionServi
@Override
@Transactional
public
boolean
save
(
WFProcessDefinition
et
)
{
WFProcessDefinition
rt
=
wFProcessDefinitionFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFProcessDefinitionFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFProcessDefinition
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFProcessInstanceServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFProcessInstanceServiceImpl implements IWFProcessInstanceService {
@Override
@Transactional
public
boolean
save
(
WFProcessInstance
et
)
{
WFProcessInstance
rt
=
wFProcessInstanceFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFProcessInstanceFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFProcessInstance
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFProcessNodeServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFProcessNodeServiceImpl implements IWFProcessNodeService {
@Override
@Transactional
public
boolean
save
(
WFProcessNode
et
)
{
WFProcessNode
rt
=
wFProcessNodeFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFProcessNodeFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFProcessNode
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFREModelServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFREModelServiceImpl implements IWFREModelService {
@Override
@Transactional
public
boolean
save
(
WFREModel
et
)
{
WFREModel
rt
=
wFREModelFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFREModelFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFREModel
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFSystemServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFSystemServiceImpl implements IWFSystemService {
@Override
@Transactional
public
boolean
save
(
WFSystem
et
)
{
WFSystem
rt
=
wFSystemFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFSystemFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFSystem
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFTaskServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFTaskServiceImpl implements IWFTaskService {
@Override
@Transactional
public
boolean
save
(
WFTask
et
)
{
WFTask
rt
=
wFTaskFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFTaskFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFTask
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFTaskWayServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFTaskWayServiceImpl implements IWFTaskWayService {
@Override
@Transactional
public
boolean
save
(
WFTaskWay
et
)
{
WFTaskWay
rt
=
wFTaskWayFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFTaskWayFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFTaskWay
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/workflow/service/impl/WFUserServiceImpl.java
浏览文件 @
b0556a44
...
...
@@ -108,11 +108,23 @@ public class WFUserServiceImpl implements IWFUserService {
@Override
@Transactional
public
boolean
save
(
WFUser
et
)
{
WFUser
rt
=
wFUserFeignClient
.
saveEntity
(
et
);
boolean
result
=
true
;
Object
rt
=
wFUserFeignClient
.
saveEntity
(
et
);
if
(
rt
==
null
)
return
false
;
CachedBeanCopier
.
copy
(
rt
,
et
);
return
true
;
try
{
if
(
rt
instanceof
Map
)
{
ObjectMapper
mapper
=
new
ObjectMapper
();
rt
=
mapper
.
readValue
(
mapper
.
writeValueAsString
(
rt
),
WFUser
.
class
);
if
(
rt
!=
null
)
{
CachedBeanCopier
.
copy
(
rt
,
et
);
}
}
else
if
(
rt
instanceof
Boolean
)
{
result
=
(
boolean
)
rt
;
}
}
catch
(
Exception
e
)
{
}
return
result
;
}
@Override
...
...
ibzrt-util/src/main/java/cn/ibizlab/util/aspect/DELogicAspect.java
浏览文件 @
b0556a44
...
...
@@ -66,7 +66,7 @@ public class DELogicAspect {
* @return
* @throws Throwable
*/
@Around
(
"execution(* cn.ibizlab.core.*.service.*.*(..))"
)
@Around
(
"execution(* cn.ibizlab.core.*.service.*.*(..))
&& !execution(* cn.ibizlab.core.es.service.*.*(..))
"
)
public
Object
executeLogic
(
ProceedingJoinPoint
point
)
throws
Throwable
{
Object
args
[]
=
point
.
getArgs
();
if
(
ObjectUtils
.
isEmpty
(
args
)
||
args
.
length
==
0
)
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录