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

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

上级 4434142e
...@@ -90,6 +90,18 @@ export default class CountMoneyLogicBase { ...@@ -90,6 +90,18 @@ export default class CountMoneyLogicBase {
} }
} }
/**
* 直接SQL并循环调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRAWSQLANDLOOPCALL1(context:any,params:any,isloading:boolean){
// RAWSQLANDLOOPCALL暂未支持
console.log("RAWSQLANDLOOPCALL暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/** /**
* 统计金额 * 统计金额
* *
......
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style=""> <i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/> <input style="display:none;"/>
<row> <row>
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
...@@ -519,7 +519,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -519,7 +519,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase * @memberof QUICKSEARCHFORMBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform; const form: any = this.$refs.searchform;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
...@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -851,7 +851,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -851,7 +851,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
if(this.sortField !== field){ if(this.sortField !== field){
this.sortField = field; this.sortField = field;
this.sortDir = 'asc'; this.sortDir = 'asc';
}else if(this.sortDir === 'asc'){ }else if(this.sortDir ==='asc'){
this.sortDir = 'desc'; this.sortDir = 'desc';
}else if(this.sortDir === 'desc'){ }else if(this.sortDir === 'desc'){
this.sortDir = ''; this.sortDir = '';
...@@ -1308,7 +1308,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1308,7 +1308,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
public handleClick(args: any) { public handleClick(args: any) {
args.isselected = !args.isselected; args.isselected = !args.isselected;
if(this.isSingleSelect) { if(this.isSingleSelect) {
this.items.forEach((item:any) =>{ j this.items.forEach((item:any) =>{
if(item.srfkey !== args.srfkey){ if(item.srfkey !== args.srfkey){
item.isselected =false; item.isselected =false;
} }
......
...@@ -1011,7 +1011,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1011,7 +1011,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1140,7 +1140,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1140,7 +1140,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1254,7 +1254,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1254,7 +1254,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2151,7 +2151,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2151,7 +2151,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2160,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2160,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2236,7 +2236,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2236,7 +2236,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -25,6 +25,31 @@ ...@@ -25,6 +25,31 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Begin",
"topPos" : 110, "topPos" : 110,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK/PSDEACTIONS/Get.json"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 230,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSQLANDLOOPCALL1",
"sql" : "select 1 as AMOUNT from dual",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 524
}, { }, {
"codeName" : "Rawsqlcall1", "codeName" : "Rawsqlcall1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
...@@ -54,6 +79,10 @@ ...@@ -54,6 +79,10 @@
}, },
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Rawsqlcall1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Rawsqlcall1",
"sql" : "select (?*?) as AMOUNT from dual", "sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312, "topPos" : 312,
......
...@@ -6,11 +6,15 @@ ...@@ -6,11 +6,15 @@
<tns:import name="org.springframework.util.StringUtils"/> <tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/> <tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="" name="ibizorderdetailcountmoneydefault" type="entity"/> <tns:metaData express="" name="ibizorderdetailcountmoneydefault" type="entity"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZBOOKService))" name="ibizbookservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/> <tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/> <tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="ibizorderdetailcountmoneydefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" /> <tns:global identifier="ibizorderdetailcountmoneydefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlandloopcall1" id="rawsqlandloopcall1" implementation="http://www.jboss.org/drools/rule" name="直接SQL并循环调用"/>
<endEvent id="rawsqlandloopcall1_end" name="end"/>
<sequenceFlow id="rawsqlandloopcall1_end_line" sourceRef="rawsqlandloopcall1" targetRef="rawsqlandloopcall1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/>
<endEvent id="rawsqlcall1_end" name="end"/> <endEvent id="rawsqlcall1_end" name="end"/>
<sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_end"/> <sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_end"/>
......
...@@ -6,6 +6,7 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney; ...@@ -6,6 +6,7 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException; import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailcountmoneydefault; global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailcountmoneydefault;
global cn.ibizlab.core.sample.service.IIBIZBOOKService ibizbookservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService; global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
global cn.ibizlab.util.security.AuthenticationUser curuser; global cn.ibizlab.util.security.AuthenticationUser curuser;
...@@ -19,6 +20,26 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney; ...@@ -19,6 +20,26 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
then then
end end
//逻辑处理节点[直接sql并循环调用]
rule "rawsqlandloopcall1"
ruleflow-group "ibizorderdetailcountmoneyrawsqlandloopcall1"
when
then
Map param = null;
String strSql="select 1 as AMOUNT from dual";
java.util.List<JSONObject> entities=iBzSysIbizorderdetailDefaultService.select(strSql,param);//SQL调用
if(entities.size()>0){
for(JSONObject entity:entities){
cn.ibizlab.core.sample.domain.IBIZBOOK targetEntity =new cn.ibizlab.core.sample.domain.IBIZBOOK();
for (Map.Entry<String,Object> entry : entity.entrySet()) {
targetEntity.set(entry.getKey(),entry.getValue());
}
ibizbookservice.get(targetEntity);
}
}
update(ibizorderdetailcountmoneydefault);//更新fact中变量值
end
//逻辑处理节点[统计金额] //逻辑处理节点[统计金额]
rule "rawsqlcall1" rule "rawsqlcall1"
ruleflow-group "ibizorderdetailcountmoneyrawsqlcall1" ruleflow-group "ibizorderdetailcountmoneyrawsqlcall1"
......
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "归还日期",
"codeName" : "lendouttime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/lendouttime", "mOSFilePath" : "psdetreecols/returntime",
"name" : "lendouttime", "name" : "returntime",
"rTMOSFilePath" : "psdetreecols/lendouttime", "rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -36,37 +36,37 @@ ...@@ -36,37 +36,37 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "出版社",
"codeName" : "ibizbookname", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "press",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/press",
"name" : "ibizbookname", "name" : "press",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "图书名称",
"codeName" : "returntime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/returntime", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "returntime", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/returntime", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "借出日期",
"codeName" : "press", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/press", "mOSFilePath" : "psdetreecols/lendouttime",
"name" : "press", "name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/press", "rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "author", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/author",
"name" : "ibizbookname", "name" : "author",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -46,13 +46,13 @@ ...@@ -46,13 +46,13 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "归还日期",
"codeName" : "lendouttime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/lendouttime", "mOSFilePath" : "psdetreecols/returntime",
"name" : "lendouttime", "name" : "returntime",
"rTMOSFilePath" : "psdetreecols/lendouttime", "rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -70,37 +70,37 @@ ...@@ -70,37 +70,37 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "出版社",
"codeName" : "ibizbookname", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "press",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/press",
"name" : "ibizbookname", "name" : "press",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "图书名称",
"codeName" : "returntime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/returntime", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "returntime", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/returntime", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "借出日期",
"codeName" : "press", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/press", "mOSFilePath" : "psdetreecols/lendouttime",
"name" : "press", "name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/press", "rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -100,13 +100,13 @@ ...@@ -100,13 +100,13 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "author", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -124,13 +124,13 @@ ...@@ -124,13 +124,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/author",
"name" : "ibizbookname", "name" : "author",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 --> <!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-166-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-178-14">
<createTable tableName="T_IBIZORDERDETAIL"> <createTable tableName="T_IBIZORDERDETAIL">
<column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)"> <column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-166-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-178-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL"> <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 ]]> <![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> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册