提交 d63ce1cc 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码 [ibz-dict,字典]

上级 c1d5dcdc
......@@ -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);
}
}
/**
* 启用快速搜索
......
......@@ -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>
......
......@@ -261,6 +261,7 @@
<version>${baomidou-jobs.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
......@@ -346,8 +347,6 @@
</dependency>
</dependencies>
</project>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册