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

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 591aae97
......@@ -372,6 +372,119 @@
"appdedataset":"FetchDefault",
"items": []
},
{
"srfkey": "AppCtrlType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "form",
"label": "表单类",
"text": "表单类",
"class":"",
"data":"",
"codename":"Form",
"value": "form",
"disabled": false
}
, {
"id": "navigation",
"label": "导航类",
"text": "导航类",
"class":"",
"data":"",
"codename":"Navigation",
"value": "navigation",
"disabled": false
}
, {
"id": "panel",
"label": "面板类",
"text": "面板类",
"class":"",
"data":"",
"codename":"Panel",
"value": "panel",
"disabled": false
}
, {
"id": "multidata",
"label": "多数据类",
"text": "多数据类",
"class":"",
"data":"",
"codename":"Multidata",
"value": "multidata",
"disabled": false
}
, {
"id": "other",
"label": "其他类",
"text": "其他类",
"class":"",
"data":"",
"codename":"Other",
"value": "other",
"disabled": false
}
]
},
{
"srfkey": "Booktag",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "历史",
"label": "历史",
"text": "历史",
"class":"",
"data":"",
"codename":"History",
"value": "历史",
"disabled": false
}
, {
"id": "数学",
"label": "数学",
"text": "数学",
"class":"",
"data":"",
"codename":"Math",
"value": "数学",
"disabled": false
}
, {
"id": "文学",
"label": "文学",
"text": "文学",
"class":"",
"data":"",
"codename":"Literature",
"value": "文学",
"disabled": false
}
, {
"id": "科学",
"label": "科学",
"text": "科学",
"class":"",
"data":"",
"codename":"Science",
"value": "科学",
"disabled": false
}
]
},
{
"srfkey": "BOOKSTATUSGUIDE",
"emptytext": "未定义",
......@@ -491,57 +604,57 @@
"disabled": false
}
, {
"id": "SelectView",
"id": "chooseview",
"label": "选择视图",
"text": "选择视图",
"class":"",
"data":"",
"codename":"Selectview",
"value": "SelectView",
"codename":"Chooseview",
"value": "chooseview",
"disabled": false
}
, {
"id": "WorkflowView",
"id": "workflowview",
"label": "工作流视图",
"text": "工作流视图",
"class":"",
"data":"",
"codename":"Workflowview",
"value": "WorkflowView",
"value": "workflowview",
"disabled": false
}
, {
"id": "ApplicationView",
"id": "applicationview",
"label": "应用视图",
"text": "应用视图",
"class":"",
"data":"",
"codename":"Applicationview",
"value": "ApplicationView",
"value": "applicationview",
"disabled": false
}
, {
"id": "FunctionalView",
"id": "functionalview",
"label": "功能视图",
"text": "功能视图",
"class":"",
"data":"",
"codename":"Functionalview",
"value": "FunctionalView",
"value": "functionalview",
"disabled": false
}
, {
"id": "OtherView",
"id": "otherview",
"label": "其他视图",
"text": "其他视图",
"class":"",
"data":"",
"codename":"Otherview",
"value": "OtherView",
"value": "otherview",
"disabled": false
}
......@@ -638,6 +751,79 @@
}
]
},
{
"srfkey": "AppEditorType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "basics",
"label": "基础类",
"text": "基础类",
"class":"",
"data":"",
"codename":"Basics",
"value": "basics",
"disabled": false
}
, {
"id": "exhibition",
"label": "展示类",
"text": "展示类",
"class":"",
"data":"",
"codename":"Exhibition",
"value": "exhibition",
"disabled": false
}
, {
"id": "choose",
"label": "选择类",
"text": "选择类",
"class":"",
"data":"",
"codename":"Choose",
"value": "choose",
"disabled": false
}
, {
"id": "datachoose",
"label": "数据选择类",
"text": "数据选择类",
"class":"",
"data":"",
"codename":"Datachoose",
"value": "datachoose",
"disabled": false
}
, {
"id": "datechoose",
"label": "时间选择类",
"text": "时间选择类",
"class":"",
"data":"",
"codename":"Datechoose",
"value": "datechoose",
"disabled": false
}
, {
"id": "fileupload",
"label": "文件上传类",
"text": "文件上传类",
"class":"",
"data":"",
"codename":"Fileupload",
"value": "fileupload",
"disabled": false
}
]
},
{
"srfkey": "S_OrderType",
"emptytext": "未定义",
......
......@@ -54,6 +54,21 @@ export default {
ORDERTYPE: {
"empty": "",
},
AppCtrlType: {
"form": "表单类",
"navigation": "导航类",
"panel": "面板类",
"multidata": "多数据类",
"other": "其他类",
"empty": ""
},
Booktag: {
"历史": "历史",
"数学": "数学",
"文学": "文学",
"科学": "科学",
"empty": ""
},
BOOKSTATUSGUIDE: {
"step1": "step1",
"step2": "step2",
......@@ -70,11 +85,11 @@ export default {
"singledataview": "单数据视图",
"multidataview": "多数据视图",
"navigationview": "导航视图",
"SelectView": "选择视图",
"WorkflowView": "工作流视图",
"ApplicationView": "应用视图",
"FunctionalView": "功能视图",
"OtherView": "其他视图",
"chooseview": "选择视图",
"workflowview": "工作流视图",
"applicationview": "应用视图",
"functionalview": "功能视图",
"otherview": "其他视图",
"empty": ""
},
CodeList: {
......@@ -90,6 +105,15 @@ export default {
"都市": "都市",
"empty": ""
},
AppEditorType: {
"basics": "基础类",
"exhibition": "展示类",
"choose": "选择类",
"datachoose": "数据选择类",
"datechoose": "时间选择类",
"fileupload": "文件上传类",
"empty": ""
},
S_OrderType: {
"10": "销售订单",
"20": "采购订单",
......
......@@ -54,6 +54,21 @@ export default {
ORDERTYPE: {
"empty": "",
},
AppCtrlType: {
"form": "表单类",
"navigation": "导航类",
"panel": "面板类",
"multidata": "多数据类",
"other": "其他类",
"empty": "",
},
Booktag: {
"历史": "历史",
"数学": "数学",
"文学": "文学",
"科学": "科学",
"empty": "",
},
BOOKSTATUSGUIDE: {
"step1": "step1",
"step2": "step2",
......@@ -70,11 +85,11 @@ export default {
"singledataview": "单数据视图",
"multidataview": "多数据视图",
"navigationview": "导航视图",
"SelectView": "选择视图",
"WorkflowView": "工作流视图",
"ApplicationView": "应用视图",
"FunctionalView": "功能视图",
"OtherView": "其他视图",
"chooseview": "选择视图",
"workflowview": "工作流视图",
"applicationview": "应用视图",
"functionalview": "功能视图",
"otherview": "其他视图",
"empty": "",
},
CodeList: {
......@@ -90,6 +105,15 @@ export default {
"都市": "都市",
"empty": "",
},
AppEditorType: {
"basics": "基础类",
"exhibition": "展示类",
"choose": "选择类",
"datachoose": "数据选择类",
"datechoose": "时间选择类",
"fileupload": "文件上传类",
"empty": "",
},
S_OrderType: {
"10": "销售订单",
"20": "采购订单",
......
......@@ -9,6 +9,7 @@ export default {
updateman: "更新人",
ibizappctrltype: "应用部件类型",
ctrldescription: "部件描述",
documentaddress: "文档地址",
},
views: {
gridview: {
......
......@@ -8,6 +8,7 @@ export default {
updateman: "更新人",
ibizappctrltype: "应用部件类型",
ctrldescription: "部件描述",
documentaddress: "文档地址",
},
views: {
gridview: {
......
......@@ -9,6 +9,9 @@ export default {
ibizappeditorid: "编辑器标识",
ibizappeditortype: "编辑器类型",
rditordescription: "编辑器描述",
documentaddress: "文档地址",
inbuilteditoramount: "内置编辑器数量",
expandeditoramount: "扩展编辑器数量",
},
views: {
gridview: {
......
......@@ -8,6 +8,9 @@ export default {
ibizappeditorid: "编辑器标识",
ibizappeditortype: "编辑器类型",
rditordescription: "编辑器描述",
documentaddress: "文档地址",
inbuilteditoramount: "内置编辑器数量",
expandeditoramount: "扩展编辑器数量",
},
views: {
gridview: {
......
......@@ -306,6 +306,7 @@ export default {
sailstate: "图书销售状态",
lendouttime: "借出日期",
returntime: "归还日期",
tag: "标签",
subtext: "图书描述",
createman: "建立人",
createdate: "建立时间",
......
......@@ -305,6 +305,7 @@ export default {
sailstate: "图书销售状态",
lendouttime: "借出日期",
returntime: "归还日期",
tag: "标签",
subtext: "图书描述",
createman: "建立人",
createdate: "建立时间",
......
......@@ -380,6 +380,119 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"appdedataset":"FetchDefault",
"items": []
},
{
srfkey: "AppCtrlType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "form",
label: "表单类",
text: "表单类",
"class":"",
"data":"",
"codename":"Form",
value: "form",
disabled: false,
},
{
id: "navigation",
label: "导航类",
text: "导航类",
"class":"",
"data":"",
"codename":"Navigation",
value: "navigation",
disabled: false,
},
{
id: "panel",
label: "面板类",
text: "面板类",
"class":"",
"data":"",
"codename":"Panel",
value: "panel",
disabled: false,
},
{
id: "multidata",
label: "多数据类",
text: "多数据类",
"class":"",
"data":"",
"codename":"Multidata",
value: "multidata",
disabled: false,
},
{
id: "other",
label: "其他类",
text: "其他类",
"class":"",
"data":"",
"codename":"Other",
value: "other",
disabled: false,
},
]
},
{
srfkey: "Booktag",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "历史",
label: "历史",
text: "历史",
"class":"",
"data":"",
"codename":"History",
value: "历史",
disabled: false,
},
{
id: "数学",
label: "数学",
text: "数学",
"class":"",
"data":"",
"codename":"Math",
value: "数学",
disabled: false,
},
{
id: "文学",
label: "文学",
text: "文学",
"class":"",
"data":"",
"codename":"Literature",
value: "文学",
disabled: false,
},
{
id: "科学",
label: "科学",
text: "科学",
"class":"",
"data":"",
"codename":"Science",
value: "科学",
disabled: false,
},
]
},
{
srfkey: "BOOKSTATUSGUIDE",
emptytext: "未定义",
......@@ -499,57 +612,57 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false,
},
{
id: "SelectView",
id: "chooseview",
label: "选择视图",
text: "选择视图",
"class":"",
"data":"",
"codename":"Selectview",
value: "SelectView",
"codename":"Chooseview",
value: "chooseview",
disabled: false,
},
{
id: "WorkflowView",
id: "workflowview",
label: "工作流视图",
text: "工作流视图",
"class":"",
"data":"",
"codename":"Workflowview",
value: "WorkflowView",
value: "workflowview",
disabled: false,
},
{
id: "ApplicationView",
id: "applicationview",
label: "应用视图",
text: "应用视图",
"class":"",
"data":"",
"codename":"Applicationview",
value: "ApplicationView",
value: "applicationview",
disabled: false,
},
{
id: "FunctionalView",
id: "functionalview",
label: "功能视图",
text: "功能视图",
"class":"",
"data":"",
"codename":"Functionalview",
value: "FunctionalView",
value: "functionalview",
disabled: false,
},
{
id: "OtherView",
id: "otherview",
label: "其他视图",
text: "其他视图",
"class":"",
"data":"",
"codename":"Otherview",
value: "OtherView",
value: "otherview",
disabled: false,
},
......@@ -646,6 +759,79 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "AppEditorType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "basics",
label: "基础类",
text: "基础类",
"class":"",
"data":"",
"codename":"Basics",
value: "basics",
disabled: false,
},
{
id: "exhibition",
label: "展示类",
text: "展示类",
"class":"",
"data":"",
"codename":"Exhibition",
value: "exhibition",
disabled: false,
},
{
id: "choose",
label: "选择类",
text: "选择类",
"class":"",
"data":"",
"codename":"Choose",
value: "choose",
disabled: false,
},
{
id: "datachoose",
label: "数据选择类",
text: "数据选择类",
"class":"",
"data":"",
"codename":"Datachoose",
value: "datachoose",
disabled: false,
},
{
id: "datechoose",
label: "时间选择类",
text: "时间选择类",
"class":"",
"data":"",
"codename":"Datechoose",
value: "datechoose",
disabled: false,
},
{
id: "fileupload",
label: "文件上传类",
text: "文件上传类",
"class":"",
"data":"",
"codename":"Fileupload",
value: "fileupload",
disabled: false,
},
]
},
{
srfkey: "S_OrderType",
emptytext: "未定义",
......
......@@ -31,14 +31,21 @@
</i-col>
<i-col v-show="detailsModel.ibizappctrltype.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='ibizappctrltype' :itemRules="this.rules().ibizappctrltype" class='' :caption="$t('entities.ibizappctrl.main_form.details.ibizappctrltype')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizappctrltype.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.ibizappctrltype"
@enter="onEnter($event)"
unit=""
<dropdown-list
v-model="data.ibizappctrltype"
:data="data"
:context="context"
:viewparams="viewparams"
:formState="formState"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.ibizappctrltype.disabled"
type='text'
style="">
</input-box>
valueType="string"
tag='AppCtrlType'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
......
......@@ -41,7 +41,9 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<span>{{row.ibizappctrltype}}</span>
<template >
<codelist :value="row.ibizappctrltype" tag='AppCtrlType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
......@@ -1121,6 +1123,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'ibizappctrltype',
srfkey: 'AppCtrlType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -31,14 +31,21 @@
</i-col>
<i-col v-show="detailsModel.ibizappeditortype.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='ibizappeditortype' :itemRules="this.rules().ibizappeditortype" class='' :caption="$t('entities.ibizappeditor.main_form.details.ibizappeditortype')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizappeditortype.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.ibizappeditortype"
@enter="onEnter($event)"
unit=""
<dropdown-list
v-model="data.ibizappeditortype"
:data="data"
:context="context"
:viewparams="viewparams"
:formState="formState"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.ibizappeditortype.disabled"
type='text'
style="">
</input-box>
valueType="string"
tag='AppEditorType'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
......
......@@ -41,7 +41,9 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<span>{{row.ibizappeditortype}}</span>
<template >
<codelist :value="row.ibizappeditortype" tag='AppEditorType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
......@@ -1121,6 +1123,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'ibizappeditortype',
srfkey: 'AppEditorType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -170,6 +170,25 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.tag.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='tag' :itemRules="this.rules().tag" class='' :caption="$t('entities.ibizbook.main_form.details.tag')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.tag.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list-mpicker
v-model="data.tag"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.tag.disabled"
tag='Booktag'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list-mpicker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.subtext.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='subtext' :itemRules="this.rules().subtext" class='' :caption="$t('entities.ibizbook.main_form.details.subtext')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.subtext.error" :isEmptyCaption="false" labelPos="LEFT">
......@@ -650,6 +669,7 @@ export default class MainBase extends Vue implements ControlInterface {
sailstate: null,
lendouttime: null,
returntime: null,
tag: null,
subtext: null,
createman: null,
createdate: null,
......@@ -750,6 +770,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.returntime.required, type: 'string', message: '归还日期 值不能为空', trigger: 'change' },
{ required: this.detailsModel.returntime.required, type: 'string', message: '归还日期 值不能为空', trigger: 'blur' },
],
tag: [
{ required: this.detailsModel.tag.required, type: 'string', message: '标签 值不能为空', trigger: 'change' },
{ required: this.detailsModel.tag.required, type: 'string', message: '标签 值不能为空', trigger: 'blur' },
],
subtext: [
{ required: this.detailsModel.subtext.required, type: 'string', message: '图书描述 值不能为空', trigger: 'change' },
{ required: this.detailsModel.subtext.required, type: 'string', message: '图书描述 值不能为空', trigger: 'blur' },
......@@ -920,6 +944,8 @@ export default class MainBase extends Vue implements ControlInterface {
lendouttime: new FormItemModel({ caption: '借出日期', detailType: 'FORMITEM', name: 'lendouttime', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
returntime: new FormItemModel({ caption: '归还日期', detailType: 'FORMITEM', name: 'returntime', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
tag: new FormItemModel({ caption: '标签', detailType: 'FORMITEM', name: 'tag', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
subtext: new FormItemModel({ caption: '图书描述', detailType: 'FORMITEM', name: 'subtext', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1162,6 +1188,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'returntime', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 tag 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.tag')
onTagChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'tag', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 subtext 值
*
......@@ -1302,6 +1340,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
......
......@@ -110,6 +110,11 @@ export default class MainModel {
prop: 'returntime',
dataType: 'DATE',
},
{
name: 'tag',
prop: 'tag',
dataType: 'LONGTEXT',
},
{
name: 'subtext',
prop: 'subtext',
......
......@@ -106,6 +106,13 @@ public class IBIZAPPCTRL extends EntityMP implements Serializable {
@JSONField(name = "ctrldescription")
@JsonProperty("ctrldescription")
private String ctrldescription;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@JSONField(name = "documentaddress")
@JsonProperty("documentaddress")
private String documentaddress;
......@@ -133,6 +140,14 @@ public class IBIZAPPCTRL extends EntityMP implements Serializable {
this.modify("ctrldescription", ctrldescription);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
......
......@@ -106,6 +106,27 @@ public class IBIZAPPEDITOR extends EntityMP implements Serializable {
@JSONField(name = "rditordescription")
@JsonProperty("rditordescription")
private String rditordescription;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@JSONField(name = "documentaddress")
@JsonProperty("documentaddress")
private String documentaddress;
/**
* 内置编辑器数量
*/
@TableField(value = "inbuilteditoramount")
@JSONField(name = "inbuilteditoramount")
@JsonProperty("inbuilteditoramount")
private Integer inbuilteditoramount;
/**
* 扩展编辑器数量
*/
@TableField(value = "expandeditoramount")
@JSONField(name = "expandeditoramount")
@JsonProperty("expandeditoramount")
private Integer expandeditoramount;
......@@ -133,6 +154,30 @@ public class IBIZAPPEDITOR extends EntityMP implements Serializable {
this.modify("rditordescription", rditordescription);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 设置 [内置编辑器数量]
*/
public void setInbuilteditoramount(Integer inbuilteditoramount) {
this.inbuilteditoramount = inbuilteditoramount;
this.modify("inbuilteditoramount", inbuilteditoramount);
}
/**
* 设置 [扩展编辑器数量]
*/
public void setExpandeditoramount(Integer expandeditoramount) {
this.expandeditoramount = expandeditoramount;
this.modify("expandeditoramount", expandeditoramount);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
......
......@@ -23,6 +23,8 @@
</column>
<column name="CTRLDESCRIPTION" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
......@@ -47,6 +49,12 @@
</column>
<column name="RDITORDESCRIPTION" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="INBUILTEDITORAMOUNT" remarks="" type="INT">
</column>
<column name="EXPANDEDITORAMOUNT" remarks="" type="INT">
</column>
</createTable>
</changeSet>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBIZAPPCTRLResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CTRLDESCRIPTION`, t1.`IBIZAPPCTRLID`, t1.`IBIZAPPCTRLNAME`, t1.`IBIZAPPCTRLTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPCTRL` t1 ) t1 where ibizappctrlid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CTRLDESCRIPTION`, t1.`DOCUMENTADDRESS`, t1.`IBIZAPPCTRLID`, t1.`IBIZAPPCTRLNAME`, t1.`IBIZAPPCTRLTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPCTRL` t1 ) t1 where ibizappctrlid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CTRLDESCRIPTION`, t1.`IBIZAPPCTRLID`, t1.`IBIZAPPCTRLNAME`, t1.`IBIZAPPCTRLTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPCTRL` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CTRLDESCRIPTION`, t1.`DOCUMENTADDRESS`, t1.`IBIZAPPCTRLID`, t1.`IBIZAPPCTRLNAME`, t1.`IBIZAPPCTRLTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPCTRL` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CTRLDESCRIPTION`, t1.`IBIZAPPCTRLID`, t1.`IBIZAPPCTRLNAME`, t1.`IBIZAPPCTRLTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPCTRL` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CTRLDESCRIPTION`, t1.`DOCUMENTADDRESS`, t1.`IBIZAPPCTRLID`, t1.`IBIZAPPCTRLNAME`, t1.`IBIZAPPCTRLTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPCTRL` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBIZAPPEDITORResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPEDITORID`, t1.`IBIZAPPEDITORNAME`, t1.`IBIZAPPEDITORTYPE`, t1.`RDITORDESCRIPTION`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPEDITOR` t1 ) t1 where ibizappeditorid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DOCUMENTADDRESS`, t1.`EXPANDEDITORAMOUNT`, t1.`IBIZAPPEDITORID`, t1.`IBIZAPPEDITORNAME`, t1.`IBIZAPPEDITORTYPE`, t1.`INBUILTEDITORAMOUNT`, t1.`RDITORDESCRIPTION`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPEDITOR` t1 ) t1 where ibizappeditorid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPEDITORID`, t1.`IBIZAPPEDITORNAME`, t1.`IBIZAPPEDITORTYPE`, t1.`RDITORDESCRIPTION`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPEDITOR` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DOCUMENTADDRESS`, t1.`EXPANDEDITORAMOUNT`, t1.`IBIZAPPEDITORID`, t1.`IBIZAPPEDITORNAME`, t1.`IBIZAPPEDITORTYPE`, t1.`INBUILTEDITORAMOUNT`, t1.`RDITORDESCRIPTION`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPEDITOR` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPEDITORID`, t1.`IBIZAPPEDITORNAME`, t1.`IBIZAPPEDITORTYPE`, t1.`RDITORDESCRIPTION`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPEDITOR` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DOCUMENTADDRESS`, t1.`EXPANDEDITORAMOUNT`, t1.`IBIZAPPEDITORID`, t1.`IBIZAPPEDITORNAME`, t1.`IBIZAPPEDITORTYPE`, t1.`INBUILTEDITORAMOUNT`, t1.`RDITORDESCRIPTION`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPEDITOR` t1
]]>
</sql>
</mapper>
......
......@@ -129,6 +129,20 @@
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"DOCUMENTADDRESS" ,
"codename":"Documentaddress",
"field_logic_name":"文档地址",
"entity_name":"IBIZAPPCTRL",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
}
],
"subEntitys":[
......@@ -264,6 +278,47 @@
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"DOCUMENTADDRESS" ,
"codename":"Documentaddress",
"field_logic_name":"文档地址",
"entity_name":"IBIZAPPEDITOR",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"INBUILTEDITORAMOUNT" ,
"codename":"Inbuilteditoramount",
"field_logic_name":"内置编辑器数量",
"entity_name":"IBIZAPPEDITOR",
"field_type":"INT",
"nullable":1,
"physical_field":1,
"data_type":"INT",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"EXPANDEDITORAMOUNT" ,
"codename":"Expandeditoramount",
"field_logic_name":"扩展编辑器数量",
"entity_name":"IBIZAPPEDITOR",
"field_type":"INT",
"nullable":1,
"physical_field":1,
"data_type":"INT",
"key_field":0,
"show_order":1000,
"major_field":0
}
],
"subEntitys":[
......
......@@ -101,6 +101,15 @@ public class IBIZAPPCTRLDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ctrldescription;
/**
* 属性 [DOCUMENTADDRESS]
*
*/
@JSONField(name = "documentaddress")
@JsonProperty("documentaddress")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String documentaddress;
/**
* 设置 [IBIZAPPCTRLNAME]
......@@ -126,6 +135,14 @@ public class IBIZAPPCTRLDTO extends DTOBase implements Serializable {
this.modify("ctrldescription",ctrldescription);
}
/**
* 设置 [DOCUMENTADDRESS]
*/
public void setDocumentaddress(String documentaddress){
this.documentaddress = documentaddress ;
this.modify("documentaddress",documentaddress);
}
}
......
......@@ -101,6 +101,31 @@ public class IBIZAPPEDITORDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String rditordescription;
/**
* 属性 [DOCUMENTADDRESS]
*
*/
@JSONField(name = "documentaddress")
@JsonProperty("documentaddress")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String documentaddress;
/**
* 属性 [INBUILTEDITORAMOUNT]
*
*/
@JSONField(name = "inbuilteditoramount")
@JsonProperty("inbuilteditoramount")
private Integer inbuilteditoramount;
/**
* 属性 [EXPANDEDITORAMOUNT]
*
*/
@JSONField(name = "expandeditoramount")
@JsonProperty("expandeditoramount")
private Integer expandeditoramount;
/**
* 设置 [IBIZAPPEDITORNAME]
......@@ -126,6 +151,30 @@ public class IBIZAPPEDITORDTO extends DTOBase implements Serializable {
this.modify("rditordescription",rditordescription);
}
/**
* 设置 [DOCUMENTADDRESS]
*/
public void setDocumentaddress(String documentaddress){
this.documentaddress = documentaddress ;
this.modify("documentaddress",documentaddress);
}
/**
* 设置 [INBUILTEDITORAMOUNT]
*/
public void setInbuilteditoramount(Integer inbuilteditoramount){
this.inbuilteditoramount = inbuilteditoramount ;
this.modify("inbuilteditoramount",inbuilteditoramount);
}
/**
* 设置 [EXPANDEDITORAMOUNT]
*/
public void setExpandeditoramount(Integer expandeditoramount){
this.expandeditoramount = expandeditoramount ;
this.modify("expandeditoramount",expandeditoramount);
}
}
......
......@@ -1221,11 +1221,11 @@ public class StaticDict {
SINGLEDATAVIEW("singledataview","单数据视图"),
MULTIDATAVIEW("multidataview","多数据视图"),
NAVIGATIONVIEW("navigationview","导航视图"),
SELECTVIEW("SelectView","选择视图"),
WORKFLOWVIEW("WorkflowView","工作流视图"),
APPLICATIONVIEW("ApplicationView","应用视图"),
FUNCTIONALVIEW("FunctionalView","功能视图"),
OTHERVIEW("OtherView","其他视图");
CHOOSEVIEW("chooseview","选择视图"),
WORKFLOWVIEW("workflowview","工作流视图"),
APPLICATIONVIEW("applicationview","应用视图"),
FUNCTIONALVIEW("functionalview","功能视图"),
OTHERVIEW("otherview","其他视图");
private String value;
private String text;
......@@ -2529,6 +2529,29 @@ public class StaticDict {
/**
* 代码表[图书标签]
*/
@Getter
public enum Booktag {
HISTORY("历史","历史"),
MATH("数学","数学"),
LITERATURE("文学","文学"),
SCIENCE("科学","科学");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
Booktag(String value , String text) {
this.value=value;
this.text = text;
}
}
/**
* 代码表[输入辅助_页面参数]
*/
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册