Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdict
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdict
提交
d63ce1cc
提交
d63ce1cc
编写于
12月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ibz-dict,字典]
上级
c1d5dcdc
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
80 行增加
和
4 行删除
+80
-4
DictOptionSearchContext.java
.../cn/ibizlab/core/dict/filter/DictOptionSearchContext.java
+77
-0
h2_table.xml
ibzdict-core/src/main/resources/liquibase/h2_table.xml
+2
-2
pom.xml
ibzdict-dependencies/pom.xml
+1
-2
未找到文件。
ibzdict-core/src/main/java/cn/ibizlab/core/dict/filter/DictOptionSearchContext.java
浏览文件 @
d63ce1cc
...
...
@@ -33,6 +33,13 @@ public class DictOptionSearchContext extends QueryWrapperContext<DictOption> {
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_cid_eq
)){
this
.
getSearchCond
().
eq
(
"cid"
,
n_cid_eq
);
}
}
private
String
n_cid_in
;
//[目录代码]
public
void
setN_cid_in
(
String
n_cid_in
)
{
this
.
n_cid_in
=
n_cid_in
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_cid_in
)){
this
.
getSearchCond
().
in
(
"cid"
,
this
.
n_cid_in
.
split
(
";"
));
}
}
private
String
n_cid_like
;
//[目录代码]
public
void
setN_cid_like
(
String
n_cid_like
)
{
...
...
@@ -54,6 +61,20 @@ public class DictOptionSearchContext extends QueryWrapperContext<DictOption> {
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_cname_like
)){
this
.
getSearchCond
().
like
(
"cname"
,
n_cname_like
);
}
}
private
String
n_val_in
;
//[代码值]
public
void
setN_val_in
(
String
n_val_in
)
{
this
.
n_val_in
=
n_val_in
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_val_in
)){
this
.
getSearchCond
().
in
(
"val"
,
this
.
n_val_in
.
split
(
";"
));
}
}
private
String
n_val_leftlike
;
//[代码值]
public
void
setN_val_leftlike
(
String
n_val_leftlike
)
{
this
.
n_val_leftlike
=
n_val_leftlike
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_val_leftlike
)){
this
.
getSearchCond
().
likeRight
(
"val"
,
n_val_leftlike
);
}
}
private
String
n_val_like
;
//[代码值]
public
void
setN_val_like
(
String
n_val_like
)
{
...
...
@@ -61,6 +82,13 @@ public class DictOptionSearchContext extends QueryWrapperContext<DictOption> {
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_val_like
)){
this
.
getSearchCond
().
like
(
"val"
,
n_val_like
);
}
}
private
String
n_val_notin
;
//[代码值]
public
void
setN_val_notin
(
String
n_val_notin
)
{
this
.
n_val_notin
=
n_val_notin
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_val_notin
)){
this
.
getSearchCond
().
notIn
(
"val"
,
this
.
n_val_notin
.
split
(
";"
));
}
}
private
String
n_label_like
;
//[名称]
public
void
setN_label_like
(
String
n_label_like
)
{
...
...
@@ -69,6 +97,55 @@ public class DictOptionSearchContext extends QueryWrapperContext<DictOption> {
this
.
getSearchCond
().
like
(
"label"
,
n_label_like
);
}
}
private
String
n_pval_eq
;
//[父代码值]
public
void
setN_pval_eq
(
String
n_pval_eq
)
{
this
.
n_pval_eq
=
n_pval_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_pval_eq
)){
this
.
getSearchCond
().
eq
(
"pval"
,
n_pval_eq
);
}
}
private
String
n_pval_in
;
//[父代码值]
public
void
setN_pval_in
(
String
n_pval_in
)
{
this
.
n_pval_in
=
n_pval_in
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_pval_in
)){
this
.
getSearchCond
().
in
(
"pval"
,
this
.
n_pval_in
.
split
(
";"
));
}
}
private
String
n_pval_notin
;
//[父代码值]
public
void
setN_pval_notin
(
String
n_pval_notin
)
{
this
.
n_pval_notin
=
n_pval_notin
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_pval_notin
)){
this
.
getSearchCond
().
notIn
(
"pval"
,
this
.
n_pval_notin
.
split
(
";"
));
}
}
private
String
n_vfilter_eq
;
//[过滤项]
public
void
setN_vfilter_eq
(
String
n_vfilter_eq
)
{
this
.
n_vfilter_eq
=
n_vfilter_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_vfilter_eq
)){
this
.
getSearchCond
().
eq
(
"vfilter"
,
n_vfilter_eq
);
}
}
private
String
n_vfilter_in
;
//[过滤项]
public
void
setN_vfilter_in
(
String
n_vfilter_in
)
{
this
.
n_vfilter_in
=
n_vfilter_in
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_vfilter_in
)){
this
.
getSearchCond
().
in
(
"vfilter"
,
this
.
n_vfilter_in
.
split
(
";"
));
}
}
private
String
n_vfilter_leftlike
;
//[过滤项]
public
void
setN_vfilter_leftlike
(
String
n_vfilter_leftlike
)
{
this
.
n_vfilter_leftlike
=
n_vfilter_leftlike
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_vfilter_leftlike
)){
this
.
getSearchCond
().
likeRight
(
"vfilter"
,
n_vfilter_leftlike
);
}
}
private
String
n_vfilter_like
;
//[过滤项]
public
void
setN_vfilter_like
(
String
n_vfilter_like
)
{
this
.
n_vfilter_like
=
n_vfilter_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_vfilter_like
)){
this
.
getSearchCond
().
like
(
"vfilter"
,
n_vfilter_like
);
}
}
/**
* 启用快速搜索
...
...
ibzdict-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
d63ce1cc
...
...
@@ -28,7 +28,7 @@
<!--输出实体[DICT_OPTION]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-dict_option-
4
-2"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-dict_option-
15
-2"
>
<createTable
tableName=
"IBZDICTOPTION"
>
<column
name=
"VKEY"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DICT_OPTION_VKEY"
/>
...
...
@@ -66,7 +66,7 @@
<!--输出实体[DICT_CATALOG]外键关系 -->
<!--输出实体[DICT_OPTION]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-dict_option-
4
-3"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-dict_option-
15
-3"
>
<addForeignKeyConstraint
baseColumnNames=
"CID"
baseTableName=
"IBZDICTOPTION"
constraintName=
"DER1N_DICT_OPTION_DICT_CATALOG"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CID"
referencedTableName=
"IBZDICTCATALOG"
validate=
"true"
/>
</changeSet>
...
...
ibzdict-dependencies/pom.xml
浏览文件 @
d63ce1cc
...
...
@@ -261,6 +261,7 @@
<version>
${baomidou-jobs.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
...
...
@@ -346,8 +347,6 @@
</dependency>
</dependencies>
</project>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录