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

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

上级 19c736d7
......@@ -30,6 +30,7 @@ export default {
data_preci: "精度",
expression: "逻辑表达式",
extension_field: "扩展属性",
is_enable_audit: "审计",
show_order: "排序",
},
views: {
......@@ -58,6 +59,7 @@ export default {
details: {
grouppanel2: "分组面板",
grouppanel1: "分组面板",
grouppanel3: "分组面板",
group1: "属性基本信息",
formpage1: "基本信息",
srforikey: "",
......@@ -88,6 +90,7 @@ export default {
refentityname: "引用实体",
showorder: "排序",
extensionfield: "扩展属性",
isenableaudit: "审计",
entityid: "实体标识",
entityname: "实体名称",
relationid: "引用关系标识",
......
......@@ -29,6 +29,7 @@ export default {
data_preci: "精度",
expression: "逻辑表达式",
extension_field: "扩展属性",
is_enable_audit: "审计",
show_order: "排序",
},
views: {
......@@ -57,6 +58,7 @@ export default {
details: {
grouppanel2: "分组面板",
grouppanel1: "分组面板",
grouppanel3: "分组面板",
group1: "属性基本信息",
formpage1: "基本信息",
srforikey: "",
......@@ -87,6 +89,7 @@ export default {
refentityname: "引用实体",
showorder: "排序",
extensionfield: "扩展属性",
isenableaudit: "审计",
entityid: "实体标识",
entityname: "实体名称",
relationid: "引用关系标识",
......
......@@ -293,12 +293,27 @@
</app-form-item>
</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-switch name='extensionfield' :value="this.data.extensionfield" @change="($event)=>{this.data.extensionfield = $event} " :disabled="detailsModel.extensionfield.disabled" style=""></app-switch>
</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>
</row>
......@@ -674,6 +689,7 @@ export default class MainBase extends Vue implements ControlInterface {
refentityname: null,
showorder: null,
extensionfield: null,
isenableaudit: null,
entityid: null,
entityname: null,
relationid: null,
......@@ -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: '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 {
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: [] })
,
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: [] })
,
......@@ -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 })
,
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 })
,
......@@ -1312,6 +1336,18 @@ export default class MainBase extends Vue implements ControlInterface {
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 值
*
......@@ -1455,6 +1491,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (Object.is(name, '') || Object.is(name, 'fieldtype') || Object.is(name, 'physicalfield')) {
......@@ -1480,6 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
......
......@@ -155,6 +155,11 @@ export default class MainModel {
prop: 'extension_field',
dataType: 'YESNO',
},
{
name: 'isenableaudit',
prop: 'is_enable_audit',
dataType: 'YESNO',
},
{
name: 'entityid',
prop: 'entity_id',
......
......@@ -102,6 +102,9 @@ export default class PickupViewpickupviewpanelModel {
{
name: 'extension_field',
},
{
name: 'is_enable_audit',
},
{
name: 'show_order',
},
......
......@@ -35,7 +35,7 @@
</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 }">
<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>
......
......@@ -80,7 +80,7 @@ zuul:
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
config:
path: /config/**
path: /configs/**
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix: false
oucore:
......
......@@ -247,6 +247,13 @@ public class MetaField extends EntityMP implements Serializable {
@JSONField(name = "extension_field")
@JsonProperty("extension_field")
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 {
this.modify("extensionfield",extensionField);
}
/**
* 设置 [审计]
*/
public void setIsEnableAudit(Integer isEnableAudit){
this.isEnableAudit = isEnableAudit ;
this.modify("isenableaudit",isEnableAudit);
}
/**
* 设置 [排序]
*/
......
......@@ -36,10 +36,10 @@ public interface IDstAPIService{
boolean save(DstAPI et) ;
void saveBatch(List<DstAPI> list) ;
Page<DstAPI> searchDefault(DstAPISearchContext context) ;
List<DstAPI> selectByMsId(String id) ;
void removeByMsId(String id) ;
List<DstAPI> selectBySystemId(String pssystemid) ;
void removeBySystemId(String pssystemid) ;
List<DstAPI> selectByMsId(String id);
void removeByMsId(String id);
List<DstAPI> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid);
}
......
......@@ -36,8 +36,8 @@ public interface IDstAppService{
boolean save(DstApp et) ;
void saveBatch(List<DstApp> list) ;
Page<DstApp> searchDefault(DstAppSearchContext context) ;
List<DstApp> selectBySystemid(String pssystemid) ;
void removeBySystemid(String pssystemid) ;
List<DstApp> selectBySystemid(String pssystemid);
void removeBySystemid(String pssystemid);
}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstComponent;
import cn.ibizlab.core.lite.filter.DstComponentSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -39,12 +38,12 @@ public interface IDstComponentService extends IService<DstComponent>{
void saveBatch(List<DstComponent> list) ;
DstComponent sync(DstComponent et) ;
Page<DstComponent> searchDefault(DstComponentSearchContext context) ;
List<DstComponent> selectByAppId(String id) ;
void removeByAppId(String id) ;
List<DstComponent> selectBySystemId(String pssystemid) ;
void removeBySystemId(String pssystemid) ;
List<DstComponent> selectByEntityId(String entity_id) ;
void removeByEntityId(String entity_id) ;
List<DstComponent> selectByAppId(String id);
void removeByAppId(String id);
List<DstComponent> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid);
List<DstComponent> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstConfig;
import cn.ibizlab.core.lite.filter.DstConfigSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,8 +37,8 @@ public interface IDstConfigService extends IService<DstConfig>{
boolean save(DstConfig et) ;
void saveBatch(List<DstConfig> list) ;
Page<DstConfig> searchDefault(DstConfigSearchContext context) ;
List<DstConfig> selectBySystemId(String pssystemid) ;
void removeBySystemId(String pssystemid) ;
List<DstConfig> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstDataSource;
import cn.ibizlab.core.lite.filter.DstDataSourceSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......
......@@ -36,8 +36,8 @@ public interface IDstLookupService{
boolean save(DstLookup et) ;
void saveBatch(List<DstLookup> list) ;
Page<DstLookup> searchDefault(DstLookupSearchContext context) ;
List<DstLookup> selectByRelationid(String id) ;
void removeByRelationid(String id) ;
List<DstLookup> selectByRelationid(String id);
void removeByRelationid(String id);
void saveByRelationid(String id,List<DstLookup> list) ;
}
......
......@@ -36,8 +36,8 @@ public interface IDstMicroserviceService{
boolean save(DstMicroservice et) ;
void saveBatch(List<DstMicroservice> list) ;
Page<DstMicroservice> searchDefault(DstMicroserviceSearchContext context) ;
List<DstMicroservice> selectByPssystemid(String pssystemid) ;
void removeByPssystemid(String pssystemid) ;
List<DstMicroservice> selectByPssystemid(String pssystemid);
void removeByPssystemid(String pssystemid);
}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstRouter;
import cn.ibizlab.core.lite.filter.DstRouterSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,12 +37,12 @@ public interface IDstRouterService extends IService<DstRouter>{
boolean save(DstRouter et) ;
void saveBatch(List<DstRouter> list) ;
Page<DstRouter> searchDefault(DstRouterSearchContext context) ;
List<DstRouter> selectByAppId(String id) ;
void removeByAppId(String id) ;
List<DstRouter> selectByParentid(String id) ;
void removeByParentid(String id) ;
List<DstRouter> selectBySystemId(String pssystemid) ;
void removeBySystemId(String pssystemid) ;
List<DstRouter> selectByAppId(String id);
void removeByAppId(String id);
List<DstRouter> selectByParentid(String id);
void removeByParentid(String id);
List<DstRouter> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstSystem;
import cn.ibizlab.core.lite.filter.DstSystemSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.DstView;
import cn.ibizlab.core.lite.filter.DstViewSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,12 +37,12 @@ public interface IDstViewService extends IService<DstView>{
boolean save(DstView et) ;
void saveBatch(List<DstView> list) ;
Page<DstView> searchDefault(DstViewSearchContext context) ;
List<DstView> selectByAppId(String id) ;
void removeByAppId(String id) ;
List<DstView> selectBySystemId(String pssystemid) ;
void removeBySystemId(String pssystemid) ;
List<DstView> selectByEntityId(String entity_id) ;
void removeByEntityId(String entity_id) ;
List<DstView> selectByAppId(String id);
void removeByAppId(String id);
List<DstView> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid);
List<DstView> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaDataSet;
import cn.ibizlab.core.lite.filter.MetaDataSetSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,8 +37,8 @@ public interface IMetaDataSetService extends IService<MetaDataSet>{
boolean save(MetaDataSet et) ;
void saveBatch(List<MetaDataSet> list) ;
Page<MetaDataSet> searchDefault(MetaDataSetSearchContext context) ;
List<MetaDataSet> selectByEntityId(String entity_id) ;
void removeByEntityId(String entity_id) ;
List<MetaDataSet> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id);
void saveByEntityId(String entity_id,List<MetaDataSet> list) ;
/**
*自定义查询SQL
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaEntity;
import cn.ibizlab.core.lite.filter.MetaEntitySearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,10 +37,10 @@ public interface IMetaEntityService extends IService<MetaEntity>{
boolean save(MetaEntity et) ;
void saveBatch(List<MetaEntity> list) ;
Page<MetaEntity> searchDefault(MetaEntitySearchContext context) ;
List<MetaEntity> selectByDsId(String ds_id) ;
void removeByDsId(String ds_id) ;
List<MetaEntity> selectBySystemId(String pssystemid) ;
void removeBySystemId(String pssystemid) ;
List<MetaEntity> selectByDsId(String ds_id);
void removeByDsId(String ds_id);
List<MetaEntity> selectBySystemId(String pssystemid);
void removeBySystemId(String pssystemid);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaField;
import cn.ibizlab.core.lite.filter.MetaFieldSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,13 +37,13 @@ public interface IMetaFieldService extends IService<MetaField>{
boolean save(MetaField et) ;
void saveBatch(List<MetaField> list) ;
Page<MetaField> searchDefault(MetaFieldSearchContext context) ;
List<MetaField> selectByEntityId(String entity_id) ;
void removeByEntityId(String entity_id) ;
List<MetaField> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id);
void saveByEntityId(String entity_id,List<MetaField> list) ;
List<MetaField> selectByRefFieldId(String field_id) ;
void removeByRefFieldId(String field_id) ;
List<MetaField> selectByRelationId(String id) ;
void removeByRelationId(String id) ;
List<MetaField> selectByRefFieldId(String field_id);
void removeByRefFieldId(String field_id);
List<MetaField> selectByRelationId(String id);
void removeByRelationId(String id);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaModel;
import cn.ibizlab.core.lite.filter.MetaModelSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......
......@@ -36,8 +36,8 @@ public interface IMetaModuleService{
boolean save(MetaModule et) ;
void saveBatch(List<MetaModule> list) ;
Page<MetaModule> searchDefault(MetaModuleSearchContext context) ;
List<MetaModule> selectBySystemid(String pssystemid) ;
void removeBySystemid(String pssystemid) ;
List<MetaModule> selectBySystemid(String pssystemid);
void removeBySystemid(String pssystemid);
}
......
......@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import cn.ibizlab.core.lite.domain.MetaRelationship;
import cn.ibizlab.core.lite.filter.MetaRelationshipSearchContext;
import com.baomidou.mybatisplus.extension.service.IService;
/**
......@@ -38,11 +37,11 @@ public interface IMetaRelationshipService extends IService<MetaRelationship>{
boolean save(MetaRelationship et) ;
void saveBatch(List<MetaRelationship> list) ;
Page<MetaRelationship> searchDefault(MetaRelationshipSearchContext context) ;
List<MetaRelationship> selectByEntityId(String entity_id) ;
void removeByEntityId(String entity_id) ;
List<MetaRelationship> selectByEntityId(String entity_id);
void removeByEntityId(String entity_id);
void saveByEntityId(String entity_id,List<MetaRelationship> list) ;
List<MetaRelationship> selectByRefEntityId(String entity_id) ;
void removeByRefEntityId(String entity_id) ;
List<MetaRelationship> selectByRefEntityId(String entity_id);
void removeByRefEntityId(String entity_id);
void saveByRefEntityId(String entity_id,List<MetaRelationship> list) ;
/**
*自定义查询SQL
......
......@@ -172,7 +172,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public List<DstComponent> selectByAppId(String id) {
return baseMapper.selectByAppId(id);
}
@Override
public void removeByAppId(String id) {
this.remove(new QueryWrapper<DstComponent>().eq("appid",id));
......@@ -182,7 +181,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public List<DstComponent> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid);
}
@Override
public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstComponent>().eq("systemid",pssystemid));
......@@ -192,7 +190,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public List<DstComponent> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id);
}
@Override
public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<DstComponent>().eq("entityid",entity_id));
......
......@@ -155,7 +155,6 @@ public class DstConfigServiceImpl extends ServiceImpl<DstConfigMapper, DstConfig
public List<DstConfig> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid);
}
@Override
public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstConfig>().eq("systemid",pssystemid));
......
......@@ -157,7 +157,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public List<DstRouter> selectByAppId(String id) {
return baseMapper.selectByAppId(id);
}
@Override
public void removeByAppId(String id) {
this.remove(new QueryWrapper<DstRouter>().eq("appid",id));
......@@ -167,7 +166,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public List<DstRouter> selectByParentid(String id) {
return baseMapper.selectByParentid(id);
}
@Override
public void removeByParentid(String id) {
this.remove(new QueryWrapper<DstRouter>().eq("parentid",id));
......@@ -177,7 +175,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public List<DstRouter> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid);
}
@Override
public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstRouter>().eq("systemid",pssystemid));
......
......@@ -165,7 +165,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public List<DstView> selectByAppId(String id) {
return baseMapper.selectByAppId(id);
}
@Override
public void removeByAppId(String id) {
this.remove(new QueryWrapper<DstView>().eq("appid",id));
......@@ -175,7 +174,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public List<DstView> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid);
}
@Override
public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<DstView>().eq("systemid",pssystemid));
......@@ -185,7 +183,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public List<DstView> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id);
}
@Override
public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<DstView>().eq("entityid",entity_id));
......
......@@ -162,7 +162,6 @@ public class MetaDataSetServiceImpl extends ServiceImpl<MetaDataSetMapper, MetaD
public List<MetaDataSet> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id);
}
@Override
public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaDataSet>().eq("entityid",entity_id));
......
......@@ -196,7 +196,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt
public List<MetaEntity> selectByDsId(String ds_id) {
return baseMapper.selectByDsId(ds_id);
}
@Override
public void removeByDsId(String ds_id) {
this.remove(new QueryWrapper<MetaEntity>().eq("dsid",ds_id));
......@@ -206,7 +205,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt
public List<MetaEntity> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid);
}
@Override
public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<MetaEntity>().eq("systemid",pssystemid));
......
......@@ -167,7 +167,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public List<MetaField> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id);
}
@Override
public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaField>().eq("entityid",entity_id));
......@@ -209,7 +208,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public List<MetaField> selectByRefFieldId(String field_id) {
return baseMapper.selectByRefFieldId(field_id);
}
@Override
public void removeByRefFieldId(String field_id) {
this.remove(new QueryWrapper<MetaField>().eq("reffieldid",field_id));
......@@ -219,7 +217,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public List<MetaField> selectByRelationId(String id) {
return baseMapper.selectByRelationId(id);
}
@Override
public void removeByRelationId(String id) {
this.remove(new QueryWrapper<MetaField>().eq("relationid",id));
......
......@@ -165,7 +165,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap
public List<MetaRelationship> selectByEntityId(String entity_id) {
return baseMapper.selectByEntityId(entity_id);
}
@Override
public void removeByEntityId(String entity_id) {
this.remove(new QueryWrapper<MetaRelationship>().eq("entityid",entity_id));
......@@ -207,7 +206,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap
public List<MetaRelationship> selectByRefEntityId(String entity_id) {
return baseMapper.selectByRefEntityId(entity_id);
}
@Override
public void removeByRefEntityId(String 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 @@
<!--输出实体[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">
<column name="FIELDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/>
......@@ -233,6 +233,8 @@
</column>
<column name="EXTENSIONFIELD" remarks="" type="INT">
</column>
<column name="ISENABLEAUDIT" remarks="" type="INT">
</column>
<column name="SHOWORDER" remarks="" type="INT">
</column>
</createTable>
......@@ -240,7 +242,7 @@
<!--输出实体[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">
<column name="MODELID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<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 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}]]>
......@@ -63,7 +63,7 @@
<!--数据查询[Default]-->
<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>
<!--数据查询[Default]-->
......@@ -78,7 +78,7 @@
</sql>
<!--数据查询[View]-->
<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>
<!--数据查询[View]-->
......
......@@ -283,6 +283,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
@JsonProperty("extension_field")
private Integer extensionField;
/**
* 属性 [ISENABLEAUDIT]
*
*/
@JSONField(name = "is_enable_audit")
@JsonProperty("is_enable_audit")
private Integer isEnableAudit;
/**
* 属性 [SHOWORDER]
*
......@@ -468,6 +476,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
this.modify("extensionfield",extensionField);
}
/**
* 设置 [ISENABLEAUDIT]
*/
public void setIsEnableAudit(Integer isEnableAudit){
this.isEnableAudit = isEnableAudit ;
this.modify("isenableaudit",isEnableAudit);
}
/**
* 设置 [SHOWORDER]
*/
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册