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

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

上级 a8570cb8
......@@ -573,6 +573,71 @@ mock.onGet(new RegExp(/^\/ibizorderdetails\/getdraft$/)).reply((config: any) =>
});
// RegInfo
mock.onPost(new RegExp(/^\/ibizorders\/([a-zA-Z0-9\-\;]{1,35})\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/reginfo$/)).reply((config: any) => {
console.groupCollapsed("实体:ibizorderdetail 方法: RegInfo");
console.table({url:config.url, method: config.method, data:config.data});
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
const paramArray:Array<any> = ['ibizorderid','ibizorderdetailid'];
const matchArray:any = new RegExp(/^\/ibizorders\/([a-zA-Z0-9\-\;]{1,35})\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/reginfo$/).exec(config.url);
let tempValue: any = {};
if(matchArray && matchArray.length >1 && paramArray && paramArray.length >0){
paramArray.forEach((item: any, index: number) => {
Object.defineProperty(tempValue, item, {
enumerable: true,
value: matchArray[index + 1]
});
});
}
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table({});
console.groupEnd();
console.groupEnd();
return [status, {}];
});
// RegInfo
mock.onPost(new RegExp(/^\/ibizorderdetails\/?([a-zA-Z0-9\-\;]{0,35})\/reginfo$/)).reply((config: any) => {
console.groupCollapsed("实体:ibizorderdetail 方法: RegInfo");
console.table({url:config.url, method: config.method, data:config.data});
let status = MockAdapter.mockStatus(config);
if (status !== 200) {
return [status, null];
}
const paramArray:Array<any> = ['ibizorderdetailid'];
const matchArray:any = new RegExp(/^\/ibizorderdetails\/([a-zA-Z0-9\-\;]{1,35})\/reginfo$/).exec(config.url);
let tempValue: any = {};
if(matchArray && matchArray.length >1 && paramArray && paramArray.length >0){
paramArray.forEach((item: any, index: number) => {
Object.defineProperty(tempValue, item, {
enumerable: true,
value: matchArray[index + 1]
});
});
}
//let items = mockDatas ? mockDatas : [];
//let _items = items.find((item: any) => Object.is(item.ibizorderdetailid, tempValue.ibizorderdetailid));
let data = JSON.parse(config.data);
mockDatas.forEach((item)=>{
if(item['ibizorderdetailid'] == tempValue['ibizorderdetailid'] ){
for(let value in data){
if(item.hasOwnProperty(value)){
item[value] = data[value];
}
}
}
})
console.groupCollapsed("response数据 status: "+status+" data: ");
console.table(data);
console.groupEnd();
console.groupEnd();
return [status, data];
});
......
......@@ -184,6 +184,45 @@ export default class IBIZOrderDetailServiceBase extends EntityService {
return res;
}
/**
* RegInfo接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderDetailServiceBase
*/
public async RegInfo(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
if(context.ibizorder && context.ibizorderdetail){
let masterData:any = {};
Object.assign(data,masterData);
let res:any = await Http.getInstance().post(`/ibizorders/${context.ibizorder}/ibizorderdetails/${context.ibizorderdetail}/reginfo`,data,isloading);
return res;
}
let res:any = Http.getInstance().post(`/ibizorderdetails/${context.ibizorderdetail}/reginfo`,data,isloading);
return res;
}
/**
* RegInfoBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZOrderDetailServiceBase
*/
public async RegInfoBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
if(context.ibizorder && true){
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/ibizorders/${context.ibizorder}/ibizorderdetails/reginfobatch`,tempData,isloading);
}
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/ibizorderdetails/reginfobatch`,tempData,isloading);
}
/**
* Remove接口方法
*
......
......@@ -719,7 +719,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -755,7 +755,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
<template>
<i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style="">
<input style="display:none;"/>
<row>
<i-col span="20" class="form-content">
......@@ -519,7 +519,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public formValidateStatus(): boolean {
const form: any = this.$refs.searchform;
const form: any = this.$refs.quicksearchform;
let validatestate: boolean = true;
form.validate((valid: boolean) => {
validatestate = valid ? true : false;
......@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -549,6 +549,32 @@
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdeactions/GetUnitAndPrice"
}, {
"actionMode" : "GETDRAFT",
"actionType" : "USERCUSTOM",
"codeName" : "RegInfo",
"dynaModelFilePath" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/RegInfo.json",
"logicName" : "RegInfo",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdeactions/RegInfo",
"name" : "RegInfo",
"getPSDEActionInput" : {
"name" : "RegInfoInput",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSDEActionReturn" : {
"name" : "RegInfoResult",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdeactions/RegInfo",
"customParam" : true
}, {
"actionMode" : "UNKNOWN",
"actionType" : "BUILTIN",
......@@ -1037,6 +1063,62 @@
"enableBackend" : true,
"enableFront" : true
} ],
"getAllPSDEFGroups" : [ {
"codeName" : "DEFGroup",
"groupType" : "FIELDS",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdefgroups/DEFGroup",
"name" : "主键、主属性",
"orderValue" : 99999,
"getPSDEFGroupDetails" : [ {
"codeName" : "IBIZOrderDetailId",
"getLNPSLanguageRes" : {
"defaultContent" : "订单明细标识",
"lanResTag" : "DEF.LNAME.IBIZORDERDETAILID",
"lanResType" : "DEF.LNAME",
"mOSFilePath" : "pslanguageres/Auto426",
"name" : "属性逻辑名称(DEF.LNAME.*)[IBIZORDERDETAILID]",
"rTMOSFilePath" : "pslanguageres/Auto426",
"refFlag" : true
},
"logicName" : "订单明细标识",
"mOSFilePath" : "psdefgroupdetails/IBIZOrderDetailId",
"name" : "IBIZORDERDETAILID",
"orderValue" : 1000,
"getPSDEField" : {
"name" : "IBIZORDERDETAILID",
"codeName" : "IBIZOrderDetailId"
},
"rTMOSFilePath" : "psdefgroupdetails/IBIZOrderDetailId",
"stringLength" : 100,
"allowEmpty" : false,
"enableUserInsert" : true,
"enableUserUpdate" : true
}, {
"codeName" : "IBIZOrderDetailName",
"getLNPSLanguageRes" : {
"defaultContent" : "订单明细名称",
"lanResTag" : "DEF.LNAME.IBIZORDERDETAILNAME",
"lanResType" : "DEF.LNAME",
"mOSFilePath" : "pslanguageres/Auto697",
"name" : "属性逻辑名称(DEF.LNAME.*)[IBIZORDERDETAILNAME]",
"rTMOSFilePath" : "pslanguageres/Auto697",
"refFlag" : true
},
"logicName" : "订单明细名称",
"mOSFilePath" : "psdefgroupdetails/IBIZOrderDetailName",
"name" : "IBIZORDERDETAILNAME",
"orderValue" : 1000,
"getPSDEField" : {
"name" : "IBIZORDERDETAILNAME",
"codeName" : "IBIZOrderDetailName"
},
"rTMOSFilePath" : "psdefgroupdetails/IBIZOrderDetailName",
"stringLength" : 200,
"enableUserInsert" : true,
"enableUserUpdate" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdefgroups/DEFGroup"
} ],
"getAllPSDEFields" : [ {
"getAllPSDEFDTColumns" : [ {
"columnName" : "IBIZORDERDETAILNAME",
......@@ -4475,6 +4557,37 @@
"enableFront" : true
} ],
"getAllPSDEMethodDTOs" : [ {
"name" : "IBIZOrderDetailDEFGroupDTO",
"getPSDEMethodDTOFields" : [ {
"logicName" : "订单明细标识",
"name" : "IBIZOrderDetailId",
"getPSDEField" : {
"name" : "IBIZORDERDETAILID",
"codeName" : "IBIZOrderDetailId"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdemethoddtos/IBIZOrderDetailDEFGroupDTO/psdemethoddtofields/IBIZOrderDetailId",
"sourceType" : "DEFGROUPDETAIL",
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE",
"allowEmpty" : false
}, {
"logicName" : "订单明细名称",
"name" : "IBIZOrderDetailName",
"getPSDEField" : {
"name" : "IBIZORDERDETAILNAME",
"codeName" : "IBIZOrderDetailName"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdemethoddtos/IBIZOrderDetailDEFGroupDTO/psdemethoddtofields/IBIZOrderDetailName",
"sourceType" : "DEFGROUPDETAIL",
"stdDataType" : 25,
"stringLength" : 200,
"type" : "SIMPLE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdemethoddtos/IBIZOrderDetailDEFGroupDTO",
"sourceType" : "DE",
"type" : "DEFAULT"
}, {
"name" : "IBIZOrderDetailDTO",
"getPSDEMethodDTOFields" : [ {
"logicName" : "小计",
......
{
"actionMode" : "GETDRAFT",
"actionType" : "USERCUSTOM",
"codeName" : "RegInfo",
"dynaModelFilePath" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/RegInfo.json",
"logicName" : "RegInfo",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdeactions/RegInfo",
"name" : "RegInfo",
"getPSDEActionInput" : {
"name" : "RegInfoInput",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSDEActionReturn" : {
"name" : "RegInfoResult",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdeactions/RegInfo",
"customParam" : true
}
\ No newline at end of file
......@@ -470,6 +470,44 @@
"requestParamType" : "FIELD",
"requestPath" : "/getunitandprice",
"builtinMethod" : false
}, {
"actionMode" : "GETDRAFT",
"codeName" : "RegInfo",
"methodType" : "DEACTION",
"name" : "RegInfo",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/RegInfo.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "CREATE"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "RegInfo"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdemethods/RegInfo",
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/reginfo",
"builtinMethod" : false
}, {
"actionMode" : "DELETE",
"batchActionMode" : 1,
......@@ -3427,6 +3465,38 @@
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ {
"codeName" : "IBIZOrderDetailDEFGroupDTO",
"name" : "IBIZOrderDetailDEFGroupDTO",
"getPSAppDEMethodDTOFields" : [ {
"codeName" : "IBIZOrderDetailId",
"logicName" : "订单明细标识",
"name" : "IBIZOrderDetailId",
"getPSAppDEField" : {
"name" : "IBIZORDERDETAILID",
"codeName" : "IBIZOrderDetailId"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdemethoddtos/IBIZOrderDetailDEFGroupDTO/psappdemethoddtofields/IBIZOrderDetailId",
"sourceType" : "DEFGROUPDETAIL",
"stdDataType" : 25,
"type" : "SIMPLE",
"allowEmpty" : false
}, {
"codeName" : "IBIZOrderDetailName",
"logicName" : "订单明细名称",
"name" : "IBIZOrderDetailName",
"getPSAppDEField" : {
"name" : "IBIZORDERDETAILNAME",
"codeName" : "IBIZOrderDetailName"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdemethoddtos/IBIZOrderDetailDEFGroupDTO/psappdemethoddtofields/IBIZOrderDetailName",
"sourceType" : "DEFGROUPDETAIL",
"stdDataType" : 25,
"type" : "SIMPLE"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdemethoddtos/IBIZOrderDetailDEFGroupDTO",
"sourceType" : "DE",
"type" : "DEFAULT"
}, {
"codeName" : "IBIZOrderDetailDTO",
"name" : "IBIZOrderDetailDTO",
"getPSAppDEMethodDTOFields" : [ {
......@@ -4174,6 +4244,44 @@
"requestParamType" : "FIELD",
"requestPath" : "/getunitandprice",
"builtinMethod" : false
}, {
"actionMode" : "GETDRAFT",
"codeName" : "RegInfo",
"methodType" : "DEACTION",
"name" : "RegInfo",
"getPSAppDEMethodInput" : {
"name" : "输入对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSAppDEMethodReturn" : {
"name" : "返回对象",
"getPSAppDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/RegInfo.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "CREATE"
},
"getPSDEServiceAPIMethod" : {
"modelref" : true,
"id" : "RegInfo"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdemethods/RegInfo",
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/reginfo",
"builtinMethod" : false
}, {
"actionMode" : "DELETE",
"batchActionMode" : 1,
......
{
"codeName" : "Info",
"dynaModelFilePath" : "PSSYSDYNAMODELS/Info.json",
"mOSFilePath" : "pssysdynamodels/Info",
"name" : "info",
"getPSDynaModelAttrs" : [ {
"name" : "id",
"valueType" : "VALUE"
}, {
"name" : "name",
"valueType" : "VALUE"
} ],
"rTMOSFilePath" : "pssysdynamodels/Info"
}
\ No newline at end of file
......@@ -287,6 +287,40 @@
"tempDataMode" : 0,
"uniqueTag" : "IBIZORDERDETAIL__DEACTION__GETUNITANDPRICE",
"enableTestMethod" : false
}, {
"actionType" : "DEACTION",
"codeName" : "RegInfo",
"dataAccessAction" : "CREATE",
"methodType" : "DEACTION",
"name" : "RegInfo",
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/RegInfo.json"
},
"getPSDEServiceAPIMethodInput" : {
"name" : "输入对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSDEServiceAPIMethodReturn" : {
"name" : "返回对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"parentKeyMode" : "DEFAULT",
"rTMOSFilePath" : "pssysserviceapis/DemoAPI/psdesars/IBIZORDERDETAILS/psdesarsdetails/RegInfo",
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/reginfo",
"tempDataMode" : 0,
"uniqueTag" : "IBIZORDERDETAIL__DEACTION__REGINFO",
"enableTestMethod" : false
}, {
"actionType" : "DEACTION",
"codeName" : "Save",
......@@ -18827,6 +18861,36 @@
"requestParamType" : "FIELD",
"requestPath" : "/getunitandprice",
"uniqueTag" : "IBIZORDERDETAIL__DEACTION__GETUNITANDPRICE"
}, {
"codeName" : "RegInfo",
"dataAccessAction" : "CREATE",
"methodType" : "DEACTION",
"name" : "RegInfo",
"getPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/RegInfo.json"
},
"getPSDEServiceAPIMethodInput" : {
"name" : "输入对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"getPSDEServiceAPIMethodReturn" : {
"name" : "返回对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZOrderDetailDEFGroupDTO"
},
"type" : "DTO"
},
"rTMOSFilePath" : "pssysserviceapis/DemoAPI/psdeserviceapis/IBIZOrderDetail/psdesadetails/RegInfo",
"requestMethod" : "POST",
"requestParamType" : "ENTITY",
"requestPath" : "/reginfo",
"uniqueTag" : "IBIZORDERDETAIL__DEACTION__REGINFO"
}, {
"codeName" : "Save",
"methodType" : "DEACTION",
......
......@@ -746,6 +746,10 @@
"modelref" : true,
"path" : "PSSYSDBVFS/STRLEN.json"
} ],
"getAllPSSysDynaModels" : [ {
"modelref" : true,
"path" : "PSSYSDYNAMODELS/Info.json"
} ],
"getAllPSSysEditorStyles" : [ {
"codeName" : "INFO",
"dynaModelFilePath" : "PSMODULES/Sample/PSSYSEDITORSTYLES/INFO.json",
......
......@@ -148,7 +148,7 @@
<!--输出实体[IBIZACCOUNT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizaccount-12-6">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizaccount-21-6">
<createTable tableName="T_IBIZACCOUNT">
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
......@@ -282,7 +282,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-517-10">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-519-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-138-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-148-14">
<createTable tableName="T_IBIZORDERDETAIL">
<column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)">
</column>
......
<?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.6.xsd">
<!--输出实体[IBIZACCOUNT]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizaccount-12-1" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizaccount-21-1" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZACCOUNT">
<![CDATA[ SELECT t1.[BANKACCOUNTNUM], t1.[BANKNAME], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZACCOUNTID], t1.[IBIZACCOUNTNAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZACCOUNT] t1 ]]>
</createView>
......@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-517-4" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-519-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-138-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-148-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL">
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册