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

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

上级 0f931ed3
...@@ -57,6 +57,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -57,6 +57,7 @@ export default class GetUnitAndPriceLogicBase {
public initParams(opts:any){ public initParams(opts:any){
this.paramsMap.set('Product',{}); this.paramsMap.set('Product',{});
this.paramsMap.set('Default',opts); this.paramsMap.set('Default',opts);
this.paramsMap.set('Order',{});
} }
...@@ -87,6 +88,24 @@ export default class GetUnitAndPriceLogicBase { ...@@ -87,6 +88,24 @@ export default class GetUnitAndPriceLogicBase {
return true; return true;
} }
/**
* 计算3节点结果
*
* @param params 传入参数
*/
public compute3Cond(params:any):boolean{
return true;
}
/**
* 计算4节点结果
*
* @param params 传入参数
*/
public compute4Cond(params:any):boolean{
return true;
}
/** /**
* 执行逻辑 * 执行逻辑
* *
...@@ -110,27 +129,6 @@ export default class GetUnitAndPriceLogicBase { ...@@ -110,27 +129,6 @@ export default class GetUnitAndPriceLogicBase {
} }
} }
/**
* 填充单位和单价
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executePrepareparam2(context:any,params:any,isloading:boolean){
// 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam0Data,{unitprice:tempSrcParam0Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam0Data,context:tempDstParam0Context});
let tempDstParam1Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam1Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam1Data,{unit:tempSrcParam1Data['unit']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
return this.paramsMap.get(this.defaultParamName).data;
}
/** /**
* 获取商品信息 * 获取商品信息
* *
...@@ -150,6 +148,138 @@ export default class GetUnitAndPriceLogicBase { ...@@ -150,6 +148,138 @@ export default class GetUnitAndPriceLogicBase {
if(this.compute1Cond(params)){ if(this.compute1Cond(params)){
return this.executePrepareparam2(context,params,isloading); return this.executePrepareparam2(context,params,isloading);
} }
if(this.compute2Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
}
}
/**
* 实体数据集
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEDATASET1(context:any,params:any,isloading:boolean){
// DEDATASET暂未支持
console.log("DEDATASET暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 实体处理逻辑
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDELOGIC1(context:any,params:any,isloading:boolean){
// DELOGIC暂未支持
console.log("DELOGIC暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 实体数据查询
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEDATAQUERY1(context:any,params:any,isloading:boolean){
// DEDATAQUERY暂未支持
console.log("DEDATAQUERY暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 启动流程
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSTARTWF1(context:any,params:any,isloading:boolean){
// 开始流程节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 外部接口调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSUBSYSSAMETHOD1(context:any,params:any,isloading:boolean){
// SUBSYSSAMETHOD暂未支持
console.log("SUBSYSSAMETHOD暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 系统逻辑处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSYSLOGIC1(context:any,params:any,isloading:boolean){
// SYSLOGIC暂未支持
console.log("SYSLOGIC暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 执行脚本代码
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRAWSFCODE1(context:any,params:any,isloading:boolean){
// RAWSFCODE暂未支持
console.log("RAWSFCODE暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 系统数据库表操作
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSYSDBTABLEACTION1(context:any,params:any,isloading:boolean){
// SYSDBTABLEACTION暂未支持
console.log("SYSDBTABLEACTION暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 填充单位和单价
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executePrepareparam2(context:any,params:any,isloading:boolean){
// 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam0Data,{unit:tempSrcParam0Data['unit']});
this.paramsMap.set('Default',{data:tempDstParam0Data,context:tempDstParam0Context});
let tempDstParam1Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam1Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam1Data,{unitprice:tempSrcParam1Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
if(this.compute3Cond(params)){
return this.executeEnd(context,params,isloading);
} }
} }
...@@ -167,10 +297,82 @@ export default class GetUnitAndPriceLogicBase { ...@@ -167,10 +297,82 @@ export default class GetUnitAndPriceLogicBase {
Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']}); Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']}); Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context}); this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute2Cond(params)){ if(this.compute4Cond(params)){
return this.executeDeaction1(context,params,isloading); return this.executeDeaction1(context,params,isloading);
} }
} }
/**
* 结束返回
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeEnd(context:any,params:any,isloading:boolean){
// END暂未支持
console.log("END暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 服务插件
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSFPLUGIN1(context:any,params:any,isloading:boolean){
// SFPLUGIN暂未支持
console.log("SFPLUGIN暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 取消流程
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeCANCELWF1(context:any,params:any,isloading:boolean){
// CANCELWF暂未支持
console.log("CANCELWF暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 直接Web调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRAWWEBCALL1(context:any,params:any,isloading:boolean){
// RAWWEBCALL暂未支持
console.log("RAWWEBCALL暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 实体通知
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDENOTIFY1(context:any,params:any,isloading:boolean){
// DENOTIFY暂未支持
console.log("DENOTIFY暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
} }
\ No newline at end of file
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase 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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase 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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -964,7 +964,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: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1123,7 +1123,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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1237,7 +1237,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: 'IBIZOrderDetailSGridView9'+(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){
...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2132,7 +2132,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: 'IBIZOrderDetailSGridView9'+(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);
...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2141,7 +2141,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: 'IBIZOrderDetailSGridView9'+(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);
...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2217,7 +2217,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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -3638,44 +3638,6 @@ ...@@ -3638,44 +3638,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 80, "topPos" : 80,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Prepareparam2",
"leftPos" : 760,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 320,
"parallelOutput" : true
}, { }, {
"codeName" : "Deaction1", "codeName" : "Deaction1",
"getDstPSDEAction" : { "getDstPSDEAction" : {
...@@ -3690,7 +3652,7 @@ ...@@ -3690,7 +3652,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
}, },
"leftPos" : 500, "leftPos" : 555,
"logicNodeType" : "DEACTION", "logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息", "name" : "获取商品信息",
...@@ -3704,13 +3666,197 @@ ...@@ -3704,13 +3666,197 @@
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "Deaction1"
} }
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 240, "topPos" : 223,
"parallelOutput" : true
}, {
"codeName" : "DEDATASET1",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 616,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"topPos" : 498
}, {
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 710,
"logicNodeType" : "DELOGIC",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"name" : "实体处理逻辑",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 774
}, {
"codeName" : "DEDATAQUERY1",
"leftPos" : 340,
"logicNodeType" : "DEDATAQUERY",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1",
"name" : "实体数据查询",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1",
"topPos" : 590
}, {
"codeName" : "STARTWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 430,
"logicNodeType" : "STARTWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"name" : "启动流程",
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"topPos" : 920
}, {
"codeName" : "SUBSYSSAMETHOD1",
"leftPos" : 204,
"logicNodeType" : "SUBSYSSAMETHOD",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1",
"name" : "外部接口调用",
"getPSSubSysServiceAPI" : "未指定外部服务接口",
"getPSSubSysServiceAPIDE" : "未指定外部服务接口方法",
"getPSSubSysServiceAPIDEMethod" : "未指定外部服务接口方法",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1",
"topPos" : 682
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 449,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"topPos" : 422
}, {
"codeName" : "SYSLOGIC1",
"leftPos" : 555,
"logicNodeType" : "SYSLOGIC",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1",
"name" : "系统逻辑处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1",
"topPos" : 639
}, {
"code" : "//",
"codeName" : "RAWSFCODE1",
"leftPos" : 505,
"logicNodeType" : "RAWSFCODE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1",
"name" : "执行脚本代码",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1",
"topPos" : 1054
}, {
"codeName" : "SYSDBTABLEACTION1",
"leftPos" : 245,
"logicNodeType" : "SYSDBTABLEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1",
"name" : "系统数据库表操作",
"getPSSysDBScheme" : "未指定数据库体系",
"getPSSysDBTable" : "未指定数据表",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1",
"topPos" : 821
}, {
"codeName" : "Prepareparam2",
"leftPos" : 846,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "End"
},
"name" : "连接3897",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 284,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "Prepareparam1",
"leftPos" : 260, "leftPos" : 313,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID", "name" : "获取商品ID",
...@@ -3741,8 +3887,87 @@ ...@@ -3741,8 +3887,87 @@
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 160, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "End",
"leftPos" : 1025,
"logicNodeType" : "END",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End",
"name" : "结束返回",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM",
"topPos" : 377
}, {
"codeName" : "SFPLUGIN1",
"leftPos" : 230,
"logicNodeType" : "SFPLUGIN",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1",
"name" : "服务插件",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1",
"topPos" : 1150
}, {
"codeName" : "CANCELWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"topPos" : 920
}, {
"codeName" : "RAWWEBCALL1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 460,
"logicNodeType" : "RAWWEBCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1",
"name" : "直接Web调用",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1",
"requestMethod" : "GET",
"requestPath" : "/aa/bb",
"topPos" : 790
}, {
"codeName" : "DENOTIFY1",
"leftPos" : 313,
"logicNodeType" : "DENOTIFY",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1",
"name" : "实体通知",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1",
"topPos" : 1054
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 490,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : 1170
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Product", "codeName" : "Product",
...@@ -3767,6 +3992,17 @@ ...@@ -3767,6 +3992,17 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "订单",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"entityParam" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice",
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
......
...@@ -25,44 +25,6 @@ ...@@ -25,44 +25,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 80, "topPos" : 80,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Prepareparam2",
"leftPos" : 760,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 320,
"parallelOutput" : true
}, { }, {
"codeName" : "Deaction1", "codeName" : "Deaction1",
"getDstPSDEAction" : { "getDstPSDEAction" : {
...@@ -77,7 +39,7 @@ ...@@ -77,7 +39,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
}, },
"leftPos" : 500, "leftPos" : 555,
"logicNodeType" : "DEACTION", "logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息", "name" : "获取商品信息",
...@@ -91,13 +53,197 @@ ...@@ -91,13 +53,197 @@
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "Deaction1"
} }
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 240, "topPos" : 223,
"parallelOutput" : true
}, {
"codeName" : "DEDATASET1",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 616,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"topPos" : 498
}, {
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 710,
"logicNodeType" : "DELOGIC",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"name" : "实体处理逻辑",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 774
}, {
"codeName" : "DEDATAQUERY1",
"leftPos" : 340,
"logicNodeType" : "DEDATAQUERY",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1",
"name" : "实体数据查询",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1",
"topPos" : 590
}, {
"codeName" : "STARTWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 430,
"logicNodeType" : "STARTWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"name" : "启动流程",
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"topPos" : 920
}, {
"codeName" : "SUBSYSSAMETHOD1",
"leftPos" : 204,
"logicNodeType" : "SUBSYSSAMETHOD",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1",
"name" : "外部接口调用",
"getPSSubSysServiceAPI" : "未指定外部服务接口",
"getPSSubSysServiceAPIDE" : "未指定外部服务接口方法",
"getPSSubSysServiceAPIDEMethod" : "未指定外部服务接口方法",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1",
"topPos" : 682
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 449,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"topPos" : 422
}, {
"codeName" : "SYSLOGIC1",
"leftPos" : 555,
"logicNodeType" : "SYSLOGIC",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1",
"name" : "系统逻辑处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1",
"topPos" : 639
}, {
"code" : "//",
"codeName" : "RAWSFCODE1",
"leftPos" : 505,
"logicNodeType" : "RAWSFCODE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1",
"name" : "执行脚本代码",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1",
"topPos" : 1054
}, {
"codeName" : "SYSDBTABLEACTION1",
"leftPos" : 245,
"logicNodeType" : "SYSDBTABLEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1",
"name" : "系统数据库表操作",
"getPSSysDBScheme" : "未指定数据库体系",
"getPSSysDBTable" : "未指定数据表",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1",
"topPos" : 821
}, {
"codeName" : "Prepareparam2",
"leftPos" : 846,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "End"
},
"name" : "连接3897",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 284,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "Prepareparam1",
"leftPos" : 260, "leftPos" : 313,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID", "name" : "获取商品ID",
...@@ -128,8 +274,87 @@ ...@@ -128,8 +274,87 @@
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 160, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "End",
"leftPos" : 1025,
"logicNodeType" : "END",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End",
"name" : "结束返回",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM",
"topPos" : 377
}, {
"codeName" : "SFPLUGIN1",
"leftPos" : 230,
"logicNodeType" : "SFPLUGIN",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1",
"name" : "服务插件",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1",
"topPos" : 1150
}, {
"codeName" : "CANCELWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"topPos" : 920
}, {
"codeName" : "RAWWEBCALL1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 460,
"logicNodeType" : "RAWWEBCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1",
"name" : "直接Web调用",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1",
"requestMethod" : "GET",
"requestPath" : "/aa/bb",
"topPos" : 790
}, {
"codeName" : "DENOTIFY1",
"leftPos" : 313,
"logicNodeType" : "DENOTIFY",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1",
"name" : "实体通知",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1",
"topPos" : 1054
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 490,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : 1170
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Product", "codeName" : "Product",
...@@ -154,6 +379,17 @@ ...@@ -154,6 +379,17 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "订单",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"entityParam" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice",
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
......
...@@ -7,22 +7,74 @@ ...@@ -7,22 +7,74 @@
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/> <tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/> <tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/>
<tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/> <tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZOrder()" name="ibizorderdetailgetunitandpriceorder" type="refentity"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZUNIProductService))" name="ibizuniproductservice" type="service"/> <tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZUNIProductService))" name="ibizuniproductservice" type="service"/>
<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="ibizorderdetailservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderService))" name="ibizorderservice" 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="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" /> <tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" />
<tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" /> <tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
<tns:global identifier="ibizorderdetailgetunitandpriceorder" type="cn.ibizlab.core.sample.domain.IBIZOrder" />
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<endEvent id="prepareparam2_end" name="end"/>
<sequenceFlow id="prepareparam2_end_line" sourceRef="prepareparam2" targetRef="prepareparam2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="获取商品信息"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="获取商品信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataset1" id="dedataset1" implementation="http://www.jboss.org/drools/rule" name="实体数据集"/>
<endEvent id="dedataset1_end" name="end"/>
<sequenceFlow id="dedataset1_end_line" sourceRef="dedataset1" targetRef="dedataset1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedelogic1" id="delogic1" implementation="http://www.jboss.org/drools/rule" name="实体处理逻辑"/>
<endEvent id="delogic1_end" name="end"/>
<sequenceFlow id="delogic1_end_line" sourceRef="delogic1" targetRef="delogic1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataquery1" id="dedataquery1" implementation="http://www.jboss.org/drools/rule" name="实体数据查询"/>
<endEvent id="dedataquery1_end" name="end"/>
<sequenceFlow id="dedataquery1_end_line" sourceRef="dedataquery1" targetRef="dedataquery1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricestartwf1" id="startwf1" implementation="http://www.jboss.org/drools/rule" name="启动流程"/>
<endEvent id="startwf1_end" name="end"/>
<sequenceFlow id="startwf1_end_line" sourceRef="startwf1" targetRef="startwf1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricesubsyssamethod1" id="subsyssamethod1" implementation="http://www.jboss.org/drools/rule" name="外部接口调用"/>
<endEvent id="subsyssamethod1_end" name="end"/>
<sequenceFlow id="subsyssamethod1_end_line" sourceRef="subsyssamethod1" targetRef="subsyssamethod1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/>
<endEvent id="throwexception_end" name="end"/>
<sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricesyslogic1" id="syslogic1" implementation="http://www.jboss.org/drools/rule" name="系统逻辑处理"/>
<endEvent id="syslogic1_end" name="end"/>
<sequenceFlow id="syslogic1_end_line" sourceRef="syslogic1" targetRef="syslogic1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricerawsfcode1" id="rawsfcode1" implementation="http://www.jboss.org/drools/rule" name="执行脚本代码"/>
<endEvent id="rawsfcode1_end" name="end"/>
<sequenceFlow id="rawsfcode1_end_line" sourceRef="rawsfcode1" targetRef="rawsfcode1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricesysdbtableaction1" id="sysdbtableaction1" implementation="http://www.jboss.org/drools/rule" name="系统数据库表操作"/>
<endEvent id="sysdbtableaction1_end" name="end"/>
<sequenceFlow id="sysdbtableaction1_end_line" sourceRef="sysdbtableaction1" targetRef="sysdbtableaction1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceend" id="end" implementation="http://www.jboss.org/drools/rule" name="结束返回"/>
<endEvent id="end_end" name="end"/>
<sequenceFlow id="end_end_line" sourceRef="end" targetRef="end_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricesfplugin1" id="sfplugin1" implementation="http://www.jboss.org/drools/rule" name="服务插件"/>
<endEvent id="sfplugin1_end" name="end"/>
<sequenceFlow id="sfplugin1_end_line" sourceRef="sfplugin1" targetRef="sfplugin1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricecancelwf1" id="cancelwf1" implementation="http://www.jboss.org/drools/rule" name="取消流程"/>
<endEvent id="cancelwf1_end" name="end"/>
<sequenceFlow id="cancelwf1_end_line" sourceRef="cancelwf1" targetRef="cancelwf1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricerawwebcall1" id="rawwebcall1" implementation="http://www.jboss.org/drools/rule" name="直接Web调用"/>
<endEvent id="rawwebcall1_end" name="end"/>
<sequenceFlow id="rawwebcall1_end_line" sourceRef="rawwebcall1" targetRef="rawwebcall1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedenotify1" id="denotify1" implementation="http://www.jboss.org/drools/rule" name="实体通知"/>
<endEvent id="denotify1_end" name="end"/>
<sequenceFlow id="denotify1_end_line" sourceRef="denotify1" targetRef="denotify1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="调试逻辑参数"/>
<endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1"> <sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2"> <sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
</sequenceFlow>
<sequenceFlow id="prepareparam2_end" sourceRef="prepareparam2" targetRef="end">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1"> <sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow> </sequenceFlow>
</process> </process>
......
...@@ -7,7 +7,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -7,7 +7,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
import cn.ibizlab.util.errors.BadRequestAlertException; import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct; global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault; global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.core.sample.domain.IBIZOrder ibizorderdetailgetunitandpriceorder;
global cn.ibizlab.util.client.IBZWFFeignClient wfClient;
global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice; global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice;
global cn.ibizlab.core.sample.service.IIBIZBOOKService ibizbookservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService ibizorderdetailservice;
global cn.ibizlab.core.sample.service.IIBIZOrderService ibizorderservice;
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;
...@@ -21,25 +26,125 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -21,25 +26,125 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then then
end end
//逻辑处理节点[填充单位和单价] //逻辑处理节点[获取商品信息]
rule "prepareparam2" rule "deaction1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2" ruleflow-group "ibizorderdetailgetunitandpricedeaction1"
when when
then then
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice")); cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end end
//逻辑处理节点[获取商品信息] //逻辑处理节点[实体数据集]
rule "deaction1" rule "dedataset1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction1" ruleflow-group "ibizorderdetailgetunitandpricededataset1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[实体处理逻辑]
rule "delogic1"
ruleflow-group "ibizorderdetailgetunitandpricedelogic1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[实体数据查询]
rule "dedataquery1"
ruleflow-group "ibizorderdetailgetunitandpricededataquery1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[启动流程]
rule "startwf1"
ruleflow-group "ibizorderdetailgetunitandpricestartwf1"
when
then
JSONObject activeData=(JSONObject) JSONObject.toJSON(ibizorderdetailgetunitandpriceorder);
Object businessKey=ibizorderdetailgetunitandpriceorder.get("ibizorderid");
String appName="web";
if(StringUtils.isEmpty(appName))
throw new BadRequestAlertException("无法获取流程应用名称,请检查[订单]实体是否已经添加到应用","StartWF","");
if(ObjectUtils.isEmpty(businessKey))
throw new BadRequestAlertException("启动流程失败,逻辑参数[order]中未包含实体业务主键","StartWF","");
wfClient.wfstart("DemoSys",appName,"ibizorders",String.valueOf(businessKey),activeData);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[外部接口调用]
rule "subsyssamethod1"
ruleflow-group "ibizorderdetailgetunitandpricesubsyssamethod1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[系统逻辑处理]
rule "syslogic1"
ruleflow-group "ibizorderdetailgetunitandpricesyslogic1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[执行脚本代码]
rule "rawsfcode1"
ruleflow-group "ibizorderdetailgetunitandpricerawsfcode1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[系统数据库表操作]
rule "sysdbtableaction1"
ruleflow-group "ibizorderdetailgetunitandpricesysdbtableaction1"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[填充单位和单价]
rule "prepareparam2"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2"
when
then
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end end
//逻辑处理节点[获取商品id] //逻辑处理节点[获取商品id]
...@@ -50,4 +155,65 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -50,4 +155,65 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid")); ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[结束返回]
rule "end"
ruleflow-group "ibizorderdetailgetunitandpriceend"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[服务插件]
rule "sfplugin1"
ruleflow-group "ibizorderdetailgetunitandpricesfplugin1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[取消流程]
rule "cancelwf1"
ruleflow-group "ibizorderdetailgetunitandpricecancelwf1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[直接web调用]
rule "rawwebcall1"
ruleflow-group "ibizorderdetailgetunitandpricerawwebcall1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[实体通知]
rule "denotify1"
ruleflow-group "ibizorderdetailgetunitandpricedenotify1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[调试逻辑参数]
rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end end
\ No newline at end of file
...@@ -12,30 +12,6 @@ ...@@ -12,30 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -71,6 +47,30 @@ ...@@ -71,6 +47,30 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/subtext", "mOSFilePath" : "psdetreecols/author",
"name" : "subtext", "name" : "author",
"rTMOSFilePath" : "psdetreecols/subtext", "rTMOSFilePath" : "psdetreecols/author",
"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" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/subtext",
"name" : "author", "name" : "subtext",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -2698,44 +2698,6 @@ ...@@ -2698,44 +2698,6 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin",
"topPos" : 80, "topPos" : 80,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Prepareparam2",
"leftPos" : 760,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"topPos" : 320,
"parallelOutput" : true
}, { }, {
"codeName" : "Deaction1", "codeName" : "Deaction1",
"getDstPSAppDEAction" : { "getDstPSAppDEAction" : {
...@@ -2758,7 +2720,7 @@ ...@@ -2758,7 +2720,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
}, },
"leftPos" : 500, "leftPos" : 555,
"logicNodeType" : "DEACTION", "logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"name" : "获取商品信息", "name" : "获取商品信息",
...@@ -2772,13 +2734,217 @@ ...@@ -2772,13 +2734,217 @@
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "Deaction1"
} }
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"topPos" : 240, "topPos" : 223,
"parallelOutput" : true
}, {
"codeName" : "DEDATASET1",
"getDstPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 616,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"topPos" : 498
}, {
"codeName" : "DELOGIC1",
"getDstPSAppDELogic" : {
"modelref" : true,
"id" : "CountMoney"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 710,
"logicNodeType" : "DELOGIC",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1",
"name" : "实体处理逻辑",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 774
}, {
"codeName" : "DEDATAQUERY1",
"leftPos" : 340,
"logicNodeType" : "DEDATAQUERY",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY1",
"name" : "实体数据查询",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY1",
"topPos" : 590
}, {
"codeName" : "STARTWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 430,
"logicNodeType" : "STARTWF",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/STARTWF1",
"name" : "启动流程",
"getPSAppWF" : {
"modelref" : true,
"id" : "ODSP"
},
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/STARTWF1",
"topPos" : 920
}, {
"codeName" : "SUBSYSSAMETHOD1",
"leftPos" : 204,
"logicNodeType" : "SUBSYSSAMETHOD",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SUBSYSSAMETHOD1",
"name" : "外部接口调用",
"getPSSubSysServiceAPI" : "未指定外部服务接口",
"getPSSubSysServiceAPIDE" : "未指定外部服务接口方法",
"getPSSubSysServiceAPIDEMethod" : "未指定外部服务接口方法",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SUBSYSSAMETHOD1",
"topPos" : 682
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 449,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception",
"topPos" : 422
}, {
"codeName" : "SYSLOGIC1",
"leftPos" : 555,
"logicNodeType" : "SYSLOGIC",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSLOGIC1",
"name" : "系统逻辑处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSLOGIC1",
"topPos" : 639
}, {
"code" : "//",
"codeName" : "RAWSFCODE1",
"leftPos" : 505,
"logicNodeType" : "RAWSFCODE",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSFCODE1",
"name" : "执行脚本代码",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSFCODE1",
"topPos" : 1054
}, {
"codeName" : "SYSDBTABLEACTION1",
"leftPos" : 245,
"logicNodeType" : "SYSDBTABLEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSDBTABLEACTION1",
"name" : "系统数据库表操作",
"getPSSysDBScheme" : "未指定数据库体系",
"getPSSysDBTable" : "未指定数据表",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSDBTABLEACTION1",
"topPos" : 821
}, {
"codeName" : "Prepareparam2",
"leftPos" : 846,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "End"
},
"name" : "连接3897",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"topPos" : 284,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "Prepareparam1",
"leftPos" : 260, "leftPos" : 313,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"name" : "获取商品ID", "name" : "获取商品ID",
...@@ -2809,8 +2975,91 @@ ...@@ -2809,8 +2975,91 @@
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 160, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "End",
"leftPos" : 1025,
"logicNodeType" : "END",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/End",
"name" : "结束返回",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/End",
"getReturnParam" : {
"modelref" : true,
"id" : "Default"
},
"returnType" : "LOGICPARAM",
"topPos" : 377
}, {
"codeName" : "SFPLUGIN1",
"leftPos" : 230,
"logicNodeType" : "SFPLUGIN",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SFPLUGIN1",
"name" : "服务插件",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SFPLUGIN1",
"topPos" : 1150
}, {
"codeName" : "CANCELWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSAppWF" : {
"modelref" : true,
"id" : "ODSP"
},
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1",
"topPos" : 920
}, {
"codeName" : "RAWWEBCALL1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 460,
"logicNodeType" : "RAWWEBCALL",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWWEBCALL1",
"name" : "直接Web调用",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWWEBCALL1",
"requestMethod" : "GET",
"requestPath" : "/aa/bb",
"topPos" : 790
}, {
"codeName" : "DENOTIFY1",
"leftPos" : 313,
"logicNodeType" : "DENOTIFY",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DENOTIFY1",
"name" : "实体通知",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DENOTIFY1",
"topPos" : 1054
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 490,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : 1170
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Product", "codeName" : "Product",
...@@ -2843,6 +3092,21 @@ ...@@ -2843,6 +3092,21 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"name" : "订单",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"entityParam" : true
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice",
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
......
...@@ -46,30 +46,6 @@ ...@@ -46,30 +46,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -105,6 +81,30 @@ ...@@ -105,6 +81,30 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -100,13 +100,13 @@ ...@@ -100,13 +100,13 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/subtext", "mOSFilePath" : "psdetreecols/author",
"name" : "subtext", "name" : "author",
"rTMOSFilePath" : "psdetreecols/subtext", "rTMOSFilePath" : "psdetreecols/author",
"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" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/subtext",
"name" : "author", "name" : "subtext",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/subtext",
"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-26-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-49-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-26-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-49-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册