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

ibiz4j 发布系统代码,后台体系[ibz-lite],前端应用[应用]

上级 19c736d7
...@@ -30,6 +30,7 @@ export default { ...@@ -30,6 +30,7 @@ export default {
data_preci: "精度", data_preci: "精度",
expression: "逻辑表达式", expression: "逻辑表达式",
extension_field: "扩展属性", extension_field: "扩展属性",
is_enable_audit: "审计",
show_order: "排序", show_order: "排序",
}, },
views: { views: {
...@@ -58,6 +59,7 @@ export default { ...@@ -58,6 +59,7 @@ export default {
details: { details: {
grouppanel2: "分组面板", grouppanel2: "分组面板",
grouppanel1: "分组面板", grouppanel1: "分组面板",
grouppanel3: "分组面板",
group1: "属性基本信息", group1: "属性基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srforikey: "", srforikey: "",
...@@ -88,6 +90,7 @@ export default { ...@@ -88,6 +90,7 @@ export default {
refentityname: "引用实体", refentityname: "引用实体",
showorder: "排序", showorder: "排序",
extensionfield: "扩展属性", extensionfield: "扩展属性",
isenableaudit: "审计",
entityid: "实体标识", entityid: "实体标识",
entityname: "实体名称", entityname: "实体名称",
relationid: "引用关系标识", relationid: "引用关系标识",
......
...@@ -29,6 +29,7 @@ export default { ...@@ -29,6 +29,7 @@ export default {
data_preci: "精度", data_preci: "精度",
expression: "逻辑表达式", expression: "逻辑表达式",
extension_field: "扩展属性", extension_field: "扩展属性",
is_enable_audit: "审计",
show_order: "排序", show_order: "排序",
}, },
views: { views: {
...@@ -57,6 +58,7 @@ export default { ...@@ -57,6 +58,7 @@ export default {
details: { details: {
grouppanel2: "分组面板", grouppanel2: "分组面板",
grouppanel1: "分组面板", grouppanel1: "分组面板",
grouppanel3: "分组面板",
group1: "属性基本信息", group1: "属性基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srforikey: "", srforikey: "",
...@@ -87,6 +89,7 @@ export default { ...@@ -87,6 +89,7 @@ export default {
refentityname: "引用实体", refentityname: "引用实体",
showorder: "排序", showorder: "排序",
extensionfield: "扩展属性", extensionfield: "扩展属性",
isenableaudit: "审计",
entityid: "实体标识", entityid: "实体标识",
entityname: "实体名称", entityname: "实体名称",
relationid: "引用关系标识", relationid: "引用关系标识",
......
...@@ -293,12 +293,27 @@ ...@@ -293,12 +293,27 @@
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.extensionfield.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }"> <i-col v-show="detailsModel.grouppanel3.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel3.manageContainerStatus" :isManageContainer="detailsModel.grouppanel3.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel3')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel3.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.metafield.main_form.details.grouppanel3')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.extensionfield.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='extensionfield' :itemRules="this.rules().extensionfield" class='' :caption="$t('entities.metafield.main_form.details.extensionfield')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.extensionfield.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='extensionfield' :itemRules="this.rules().extensionfield" class='' :caption="$t('entities.metafield.main_form.details.extensionfield')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.extensionfield.error" :isEmptyCaption="false" labelPos="LEFT">
<app-switch name='extensionfield' :value="this.data.extensionfield" @change="($event)=>{this.data.extensionfield = $event} " :disabled="detailsModel.extensionfield.disabled" style=""></app-switch> <app-switch name='extensionfield' :value="this.data.extensionfield" @change="($event)=>{this.data.extensionfield = $event} " :disabled="detailsModel.extensionfield.disabled" style=""></app-switch>
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.isenableaudit.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='isenableaudit' :itemRules="this.rules().isenableaudit" class='' :caption="$t('entities.metafield.main_form.details.isenableaudit')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.isenableaudit.error" :isEmptyCaption="false" labelPos="LEFT">
<app-switch name='isenableaudit' :value="this.data.isenableaudit" @change="($event)=>{this.data.isenableaudit = $event} " :disabled="detailsModel.isenableaudit.disabled" style=""></app-switch>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col> </i-col>
</row> </row>
...@@ -674,6 +689,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -674,6 +689,7 @@ export default class MainBase extends Vue implements ControlInterface {
refentityname: null, refentityname: null,
showorder: null, showorder: null,
extensionfield: null, extensionfield: null,
isenableaudit: null,
entityid: null, entityid: null,
entityname: null, entityname: null,
relationid: null, relationid: null,
...@@ -806,6 +822,10 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -806,6 +822,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.extensionfield.required, type: 'number', message: '扩展属性 值不能为空', trigger: 'change' }, { required: this.detailsModel.extensionfield.required, type: 'number', message: '扩展属性 值不能为空', trigger: 'change' },
{ required: this.detailsModel.extensionfield.required, type: 'number', message: '扩展属性 值不能为空', trigger: 'blur' }, { required: this.detailsModel.extensionfield.required, type: 'number', message: '扩展属性 值不能为空', trigger: 'blur' },
], ],
isenableaudit: [
{ required: this.detailsModel.isenableaudit.required, type: 'number', message: '审计 值不能为空', trigger: 'change' },
{ required: this.detailsModel.isenableaudit.required, type: 'number', message: '审计 值不能为空', trigger: 'blur' },
],
} }
} }
...@@ -903,6 +923,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -903,6 +923,8 @@ export default class MainBase extends Vue implements ControlInterface {
grouppanel2: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) grouppanel2: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
grouppanel1: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: false, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) grouppanel1: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: false, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
grouppanel3: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel3', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
group1: new FormGroupPanelModel({ caption: '属性基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '属性基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
...@@ -963,6 +985,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -963,6 +985,8 @@ export default class MainBase extends Vue implements ControlInterface {
showorder: new FormItemModel({ caption: '排序', detailType: 'FORMITEM', name: 'showorder', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) showorder: new FormItemModel({ caption: '排序', detailType: 'FORMITEM', name: 'showorder', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
extensionfield: new FormItemModel({ caption: '扩展属性', detailType: 'FORMITEM', name: 'extensionfield', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) extensionfield: new FormItemModel({ caption: '扩展属性', detailType: 'FORMITEM', name: 'extensionfield', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
isenableaudit: new FormItemModel({ caption: '审计', detailType: 'FORMITEM', name: 'isenableaudit', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
entityid: new FormItemModel({ caption: '实体标识', detailType: 'FORMITEM', name: 'entityid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) entityid: new FormItemModel({ caption: '实体标识', detailType: 'FORMITEM', name: 'entityid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1312,6 +1336,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1312,6 +1336,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'extensionfield', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'extensionfield', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 isenableaudit 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.isenableaudit')
onIsenableauditChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'isenableaudit', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 entityid 值 * 监控表单属性 entityid 值
* *
...@@ -1455,6 +1491,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1455,6 +1491,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (Object.is(name, '') || Object.is(name, 'fieldtype') || Object.is(name, 'physicalfield')) { if (Object.is(name, '') || Object.is(name, 'fieldtype') || Object.is(name, 'physicalfield')) {
...@@ -1480,6 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1480,6 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -155,6 +155,11 @@ export default class MainModel { ...@@ -155,6 +155,11 @@ export default class MainModel {
prop: 'extension_field', prop: 'extension_field',
dataType: 'YESNO', dataType: 'YESNO',
}, },
{
name: 'isenableaudit',
prop: 'is_enable_audit',
dataType: 'YESNO',
},
{ {
name: 'entityid', name: 'entityid',
prop: 'entity_id', prop: 'entity_id',
......
...@@ -102,6 +102,9 @@ export default class PickupViewpickupviewpanelModel { ...@@ -102,6 +102,9 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'extension_field', name: 'extension_field',
}, },
{
name: 'is_enable_audit',
},
{ {
name: 'show_order', name: 'show_order',
}, },
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</i-col> </i-col>
<i-col v-show="detailsModel.modelcfg.visible" :style="{}" :sm="{ span: 24, offset: 0 }" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.modelcfg.visible" :style="{}" :sm="{ span: 24, offset: 0 }" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='modelcfg' :itemRules="this.rules().modelcfg" class='' :caption="$t('entities.metamodel.main_form.details.modelcfg')" uiStyle="DEFAULT" :labelWidth="0" :isShowCaption="false" :error="detailsModel.modelcfg.error" :isEmptyCaption="false" labelPos="NONE"> <app-form-item name='modelcfg' :itemRules="this.rules().modelcfg" class='' :caption="$t('entities.metamodel.main_form.details.modelcfg')" uiStyle="DEFAULT" :labelWidth="0" :isShowCaption="false" :error="detailsModel.modelcfg.error" :isEmptyCaption="false" labelPos="NONE">
<app-code-editor :code="data.modelcfg" :disabled="detailsModel.modelcfg.disabled" @change="(val) =>{this.data.modelcfg =val}" codetype="javascript" ></app-code-editor> <input-box v-model="data.modelcfg" :textareaId="this.$util.createUUID()" :disabled="detailsModel.modelcfg.disabled" type='textarea' textareaStyle="height:200px;" ></input-box>
</app-form-item> </app-form-item>
......
...@@ -80,7 +80,7 @@ zuul: ...@@ -80,7 +80,7 @@ zuul:
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api} serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false stripPrefix: false
config: config:
path: /config/** path: /configs/**
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api} serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false stripPrefix: false
oucore: oucore:
......
...@@ -247,6 +247,13 @@ public class MetaField extends EntityMP implements Serializable { ...@@ -247,6 +247,13 @@ public class MetaField extends EntityMP implements Serializable {
@JSONField(name = "extension_field") @JSONField(name = "extension_field")
@JsonProperty("extension_field") @JsonProperty("extension_field")
private Integer extensionField; private Integer extensionField;
/**
* 审计
*/
@TableField(value = "isenableaudit")
@JSONField(name = "is_enable_audit")
@JsonProperty("is_enable_audit")
private Integer isEnableAudit;
/** /**
* 排序 * 排序
*/ */
...@@ -457,6 +464,14 @@ public class MetaField extends EntityMP implements Serializable { ...@@ -457,6 +464,14 @@ public class MetaField extends EntityMP implements Serializable {
this.modify("extensionfield",extensionField); this.modify("extensionfield",extensionField);
} }
/**
* 设置 [审计]
*/
public void setIsEnableAudit(Integer isEnableAudit){
this.isEnableAudit = isEnableAudit ;
this.modify("isenableaudit",isEnableAudit);
}
/** /**
* 设置 [排序] * 设置 [排序]
*/ */
......
...@@ -36,10 +36,10 @@ public interface IDstAPIService{ ...@@ -36,10 +36,10 @@ public interface IDstAPIService{
boolean save(DstAPI et) ; boolean save(DstAPI et) ;
void saveBatch(List<DstAPI> list) ; void saveBatch(List<DstAPI> list) ;
Page<DstAPI> searchDefault(DstAPISearchContext context) ; Page<DstAPI> searchDefault(DstAPISearchContext context) ;
List<DstAPI> selectByMsId(String id) ; List<DstAPI> selectByMsId(String id);
void removeByMsId(String id) ; void removeByMsId(String id);
List<DstAPI> selectBySystemId(String pssystemid) ; List<DstAPI> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid) ; void removeBySystemId(String pssystemid);
} }
......
...@@ -36,8 +36,8 @@ public interface IDstAppService{ ...@@ -36,8 +36,8 @@ public interface IDstAppService{
boolean save(DstApp et) ; boolean save(DstApp et) ;
void saveBatch(List<DstApp> list) ; void saveBatch(List<DstApp> list) ;
Page<DstApp> searchDefault(DstAppSearchContext context) ; Page<DstApp> searchDefault(DstAppSearchContext context) ;
List<DstApp> selectBySystemid(String pssystemid) ; List<DstApp> selectBySystemid(String pssystemid);
void removeBySystemid(String pssystemid) ; void removeBySystemid(String pssystemid);
} }
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstComponent; import cn.ibizlab.core.lite.domain.DstComponent;
import cn.ibizlab.core.lite.filter.DstComponentSearchContext; import cn.ibizlab.core.lite.filter.DstComponentSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -39,12 +38,12 @@ public interface IDstComponentService extends IService<DstComponent>{ ...@@ -39,12 +38,12 @@ public interface IDstComponentService extends IService<DstComponent>{
void saveBatch(List<DstComponent> list) ; void saveBatch(List<DstComponent> list) ;
DstComponent sync(DstComponent et) ; DstComponent sync(DstComponent et) ;
Page<DstComponent> searchDefault(DstComponentSearchContext context) ; Page<DstComponent> searchDefault(DstComponentSearchContext context) ;
List<DstComponent> selectByAppId(String id) ; List<DstComponent> selectByAppId(String id);
void removeByAppId(String id) ; void removeByAppId(String id);
List<DstComponent> selectBySystemId(String pssystemid) ; List<DstComponent> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid) ; void removeBySystemId(String pssystemid);
List<DstComponent> selectByEntityId(String entity_id) ; List<DstComponent> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id) ; void removeByEntityId(String entity_id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstConfig; import cn.ibizlab.core.lite.domain.DstConfig;
import cn.ibizlab.core.lite.filter.DstConfigSearchContext; import cn.ibizlab.core.lite.filter.DstConfigSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,8 +37,8 @@ public interface IDstConfigService extends IService<DstConfig>{ ...@@ -38,8 +37,8 @@ public interface IDstConfigService extends IService<DstConfig>{
boolean save(DstConfig et) ; boolean save(DstConfig et) ;
void saveBatch(List<DstConfig> list) ; void saveBatch(List<DstConfig> list) ;
Page<DstConfig> searchDefault(DstConfigSearchContext context) ; Page<DstConfig> searchDefault(DstConfigSearchContext context) ;
List<DstConfig> selectBySystemId(String pssystemid) ; List<DstConfig> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid) ; void removeBySystemId(String pssystemid);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstDataSource; import cn.ibizlab.core.lite.domain.DstDataSource;
import cn.ibizlab.core.lite.filter.DstDataSourceSearchContext; import cn.ibizlab.core.lite.filter.DstDataSourceSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
......
...@@ -36,8 +36,8 @@ public interface IDstLookupService{ ...@@ -36,8 +36,8 @@ public interface IDstLookupService{
boolean save(DstLookup et) ; boolean save(DstLookup et) ;
void saveBatch(List<DstLookup> list) ; void saveBatch(List<DstLookup> list) ;
Page<DstLookup> searchDefault(DstLookupSearchContext context) ; Page<DstLookup> searchDefault(DstLookupSearchContext context) ;
List<DstLookup> selectByRelationid(String id) ; List<DstLookup> selectByRelationid(String id);
void removeByRelationid(String id) ; void removeByRelationid(String id);
void saveByRelationid(String id,List<DstLookup> list) ; void saveByRelationid(String id,List<DstLookup> list) ;
} }
......
...@@ -36,8 +36,8 @@ public interface IDstMicroserviceService{ ...@@ -36,8 +36,8 @@ public interface IDstMicroserviceService{
boolean save(DstMicroservice et) ; boolean save(DstMicroservice et) ;
void saveBatch(List<DstMicroservice> list) ; void saveBatch(List<DstMicroservice> list) ;
Page<DstMicroservice> searchDefault(DstMicroserviceSearchContext context) ; Page<DstMicroservice> searchDefault(DstMicroserviceSearchContext context) ;
List<DstMicroservice> selectByPssystemid(String pssystemid) ; List<DstMicroservice> selectByPssystemid(String pssystemid);
void removeByPssystemid(String pssystemid) ; void removeByPssystemid(String pssystemid);
} }
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstRouter; import cn.ibizlab.core.lite.domain.DstRouter;
import cn.ibizlab.core.lite.filter.DstRouterSearchContext; import cn.ibizlab.core.lite.filter.DstRouterSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,12 +37,12 @@ public interface IDstRouterService extends IService<DstRouter>{ ...@@ -38,12 +37,12 @@ public interface IDstRouterService extends IService<DstRouter>{
boolean save(DstRouter et) ; boolean save(DstRouter et) ;
void saveBatch(List<DstRouter> list) ; void saveBatch(List<DstRouter> list) ;
Page<DstRouter> searchDefault(DstRouterSearchContext context) ; Page<DstRouter> searchDefault(DstRouterSearchContext context) ;
List<DstRouter> selectByAppId(String id) ; List<DstRouter> selectByAppId(String id);
void removeByAppId(String id) ; void removeByAppId(String id);
List<DstRouter> selectByParentid(String id) ; List<DstRouter> selectByParentid(String id);
void removeByParentid(String id) ; void removeByParentid(String id);
List<DstRouter> selectBySystemId(String pssystemid) ; List<DstRouter> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid) ; void removeBySystemId(String pssystemid);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstSystem; import cn.ibizlab.core.lite.domain.DstSystem;
import cn.ibizlab.core.lite.filter.DstSystemSearchContext; import cn.ibizlab.core.lite.filter.DstSystemSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstView; import cn.ibizlab.core.lite.domain.DstView;
import cn.ibizlab.core.lite.filter.DstViewSearchContext; import cn.ibizlab.core.lite.filter.DstViewSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,12 +37,12 @@ public interface IDstViewService extends IService<DstView>{ ...@@ -38,12 +37,12 @@ public interface IDstViewService extends IService<DstView>{
boolean save(DstView et) ; boolean save(DstView et) ;
void saveBatch(List<DstView> list) ; void saveBatch(List<DstView> list) ;
Page<DstView> searchDefault(DstViewSearchContext context) ; Page<DstView> searchDefault(DstViewSearchContext context) ;
List<DstView> selectByAppId(String id) ; List<DstView> selectByAppId(String id);
void removeByAppId(String id) ; void removeByAppId(String id);
List<DstView> selectBySystemId(String pssystemid) ; List<DstView> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid) ; void removeBySystemId(String pssystemid);
List<DstView> selectByEntityId(String entity_id) ; List<DstView> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id) ; void removeByEntityId(String entity_id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaDataSet; import cn.ibizlab.core.lite.domain.MetaDataSet;
import cn.ibizlab.core.lite.filter.MetaDataSetSearchContext; import cn.ibizlab.core.lite.filter.MetaDataSetSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,8 +37,8 @@ public interface IMetaDataSetService extends IService<MetaDataSet>{ ...@@ -38,8 +37,8 @@ public interface IMetaDataSetService extends IService<MetaDataSet>{
boolean save(MetaDataSet et) ; boolean save(MetaDataSet et) ;
void saveBatch(List<MetaDataSet> list) ; void saveBatch(List<MetaDataSet> list) ;
Page<MetaDataSet> searchDefault(MetaDataSetSearchContext context) ; Page<MetaDataSet> searchDefault(MetaDataSetSearchContext context) ;
List<MetaDataSet> selectByEntityId(String entity_id) ; List<MetaDataSet> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id) ; void removeByEntityId(String entity_id);
void saveByEntityId(String entity_id,List<MetaDataSet> list) ; void saveByEntityId(String entity_id,List<MetaDataSet> list) ;
/** /**
*自定义查询SQL *自定义查询SQL
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaEntity; import cn.ibizlab.core.lite.domain.MetaEntity;
import cn.ibizlab.core.lite.filter.MetaEntitySearchContext; import cn.ibizlab.core.lite.filter.MetaEntitySearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,10 +37,10 @@ public interface IMetaEntityService extends IService<MetaEntity>{ ...@@ -38,10 +37,10 @@ public interface IMetaEntityService extends IService<MetaEntity>{
boolean save(MetaEntity et) ; boolean save(MetaEntity et) ;
void saveBatch(List<MetaEntity> list) ; void saveBatch(List<MetaEntity> list) ;
Page<MetaEntity> searchDefault(MetaEntitySearchContext context) ; Page<MetaEntity> searchDefault(MetaEntitySearchContext context) ;
List<MetaEntity> selectByDsId(String ds_id) ; List<MetaEntity> selectByDsId(String ds_id);
void removeByDsId(String ds_id) ; void removeByDsId(String ds_id);
List<MetaEntity> selectBySystemId(String pssystemid) ; List<MetaEntity> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid) ; void removeBySystemId(String pssystemid);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaField; import cn.ibizlab.core.lite.domain.MetaField;
import cn.ibizlab.core.lite.filter.MetaFieldSearchContext; import cn.ibizlab.core.lite.filter.MetaFieldSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,13 +37,13 @@ public interface IMetaFieldService extends IService<MetaField>{ ...@@ -38,13 +37,13 @@ public interface IMetaFieldService extends IService<MetaField>{
boolean save(MetaField et) ; boolean save(MetaField et) ;
void saveBatch(List<MetaField> list) ; void saveBatch(List<MetaField> list) ;
Page<MetaField> searchDefault(MetaFieldSearchContext context) ; Page<MetaField> searchDefault(MetaFieldSearchContext context) ;
List<MetaField> selectByEntityId(String entity_id) ; List<MetaField> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id) ; void removeByEntityId(String entity_id);
void saveByEntityId(String entity_id,List<MetaField> list) ; void saveByEntityId(String entity_id,List<MetaField> list) ;
List<MetaField> selectByRefFieldId(String field_id) ; List<MetaField> selectByRefFieldId(String field_id);
void removeByRefFieldId(String field_id) ; void removeByRefFieldId(String field_id);
List<MetaField> selectByRelationId(String id) ; List<MetaField> selectByRelationId(String id);
void removeByRelationId(String id) ; void removeByRelationId(String id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaModel; import cn.ibizlab.core.lite.domain.MetaModel;
import cn.ibizlab.core.lite.filter.MetaModelSearchContext; import cn.ibizlab.core.lite.filter.MetaModelSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
......
...@@ -36,8 +36,8 @@ public interface IMetaModuleService{ ...@@ -36,8 +36,8 @@ public interface IMetaModuleService{
boolean save(MetaModule et) ; boolean save(MetaModule et) ;
void saveBatch(List<MetaModule> list) ; void saveBatch(List<MetaModule> list) ;
Page<MetaModule> searchDefault(MetaModuleSearchContext context) ; Page<MetaModule> searchDefault(MetaModuleSearchContext context) ;
List<MetaModule> selectBySystemid(String pssystemid) ; List<MetaModule> selectBySystemid(String pssystemid);
void removeBySystemid(String pssystemid) ; void removeBySystemid(String pssystemid);
} }
......
...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict; ...@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaRelationship; import cn.ibizlab.core.lite.domain.MetaRelationship;
import cn.ibizlab.core.lite.filter.MetaRelationshipSearchContext; import cn.ibizlab.core.lite.filter.MetaRelationshipSearchContext;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
/** /**
...@@ -38,11 +37,11 @@ public interface IMetaRelationshipService extends IService<MetaRelationship>{ ...@@ -38,11 +37,11 @@ public interface IMetaRelationshipService extends IService<MetaRelationship>{
boolean save(MetaRelationship et) ; boolean save(MetaRelationship et) ;
void saveBatch(List<MetaRelationship> list) ; void saveBatch(List<MetaRelationship> list) ;
Page<MetaRelationship> searchDefault(MetaRelationshipSearchContext context) ; Page<MetaRelationship> searchDefault(MetaRelationshipSearchContext context) ;
List<MetaRelationship> selectByEntityId(String entity_id) ; List<MetaRelationship> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id) ; void removeByEntityId(String entity_id);
void saveByEntityId(String entity_id,List<MetaRelationship> list) ; void saveByEntityId(String entity_id,List<MetaRelationship> list) ;
List<MetaRelationship> selectByRefEntityId(String entity_id) ; List<MetaRelationship> selectByRefEntityId(String entity_id);
void removeByRefEntityId(String entity_id) ; void removeByRefEntityId(String entity_id);
void saveByRefEntityId(String entity_id,List<MetaRelationship> list) ; void saveByRefEntityId(String entity_id,List<MetaRelationship> list) ;
/** /**
*自定义查询SQL *自定义查询SQL
......
...@@ -172,7 +172,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst ...@@ -172,7 +172,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public List<DstComponent> selectByAppId(String id) { public List<DstComponent> selectByAppId(String id) {
return baseMapper.selectByAppId(id); return baseMapper.selectByAppId(id);
} }
@Override @Override
public void removeByAppId(String id) { public void removeByAppId(String id) {
this.remove(new QueryWrapper<DstComponent>().eq("appid",id)); this.remove(new QueryWrapper<DstComponent>().eq("appid",id));
...@@ -182,7 +181,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst ...@@ -182,7 +181,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public List<DstComponent> selectBySystemId(String pssystemid) { public List<DstComponent> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid); return baseMapper.selectBySystemId(pssystemid);
} }
@Override @Override
public void removeBySystemId(String pssystemid) { public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstComponent>().eq("systemid",pssystemid)); this.remove(new QueryWrapper<DstComponent>().eq("systemid",pssystemid));
...@@ -192,7 +190,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst ...@@ -192,7 +190,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public List<DstComponent> selectByEntityId(String entity_id) { public List<DstComponent> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id); return baseMapper.selectByEntityId(entity_id);
} }
@Override @Override
public void removeByEntityId(String entity_id) { public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<DstComponent>().eq("entityid",entity_id)); this.remove(new QueryWrapper<DstComponent>().eq("entityid",entity_id));
......
...@@ -155,7 +155,6 @@ public class DstConfigServiceImpl extends ServiceImpl<DstConfigMapper, DstConfig ...@@ -155,7 +155,6 @@ public class DstConfigServiceImpl extends ServiceImpl<DstConfigMapper, DstConfig
public List<DstConfig> selectBySystemId(String pssystemid) { public List<DstConfig> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid); return baseMapper.selectBySystemId(pssystemid);
} }
@Override @Override
public void removeBySystemId(String pssystemid) { public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstConfig>().eq("systemid",pssystemid)); this.remove(new QueryWrapper<DstConfig>().eq("systemid",pssystemid));
......
...@@ -157,7 +157,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter ...@@ -157,7 +157,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public List<DstRouter> selectByAppId(String id) { public List<DstRouter> selectByAppId(String id) {
return baseMapper.selectByAppId(id); return baseMapper.selectByAppId(id);
} }
@Override @Override
public void removeByAppId(String id) { public void removeByAppId(String id) {
this.remove(new QueryWrapper<DstRouter>().eq("appid",id)); this.remove(new QueryWrapper<DstRouter>().eq("appid",id));
...@@ -167,7 +166,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter ...@@ -167,7 +166,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public List<DstRouter> selectByParentid(String id) { public List<DstRouter> selectByParentid(String id) {
return baseMapper.selectByParentid(id); return baseMapper.selectByParentid(id);
} }
@Override @Override
public void removeByParentid(String id) { public void removeByParentid(String id) {
this.remove(new QueryWrapper<DstRouter>().eq("parentid",id)); this.remove(new QueryWrapper<DstRouter>().eq("parentid",id));
...@@ -177,7 +175,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter ...@@ -177,7 +175,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public List<DstRouter> selectBySystemId(String pssystemid) { public List<DstRouter> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid); return baseMapper.selectBySystemId(pssystemid);
} }
@Override @Override
public void removeBySystemId(String pssystemid) { public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstRouter>().eq("systemid",pssystemid)); this.remove(new QueryWrapper<DstRouter>().eq("systemid",pssystemid));
......
...@@ -165,7 +165,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl ...@@ -165,7 +165,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public List<DstView> selectByAppId(String id) { public List<DstView> selectByAppId(String id) {
return baseMapper.selectByAppId(id); return baseMapper.selectByAppId(id);
} }
@Override @Override
public void removeByAppId(String id) { public void removeByAppId(String id) {
this.remove(new QueryWrapper<DstView>().eq("appid",id)); this.remove(new QueryWrapper<DstView>().eq("appid",id));
...@@ -175,7 +174,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl ...@@ -175,7 +174,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public List<DstView> selectBySystemId(String pssystemid) { public List<DstView> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid); return baseMapper.selectBySystemId(pssystemid);
} }
@Override @Override
public void removeBySystemId(String pssystemid) { public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstView>().eq("systemid",pssystemid)); this.remove(new QueryWrapper<DstView>().eq("systemid",pssystemid));
...@@ -185,7 +183,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl ...@@ -185,7 +183,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public List<DstView> selectByEntityId(String entity_id) { public List<DstView> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id); return baseMapper.selectByEntityId(entity_id);
} }
@Override @Override
public void removeByEntityId(String entity_id) { public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<DstView>().eq("entityid",entity_id)); this.remove(new QueryWrapper<DstView>().eq("entityid",entity_id));
......
...@@ -162,7 +162,6 @@ public class MetaDataSetServiceImpl extends ServiceImpl<MetaDataSetMapper, MetaD ...@@ -162,7 +162,6 @@ public class MetaDataSetServiceImpl extends ServiceImpl<MetaDataSetMapper, MetaD
public List<MetaDataSet> selectByEntityId(String entity_id) { public List<MetaDataSet> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id); return baseMapper.selectByEntityId(entity_id);
} }
@Override @Override
public void removeByEntityId(String entity_id) { public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaDataSet>().eq("entityid",entity_id)); this.remove(new QueryWrapper<MetaDataSet>().eq("entityid",entity_id));
......
...@@ -196,7 +196,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt ...@@ -196,7 +196,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt
public List<MetaEntity> selectByDsId(String ds_id) { public List<MetaEntity> selectByDsId(String ds_id) {
return baseMapper.selectByDsId(ds_id); return baseMapper.selectByDsId(ds_id);
} }
@Override @Override
public void removeByDsId(String ds_id) { public void removeByDsId(String ds_id) {
this.remove(new QueryWrapper<MetaEntity>().eq("dsid",ds_id)); this.remove(new QueryWrapper<MetaEntity>().eq("dsid",ds_id));
...@@ -206,7 +205,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt ...@@ -206,7 +205,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt
public List<MetaEntity> selectBySystemId(String pssystemid) { public List<MetaEntity> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid); return baseMapper.selectBySystemId(pssystemid);
} }
@Override @Override
public void removeBySystemId(String pssystemid) { public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<MetaEntity>().eq("systemid",pssystemid)); this.remove(new QueryWrapper<MetaEntity>().eq("systemid",pssystemid));
......
...@@ -167,7 +167,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField ...@@ -167,7 +167,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public List<MetaField> selectByEntityId(String entity_id) { public List<MetaField> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id); return baseMapper.selectByEntityId(entity_id);
} }
@Override @Override
public void removeByEntityId(String entity_id) { public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaField>().eq("entityid",entity_id)); this.remove(new QueryWrapper<MetaField>().eq("entityid",entity_id));
...@@ -209,7 +208,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField ...@@ -209,7 +208,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public List<MetaField> selectByRefFieldId(String field_id) { public List<MetaField> selectByRefFieldId(String field_id) {
return baseMapper.selectByRefFieldId(field_id); return baseMapper.selectByRefFieldId(field_id);
} }
@Override @Override
public void removeByRefFieldId(String field_id) { public void removeByRefFieldId(String field_id) {
this.remove(new QueryWrapper<MetaField>().eq("reffieldid",field_id)); this.remove(new QueryWrapper<MetaField>().eq("reffieldid",field_id));
...@@ -219,7 +217,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField ...@@ -219,7 +217,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public List<MetaField> selectByRelationId(String id) { public List<MetaField> selectByRelationId(String id) {
return baseMapper.selectByRelationId(id); return baseMapper.selectByRelationId(id);
} }
@Override @Override
public void removeByRelationId(String id) { public void removeByRelationId(String id) {
this.remove(new QueryWrapper<MetaField>().eq("relationid",id)); this.remove(new QueryWrapper<MetaField>().eq("relationid",id));
......
...@@ -165,7 +165,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap ...@@ -165,7 +165,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap
public List<MetaRelationship> selectByEntityId(String entity_id) { public List<MetaRelationship> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id); return baseMapper.selectByEntityId(entity_id);
} }
@Override @Override
public void removeByEntityId(String entity_id) { public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaRelationship>().eq("entityid",entity_id)); this.remove(new QueryWrapper<MetaRelationship>().eq("entityid",entity_id));
...@@ -207,7 +206,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap ...@@ -207,7 +206,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap
public List<MetaRelationship> selectByRefEntityId(String entity_id) { public List<MetaRelationship> selectByRefEntityId(String entity_id) {
return baseMapper.selectByRefEntityId(entity_id); return baseMapper.selectByRefEntityId(entity_id);
} }
@Override @Override
public void removeByRefEntityId(String entity_id) { public void removeByRefEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaRelationship>().eq("refentityid",entity_id)); this.remove(new QueryWrapper<MetaRelationship>().eq("refentityid",entity_id));
......
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd">
<changeSet author="Think (generated)" id="1592547336292-1">
<preConditions onFail="MARK_RAN" >
<not >
<tableExists tableName="IBZCFG" />
</not>
</preConditions>
<createTable remarks="配置" tableName="IBZCFG">
<column name="CFGID" remarks="配置标识" type="VARCHAR(100)">
<constraints primaryKey="true"/>
</column>
<column name="SYSTEMID" remarks="系统标识" type="VARCHAR(100)"/>
<column name="CFGTYPE" remarks="配置类型" type="VARCHAR(100)"/>
<column name="TARGETTYPE" remarks="引用对象" type="VARCHAR(100)"/>
<column name="USERID" remarks="用户标识" type="VARCHAR(100)"/>
<column name="CFG" remarks="配置" type="MEDIUMTEXT"/>
<column name="UPDATEDATE" remarks="更新时间" type="datetime"/>
</createTable>
</changeSet>
</databaseChangeLog>
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
<!--输出实体[META_FIELD]数据结构 --> <!--输出实体[META_FIELD]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_field-144-9"> <changeSet author="a_A_5d9d78509" id="tab-meta_field-147-9">
<createTable tableName="IBZFIELD"> <createTable tableName="IBZFIELD">
<column name="FIELDID" remarks="" type="VARCHAR(100)"> <column name="FIELDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/> <constraints primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/>
...@@ -233,6 +233,8 @@ ...@@ -233,6 +233,8 @@
</column> </column>
<column name="EXTENSIONFIELD" remarks="" type="INT"> <column name="EXTENSIONFIELD" remarks="" type="INT">
</column> </column>
<column name="ISENABLEAUDIT" remarks="" type="INT">
</column>
<column name="SHOWORDER" remarks="" type="INT"> <column name="SHOWORDER" remarks="" type="INT">
</column> </column>
</createTable> </createTable>
...@@ -240,7 +242,7 @@ ...@@ -240,7 +242,7 @@
<!--输出实体[META_MODEL]数据结构 --> <!--输出实体[META_MODEL]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_model-20-10"> <changeSet author="a_A_5d9d78509" id="tab-meta_model-21-10">
<createTable tableName="IBZMODEL"> <createTable tableName="IBZMODEL">
<column name="MODELID" remarks="" type="VARCHAR(100)"> <column name="MODELID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/> <constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="MetaFieldResultMap" databaseId="mysql"> <select id="selectById" resultMap="MetaFieldResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MetaFieldResultMap" databaseId="oracle"> <select id="selectById" resultMap="MetaFieldResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DATALENGTH, t1.DATAPRECI, t1.DATATYPE, t1.DICT, t11.CODENAME AS ENTITYCODENAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXPRESSION, t1.EXTENSIONFIELD, t1.FIELDID, t1.FIELDLOGICNAME, t1.FIELDNAME, concat(t1.FIELDNAME,'-',t1.FIELDLOGICNAME,'[',t1.ENTITYNAME,']') AS FIELDSHOWNAME, t1.FIELDTYPE, concat(t1.ENTITYNAME,'.',t1.FIELDNAME) AS FIELDUNINAME, t1.KEYFIELD, t1.MAJORFIELD, t1.NULLABLE, t1.PHYSICALFIELD, t1.PREDEFINED, t21.REFENTITYNAME, t1.REFFIELDID, t1.REFFIELDNAME, t21.CODENAME AS RELATIONCODENAME, t1.RELATIONID, t1.RELATIONNAME, t1.SHOWORDER, t11.SYSTEMID, t1.UNIONKEY FROM IBZFIELD t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DATALENGTH, t1.DATAPRECI, t1.DATATYPE, t1.DICT, t11.CODENAME AS ENTITYCODENAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXPRESSION, t1.EXTENSIONFIELD, t1.FIELDID, t1.FIELDLOGICNAME, t1.FIELDNAME, concat(t1.FIELDNAME,'-',t1.FIELDLOGICNAME,'[',t1.ENTITYNAME,']') AS FIELDSHOWNAME, t1.FIELDTYPE, concat(t1.ENTITYNAME,'.',t1.FIELDNAME) AS FIELDUNINAME, t1.KEYFIELD, t1.MAJORFIELD, t1.NULLABLE, t1.PHYSICALFIELD, t1.PREDEFINED, t21.REFENTITYNAME, t1.REFFIELDID, t1.REFFIELDNAME, t21.CODENAME AS RELATIONCODENAME, t1.RELATIONID, t1.RELATIONNAME, t1.SHOWORDER, t11.SYSTEMID, t1.UNIONKEY FROM IBZFIELD t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID <![CDATA[ SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID <![CDATA[ SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -283,6 +283,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable { ...@@ -283,6 +283,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
@JsonProperty("extension_field") @JsonProperty("extension_field")
private Integer extensionField; private Integer extensionField;
/**
* 属性 [ISENABLEAUDIT]
*
*/
@JSONField(name = "is_enable_audit")
@JsonProperty("is_enable_audit")
private Integer isEnableAudit;
/** /**
* 属性 [SHOWORDER] * 属性 [SHOWORDER]
* *
...@@ -468,6 +476,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable { ...@@ -468,6 +476,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
this.modify("extensionfield",extensionField); this.modify("extensionfield",extensionField);
} }
/**
* 设置 [ISENABLEAUDIT]
*/
public void setIsEnableAudit(Integer isEnableAudit){
this.isEnableAudit = isEnableAudit ;
this.modify("isenableaudit",isEnableAudit);
}
/** /**
* 设置 [SHOWORDER] * 设置 [SHOWORDER]
*/ */
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册