Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz4j Spring R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7后台标准模板
iBiz4j Spring R7
提交
07dd3baa
提交
07dd3baa
编写于
7月 15, 2020
作者:
zhouweidong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
清除无效类
上级
d0431761
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
0 行增加
和
130 行删除
+0
-130
%DE%ServiceEx.java.ftl
...S_PKGPATH%/core/extensions.service/%DE%ServiceEx.java.ftl
+0
-30
CacheConfig.java.ftl
...c/main/java/%SYS_PKGPATH%/util/cache/CacheConfig.java.ftl
+0
-8
LayeringCache.java.ftl
.../%SYS_PKGPATH%/util/cache/layering/LayeringCache.java.ftl
+0
-8
LayeringCacheManager.java.ftl
...KGPATH%/util/cache/layering/LayeringCacheManager.java.ftl
+0
-8
CustomizedRedisCache.java.ftl
...S_PKGPATH%/util/cache/redis/CustomizedRedisCache.java.ftl
+0
-8
FastJsonRedisSerializer.java.ftl
...KGPATH%/util/cache/redis/FastJsonRedisSerializer.java.ftl
+0
-44
KryoRedisSerializer.java.ftl
...YS_PKGPATH%/util/cache/redis/KryoRedisSerializer.java.ftl
+0
-8
RedisConfig.java.ftl
.../java/%SYS_PKGPATH%/util/cache/redis/RedisConfig.java.ftl
+0
-8
StringRedisSerializer.java.ftl
..._PKGPATH%/util/cache/redis/StringRedisSerializer.java.ftl
+0
-8
未找到文件。
SLN/%PUBPRJ%-core/src/main/java/%SYS_PKGPATH%/core/extensions.service/%DE%ServiceEx.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSDATAENTITY
</#
ibiztemplate
>
<#
comment
>
判断当前实体是否包含自定义行为
</#
comment
>
<#
assign
hasServiceEx
=
false
>
<#
if
item
.
getAllPSDEActions
()??>
<#
list
item
.
getAllPSDEActions
()
as
deaction
>
<#
if
deaction
.
isEnableBackend
()
&&
deaction
.
getActionType
()==
'USERCUSTOM'
>
<#
assign
hasServiceEx
=
true
>
<#
break
>
<#
elseif
deaction
.
isEnableBackend
()
&&
deaction
.
getTestActionMode
??
&&
deaction
.
getTestActionMode
()??
&&
(
deaction
.
getTestActionMode
()
==
1
||
deaction
.
getTestActionMode
()
==
3
)>
<#
assign
hasServiceEx
=
true
>
<#
break
>
</#
if
>
</#
list
>
</#
if
>
<#
if
hasServiceEx
&&
(
de
.
getStorageMode
()==
1
||
de
.
getStorageMode
()==
2
||
de
.
getStorageMode
()==
4
||
de
.
getStorageMode
()==
0
)
>
package
${
pub
.
getPKGCodeName
()}.
core
.
extensions
.
service
;
/**
*
扩展目录已变更,请到
[${
pub
.
getPKGCodeName
()}.
core
.
extensions
.
service
.
xxExService
]
中来进行扩展
*
若您之前有在当前目录下扩展过其它的
service
对象,请将扩展的代码移到新的扩展类中,并注释掉老的扩展类,防止
Bean
重复
*/
@
Deprecated
public
class
${
item
.
codeName
}
ServiceEx
{
}
</#
if
>
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/CacheConfig.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
;
public
class
CacheConfig
{
}
\ No newline at end of file
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/layering/LayeringCache.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
layering
;
public
class
LayeringCache
{
}
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/layering/LayeringCacheManager.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
layering
;
public
class
LayeringCacheManager
{
}
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/redis/CustomizedRedisCache.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
redis
;
public
class
CustomizedRedisCache
{
}
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/redis/FastJsonRedisSerializer.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
redis
;
<#--
import
com
.
alibaba
.
fastjson
.
JSON
;-->
<#--
import
com
.
alibaba
.
fastjson
.
serializer
.
SerializerFeature
;-->
<#--
import
org
.
springframework
.
data
.
redis
.
serializer
.
RedisSerializer
;-->
<#--
import
org
.
springframework
.
data
.
redis
.
serializer
.
SerializationException
;-->
<#--
import
java
.
nio
.
charset
.
Charset
;-->
public
class
FastJsonRedisSerializer
{
<#--
public
static
final
Charset
DEFAULT_CHARSET
=
Charset
.
forName
(
"UTF-8"
);-->
<#--
private
Class
<
T
>
clazz
;-->
<#--
public
FastJsonRedisSerializer
(
Class
<
T
>
clazz
)
{-->
<#--
super
();-->
<#--
this
.
clazz
=
clazz
;-->
<#--}-->
<#--@
Override
-->
<#--
public
byte
[]
serialize
(
T
t
)
throws
SerializationException
-->
<#--{-->
<#--
if
(
t
==
null
)
{-->
<#--
return
new
byte
[
0
];-->
<#--}-->
<#--
return
JSON
.
toJSONString
(
t
,
SerializerFeature
.
WriteClassName
).
getBytes
(
DEFAULT_CHARSET
);-->
<#--}-->
<#--@
Override
-->
<#--
public
T
deserialize
(
byte
[]
bytes
)
throws
SerializationException
-->
<#--{-->
<#--
if
(
bytes
==
null
||
bytes
.
length
<=
0
)
{-->
<#--
return
null
;-->
<#--}-->
<#--
String
str
=
new
String
(
bytes
,
DEFAULT_CHARSET
);-->
<#--
return
(
T
)
JSON
.
parseObject
(
str
,
clazz
);-->
<#--}-->
}
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/redis/KryoRedisSerializer.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
redis
;
public
class
KryoRedisSerializer
{
}
\ No newline at end of file
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/redis/RedisConfig.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
redis
;
public
class
RedisConfig
{
}
\ No newline at end of file
SLN/%PUBPRJ%-util/src/main/java/%SYS_PKGPATH%/util/cache/redis/StringRedisSerializer.java.ftl
已删除
100644 → 0
浏览文件 @
d0431761
<#
ibiztemplate
>
TARGET
=
PSSYSTEM
</#
ibiztemplate
>
package
${
pub
.
getPKGCodeName
()}.
util
.
cache
.
redis
;
public
class
StringRedisSerializer
{
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录