Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdict
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdict
提交
5752e095
提交
5752e095
编写于
4月 15, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
a38bc81b
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
412 行增加
和
16 行删除
+412
-16
IBZDict.java
...re/src/main/java/cn/ibizlab/core/dict/domain/IBZDict.java
+161
-8
IBZDictItem.java
...rc/main/java/cn/ibizlab/core/dict/domain/IBZDictItem.java
+251
-8
未找到文件。
ibzdict-core/src/main/java/cn/ibizlab/core/dict/domain/IBZDict.java
浏览文件 @
5752e095
!!!!
模版产生代码错误
:----
Tip:
If
the
failing
expression
is
known
to
be
legally
refer
to
something
that
'
s
sometimes
null
or
missing
,
either
specify
a
default
value
like
myOptionalVar
!
myDefault
,
or
use
<
#
if
myOptionalVar
??>
when
-
present
<
#
else
>
when
-
missing
</
#
if
>.
(
These
only
cover
the
last
step
of
the
expression
;
to
cover
the
whole
expression
,
use
parenthesis:
(
myOptionalVar
.
foo
)!
myDefault
,
(
myOptionalVar
.
foo
)??
----
----
FTL
stack
trace
(
"~"
means
nesting
-
related
):
-
Failed
at:
#
assign
defieldano
=
defieldano
+
"pr... [in template "
CODETEMPL_zh_CN
"
at
line
58
,
column
13
]
----
\ No newline at end of file
package
cn
.
ibizlab
.
core
.
dict
.
domain
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
java.math.BigInteger
;
import
java.util.HashMap
;
import
java.math.BigDecimal
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
cn.ibizlab.util.domain.EntityBase
;
import
cn.ibizlab.util.annotation.DEField
;
import
cn.ibizlab.util.annotation.DEPredefinedField
;
import
cn.ibizlab.util.enums.DEPredefinedFieldFillMode
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
java.io.Serializable
;
import
lombok.Data
;
import
com.baomidou.mybatisplus.annotation.*
;
/**
* 实体[数据字典]
*/
@Data
@TableName
(
value
=
"IBZDICT"
,
resultMap
=
"IBZDictResultMap"
)
public
class
IBZDict
extends
EntityBase
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 字典标识
*/
@TableId
(
value
=
"ibzdictid"
,
type
=
IdType
.
UUID
)
private
String
dictid
;
/**
* 字典名称
*/
@TableField
(
value
=
"ibzdictname"
)
private
String
dictname
;
/**
* 逻辑有效标志
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
LOGICVALID
)
@TableLogic
(
value
=
"1"
,
delval
=
"0"
)
@TableField
(
value
=
"enable"
,
fill
=
FieldFill
.
INSERT
)
private
Integer
enable
;
/**
* 建立时间
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEDATE
)
@TableField
(
value
=
"createdate"
,
fill
=
FieldFill
.
INSERT
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
createdate
;
/**
* 更新时间
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEDATE
)
@TableField
(
value
=
"updatedate"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
updatedate
;
/**
* 建立人
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEMAN
)
@TableField
(
value
=
"createman"
,
fill
=
FieldFill
.
INSERT
)
private
String
createman
;
/**
* 更新人
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEMAN
)
@TableField
(
value
=
"updateman"
,
fill
=
FieldFill
.
INSERT
)
private
String
updateman
;
/**
* 设置 [字典标识]
*/
public
void
setDictid
(
String
dictid
){
this
.
dictid
=
dictid
;
this
.
modify
(
"ibzdictid"
,
dictid
);
}
/**
* 设置 [字典名称]
*/
public
void
setDictname
(
String
dictname
){
this
.
dictname
=
dictname
;
this
.
modify
(
"ibzdictname"
,
dictname
);
}
/**
* 设置 [逻辑有效标志]
*/
public
void
setEnable
(
Integer
enable
){
this
.
enable
=
enable
;
this
.
modify
(
"enable"
,
enable
);
}
/**
* 设置 [建立时间]
*/
public
void
setCreatedate
(
Timestamp
createdate
){
this
.
createdate
=
createdate
;
this
.
modify
(
"createdate"
,
createdate
);
}
/**
* 设置 [更新时间]
*/
public
void
setUpdatedate
(
Timestamp
updatedate
){
this
.
updatedate
=
updatedate
;
this
.
modify
(
"updatedate"
,
updatedate
);
}
/**
* 设置 [建立人]
*/
public
void
setCreateman
(
String
createman
){
this
.
createman
=
createman
;
this
.
modify
(
"createman"
,
createman
);
}
/**
* 设置 [更新人]
*/
public
void
setUpdateman
(
String
updateman
){
this
.
updateman
=
updateman
;
this
.
modify
(
"updateman"
,
updateman
);
}
}
ibzdict-core/src/main/java/cn/ibizlab/core/dict/domain/IBZDictItem.java
浏览文件 @
5752e095
!!!!
模版产生代码错误
:----
Tip:
If
the
failing
expression
is
known
to
be
legally
refer
to
something
that
'
s
sometimes
null
or
missing
,
either
specify
a
default
value
like
myOptionalVar
!
myDefault
,
or
use
<
#
if
myOptionalVar
??>
when
-
present
<
#
else
>
when
-
missing
</
#
if
>.
(
These
only
cover
the
last
step
of
the
expression
;
to
cover
the
whole
expression
,
use
parenthesis:
(
myOptionalVar
.
foo
)!
myDefault
,
(
myOptionalVar
.
foo
)??
----
----
FTL
stack
trace
(
"~"
means
nesting
-
related
):
-
Failed
at:
#
assign
defieldano
=
defieldano
+
"pr... [in template "
CODETEMPL_zh_CN
"
at
line
58
,
column
13
]
----
\ No newline at end of file
package
cn
.
ibizlab
.
core
.
dict
.
domain
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
java.math.BigInteger
;
import
java.util.HashMap
;
import
java.math.BigDecimal
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
cn.ibizlab.util.domain.EntityBase
;
import
cn.ibizlab.util.annotation.DEField
;
import
cn.ibizlab.util.annotation.DEPredefinedField
;
import
cn.ibizlab.util.enums.DEPredefinedFieldFillMode
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
java.io.Serializable
;
import
lombok.Data
;
import
com.baomidou.mybatisplus.annotation.*
;
/**
* 实体[字典项目]
*/
@Data
@TableName
(
value
=
"IBZDICTITEM"
,
resultMap
=
"IBZDictItemResultMap"
)
public
class
IBZDictItem
extends
EntityBase
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 字典项目标识
*/
@TableId
(
value
=
"ibzdictitemid"
,
type
=
IdType
.
UUID
)
private
String
itemid
;
/**
* 栏目显示值
*/
@TableField
(
value
=
"ibzdictitemname"
)
private
String
itemname
;
/**
* 栏目值
*/
@TableField
(
value
=
"dictitemval"
)
private
String
itemval
;
/**
* 字典标识
*/
@TableField
(
value
=
"dictid"
)
private
String
dictid
;
/**
* 父栏目值
*/
@TableField
(
value
=
"pitemval"
)
private
String
pitemval
;
/**
* 过滤项
*/
@TableField
(
value
=
"itemfilter"
)
private
String
itemfilter
;
/**
* 栏目样式
*/
@TableField
(
value
=
"itemcls"
)
private
String
itemcls
;
/**
* 图标
*/
@TableField
(
value
=
"itemicon"
)
private
String
itemicon
;
/**
* 排序
*/
@TableField
(
value
=
"showorder"
)
private
Integer
showorder
;
/**
* 建立时间
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEDATE
)
@TableField
(
value
=
"createdate"
,
fill
=
FieldFill
.
INSERT
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
createdate
;
/**
* 更新时间
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEDATE
)
@TableField
(
value
=
"updatedate"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
locale
=
"zh"
,
timezone
=
"GMT+8"
)
private
Timestamp
updatedate
;
/**
* 建立人
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
CREATEMAN
)
@TableField
(
value
=
"createman"
,
fill
=
FieldFill
.
INSERT
)
private
String
createman
;
/**
* 更新人
*/
@DEField
(
preType
=
DEPredefinedFieldType
.
UPDATEMAN
)
@TableField
(
value
=
"updateman"
,
fill
=
FieldFill
.
INSERT
)
private
String
updateman
;
@JsonIgnore
@JSONField
(
serialize
=
false
)
@TableField
(
exist
=
false
)
private
IBZDict
dict
;
/**
* 设置 [字典项目标识]
*/
public
void
setItemid
(
String
itemid
){
this
.
itemid
=
itemid
;
this
.
modify
(
"ibzdictitemid"
,
itemid
);
}
/**
* 设置 [栏目显示值]
*/
public
void
setItemname
(
String
itemname
){
this
.
itemname
=
itemname
;
this
.
modify
(
"ibzdictitemname"
,
itemname
);
}
/**
* 设置 [栏目值]
*/
public
void
setItemval
(
String
itemval
){
this
.
itemval
=
itemval
;
this
.
modify
(
"dictitemval"
,
itemval
);
}
/**
* 设置 [字典标识]
*/
public
void
setDictid
(
String
dictid
){
this
.
dictid
=
dictid
;
this
.
modify
(
"dictid"
,
dictid
);
}
/**
* 设置 [父栏目值]
*/
public
void
setPitemval
(
String
pitemval
){
this
.
pitemval
=
pitemval
;
this
.
modify
(
"pitemval"
,
pitemval
);
}
/**
* 设置 [过滤项]
*/
public
void
setItemfilter
(
String
itemfilter
){
this
.
itemfilter
=
itemfilter
;
this
.
modify
(
"itemfilter"
,
itemfilter
);
}
/**
* 设置 [栏目样式]
*/
public
void
setItemcls
(
String
itemcls
){
this
.
itemcls
=
itemcls
;
this
.
modify
(
"itemcls"
,
itemcls
);
}
/**
* 设置 [图标]
*/
public
void
setItemicon
(
String
itemicon
){
this
.
itemicon
=
itemicon
;
this
.
modify
(
"itemicon"
,
itemicon
);
}
/**
* 设置 [排序]
*/
public
void
setShoworder
(
Integer
showorder
){
this
.
showorder
=
showorder
;
this
.
modify
(
"showorder"
,
showorder
);
}
/**
* 设置 [建立时间]
*/
public
void
setCreatedate
(
Timestamp
createdate
){
this
.
createdate
=
createdate
;
this
.
modify
(
"createdate"
,
createdate
);
}
/**
* 设置 [更新时间]
*/
public
void
setUpdatedate
(
Timestamp
updatedate
){
this
.
updatedate
=
updatedate
;
this
.
modify
(
"updatedate"
,
updatedate
);
}
/**
* 设置 [建立人]
*/
public
void
setCreateman
(
String
createman
){
this
.
createman
=
createman
;
this
.
modify
(
"createman"
,
createman
);
}
/**
* 设置 [更新人]
*/
public
void
setUpdateman
(
String
updateman
){
this
.
updateman
=
updateman
;
this
.
modify
(
"updateman"
,
updateman
);
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录