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

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

上级 cae28ff3
......@@ -56,8 +56,8 @@ export default class GetUnitAndPriceLogicBase {
*/
public initParams(opts:any){
this.paramsMap.set('Product',{});
this.paramsMap.set('Default',opts);
this.paramsMap.set('Order',{});
this.paramsMap.set('Default',opts);
}
......@@ -130,97 +130,85 @@ export default class GetUnitAndPriceLogicBase {
}
/**
* 获取商品信息
* 实体处理逻辑
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDeaction1(context:any,params:any,isloading:boolean){
// 行为处理节点
let result: any;
let actionParam:any = this.paramsMap.get('Product');
const targetService:IBIZUNIProductService = new IBIZUNIProductService();
if (targetService['Get'] && targetService['Get'] instanceof Function) {
result = await targetService['Get'](actionParam.context,actionParam.data, false);
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute1Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute2Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
}
private async executeDELOGIC1(context:any,params:any,isloading:boolean){
// DELOGIC暂未支持
console.log("DELOGIC暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 实体数据集
* 直接SQL并循环调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEDATASET1(context:any,params:any,isloading:boolean){
// DEDATASET暂未支持
console.log("DEDATASET暂未支持");
private async executeRAWSQLANDLOOPCALL1(context:any,params:any,isloading:boolean){
// RAWSQLANDLOOPCALL暂未支持
console.log("RAWSQLANDLOOPCALL暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 实体处理逻辑
* 外部接口调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDELOGIC1(context:any,params:any,isloading:boolean){
// DELOGIC暂未支持
console.log("DELOGIC暂未支持");
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 executeDEDATAQUERY1(context:any,params:any,isloading:boolean){
// DEDATAQUERY暂未支持
console.log("DEDATAQUERY暂未支持");
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 启动流程
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSTARTWF1(context:any,params:any,isloading:boolean){
// 开始流程节点
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 外部接口调用
* 实体数据查询
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSUBSYSSAMETHOD1(context:any,params:any,isloading:boolean){
// SUBSYSSAMETHOD暂未支持
console.log("SUBSYSSAMETHOD暂未支持");
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 executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
private async executeCANCELWF1(context:any,params:any,isloading:boolean){
// CANCELWF暂未支持
console.log("CANCELWF暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
......@@ -237,26 +225,32 @@ export default class GetUnitAndPriceLogicBase {
}
/**
* 执行脚本代码
* 获取商品ID
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRAWSFCODE1(context:any,params:any,isloading:boolean){
// RAWSFCODE暂未支持
console.log("RAWSFCODE暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
private async executePrepareparam1(context:any,params:any,isloading:boolean){
// 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Product').context?this.paramsMap.get('Product').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute1Cond(params)){
return this.executeDeaction1(context,params,isloading);
}
}
/**
* 系统数据库表操作
* 启动流程
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSYSDBTABLEACTION1(context:any,params:any,isloading:boolean){
// SYSDBTABLEACTION暂未支持
console.log("SYSDBTABLEACTION暂未支持");
private async executeSTARTWF1(context:any,params:any,isloading:boolean){
// 开始流程节点
return this.paramsMap.get(this.defaultParamName).data;
}
......@@ -278,99 +272,129 @@ export default class GetUnitAndPriceLogicBase {
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)){
if(this.compute2Cond(params)){
return this.executeEnd(context,params,isloading);
}
}
/**
* 获取商品ID
* 服务插件
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executePrepareparam1(context:any,params:any,isloading:boolean){
// 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Product').context?this.paramsMap.get('Product').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute4Cond(params)){
return this.executeDeaction1(context,params,isloading);
private async executeSFPLUGIN1(context:any,params:any,isloading:boolean){
// SFPLUGIN暂未支持
console.log("SFPLUGIN暂未支持");
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 executeEnd(context:any,params:any,isloading:boolean){
// END暂未支持
console.log("END暂未支持");
private async executeDENOTIFY1(context:any,params:any,isloading:boolean){
// DENOTIFY暂未支持
console.log("DENOTIFY暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 服务插件
* 直接SQL调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSFPLUGIN1(context:any,params:any,isloading:boolean){
// SFPLUGIN暂未支持
console.log("SFPLUGIN暂未支持");
private async executeRAWSQLCALL1(context:any,params:any,isloading:boolean){
// RAWSQLCALL暂未支持
console.log("RAWSQLCALL暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 取消流程
* 执行脚本代码
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeCANCELWF1(context:any,params:any,isloading:boolean){
// CANCELWF暂未支持
console.log("CANCELWF暂未支持");
private async executeRAWSFCODE1(context:any,params:any,isloading:boolean){
// RAWSFCODE暂未支持
console.log("RAWSFCODE暂未支持");
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暂未支持");
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 executeDENOTIFY1(context:any,params:any,isloading:boolean){
// DENOTIFY暂未支持
console.log("DENOTIFY暂未支持");
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 executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
private async executeDeaction1(context:any,params:any,isloading:boolean){
// 行为处理节点
let result: any;
let actionParam:any = this.paramsMap.get('Product');
const targetService:IBIZUNIProductService = new IBIZUNIProductService();
if (targetService['Get'] && targetService['Get'] instanceof Function) {
result = await targetService['Get'](actionParam.context,actionParam.data, false);
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute3Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute4Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
}
}
/**
* 系统数据库表操作
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSYSDBTABLEACTION1(context:any,params:any,isloading:boolean){
// SYSDBTABLEACTION暂未支持
console.log("SYSDBTABLEACTION暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -22,14 +22,14 @@
<span class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{'编辑'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.EDIT', '编辑')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{'删除'}}</span>
</i-button>
......@@ -343,7 +343,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -363,7 +363,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -389,7 +389,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr4ListView_layoutBase
* @memberof IBIZBOOKListViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -660,9 +660,9 @@ const handleLoadMore = () => {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView_layout
* @memberof IBIZBOOKListView
*/
public usr4listview_layoutlist_quicktoolbarModels: any = {
public listviewlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
};
......@@ -672,9 +672,9 @@ const handleLoadMore = () => {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr4ListView_layout
* @memberof IBIZBOOKListView
*/
public usr4listview_layoutlist_batchtoolbarModels: any = {
public listviewlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -897,7 +897,7 @@ const handleLoadMore = () => {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -1027,7 +1027,7 @@ const handleLoadMore = () => {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -1132,7 +1132,7 @@ const handleLoadMore = () => {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1140,7 +1140,7 @@ const handleLoadMore = () => {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -3638,69 +3638,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 80,
"parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"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" : {
......@@ -3725,6 +3662,47 @@
"id" : "Default"
},
"topPos" : 774
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"leftPos" : 730,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1",
"topPos" : 1130
}, {
"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" : "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
}, {
"codeName" : "DEDATAQUERY1",
"leftPos" : 340,
......@@ -3734,7 +3712,7 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1",
"topPos" : 590
}, {
"codeName" : "STARTWF1",
"codeName" : "CANCELWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
......@@ -3743,10 +3721,10 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 430,
"logicNodeType" : "STARTWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"name" : "启动流程",
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
......@@ -3755,29 +3733,8 @@
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"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,
......@@ -3787,24 +3744,64 @@
"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" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"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" : "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" : "Prepareparam2",
"leftPos" : 846,
......@@ -3854,54 +3851,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 284,
"parallelOutput" : true
}, {
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"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,
......@@ -3910,30 +3859,6 @@
"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" : {
......@@ -3957,17 +3882,108 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1",
"topPos" : 1054
}, {
"codeName" : "DEBUGPARAM1",
"codeName" : "RAWSQLCALL1",
"leftPos" : 752,
"logicNodeType" : "RAWSQLCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1",
"name" : "直接SQL调用",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1",
"topPos" : 1021
}, {
"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" : "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" : "DEDATASET1",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"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
"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" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 223,
"parallelOutput" : true
}, {
"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
} ],
"getPSDELogicParams" : [ {
"codeName" : "Product",
......@@ -3980,6 +3996,17 @@
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product",
"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
}, {
"codeName" : "Default",
"logicName" : "传入变量",
......@@ -3992,17 +4019,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : 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",
"getStartPSDELogicNode" : {
......
......@@ -25,69 +25,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 80,
"parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"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" : {
......@@ -112,6 +49,47 @@
"id" : "Default"
},
"topPos" : 774
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"leftPos" : 730,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1",
"topPos" : 1130
}, {
"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" : "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
}, {
"codeName" : "DEDATAQUERY1",
"leftPos" : 340,
......@@ -121,7 +99,7 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1",
"topPos" : 590
}, {
"codeName" : "STARTWF1",
"codeName" : "CANCELWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
......@@ -130,10 +108,10 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 430,
"logicNodeType" : "STARTWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"name" : "启动流程",
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSDEWF" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
......@@ -142,29 +120,8 @@
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1",
"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,
......@@ -174,24 +131,64 @@
"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" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"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" : "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" : "Prepareparam2",
"leftPos" : 846,
......@@ -241,54 +238,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 284,
"parallelOutput" : true
}, {
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"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,
......@@ -297,30 +246,6 @@
"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" : {
......@@ -344,17 +269,108 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1",
"topPos" : 1054
}, {
"codeName" : "DEBUGPARAM1",
"codeName" : "RAWSQLCALL1",
"leftPos" : 752,
"logicNodeType" : "RAWSQLCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1",
"name" : "直接SQL调用",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1",
"topPos" : 1021
}, {
"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" : "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" : "DEDATASET1",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"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
"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" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 223,
"parallelOutput" : true
}, {
"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
} ],
"getPSDELogicParams" : [ {
"codeName" : "Product",
......@@ -367,6 +383,17 @@
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product",
"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
}, {
"codeName" : "Default",
"logicName" : "传入变量",
......@@ -379,17 +406,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : 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",
"getStartPSDELogicNode" : {
......
......@@ -6,76 +6,82 @@
<tns:import name="org.springframework.util.StringUtils"/>
<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="" 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.IIBIZBOOKService))" name="ibizbookservice" type="service"/>
<tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<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.IIBIZBOOKService))" name="ibizbookservice" 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.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<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="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
<tns:global identifier="ibizorderdetailgetunitandpriceorder" type="cn.ibizlab.core.sample.domain.IBIZOrder" />
<tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<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="ibizorderdetailgetunitandpricerawsqlandloopcall1" 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="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="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"/>
<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="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="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="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="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="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<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"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricerawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="直接SQL调用"/>
<endEvent id="rawsqlcall1_end" name="end"/>
<sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_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="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="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="ibizorderdetailgetunitandpricedeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="获取商品信息"/>
<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"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow>
<sequenceFlow id="prepareparam2_end" sourceRef="prepareparam2" targetRef="end">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
</sequenceFlow>
</process>
</definitions>
\ No newline at end of file
......@@ -6,13 +6,13 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.core.sample.domain.IBIZOrder ibizorderdetailgetunitandpriceorder;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.util.client.IBZWFFeignClient wfClient;
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.IIBIZBOOKService ibizbookservice;
global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
global cn.ibizlab.util.security.AuthenticationUser curuser;
......@@ -26,83 +26,79 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
end
//逻辑处理节点[获取商品信息]
rule "deaction1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction1"
//逻辑处理节点[实体处理逻辑]
rule "delogic1"
ruleflow-group "ibizorderdetailgetunitandpricedelogic1"
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[实体数据集]
rule "dedataset1"
ruleflow-group "ibizorderdetailgetunitandpricededataset1"
//逻辑处理节点[直接sql并循环调用]
rule "rawsqlandloopcall1"
ruleflow-group "ibizorderdetailgetunitandpricerawsqlandloopcall1"
when
then
Map param = null;
String strSql="";
java.util.List<JSONObject> entities=iBzSysIbizorderdetailDefaultService.select(strSql,param);//SQL调用
if(entities.size()>0){
}
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[实体处理逻辑]
rule "delogic1"
ruleflow-group "ibizorderdetailgetunitandpricedelogic1"
//逻辑处理节点[外部接口调用]
rule "subsyssamethod1"
ruleflow-group "ibizorderdetailgetunitandpricesubsyssamethod1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[实体数据查询]
rule "dedataquery1"
ruleflow-group "ibizorderdetailgetunitandpricededataquery1"
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[启动流程]
rule "startwf1"
ruleflow-group "ibizorderdetailgetunitandpricestartwf1"
//逻辑处理节点[调试逻辑参数]
rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
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中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[外部接口调用]
rule "subsyssamethod1"
ruleflow-group "ibizorderdetailgetunitandpricesubsyssamethod1"
//逻辑处理节点[实体数据查询]
rule "dedataquery1"
ruleflow-group "ibizorderdetailgetunitandpricededataquery1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
//逻辑处理节点[取消流程]
rule "cancelwf1"
ruleflow-group "ibizorderdetailgetunitandpricecancelwf1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[系统逻辑处理]
......@@ -111,28 +107,37 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[执行脚本代码]
rule "rawsfcode1"
ruleflow-group "ibizorderdetailgetunitandpricerawsfcode1"
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
when
then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[系统数据库表操作]
rule "sysdbtableaction1"
ruleflow-group "ibizorderdetailgetunitandpricesysdbtableaction1"
//逻辑处理节点[启动流程]
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中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[填充单位和单价]
......@@ -143,77 +148,100 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
//逻辑处理节点[服务插件]
rule "sfplugin1"
ruleflow-group "ibizorderdetailgetunitandpricesfplugin1"
when
then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[结束返回]
rule "end"
ruleflow-group "ibizorderdetailgetunitandpriceend"
//逻辑处理节点[直接web调用]
rule "rawwebcall1"
ruleflow-group "ibizorderdetailgetunitandpricerawwebcall1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[服务插件]
rule "sfplugin1"
ruleflow-group "ibizorderdetailgetunitandpricesfplugin1"
//逻辑处理节点[实体通知]
rule "denotify1"
ruleflow-group "ibizorderdetailgetunitandpricedenotify1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[取消流程]
rule "cancelwf1"
ruleflow-group "ibizorderdetailgetunitandpricecancelwf1"
//逻辑处理节点[直接sql调用]
rule "rawsqlcall1"
ruleflow-group "ibizorderdetailgetunitandpricerawsqlcall1"
when
then
Map param = null;
String strSql="";
iBzSysIbizorderdetailDefaultService.execute(strSql,param);//SQL调用
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[直接web调用]
rule "rawwebcall1"
ruleflow-group "ibizorderdetailgetunitandpricerawwebcall1"
//逻辑处理节点[执行脚本代码]
rule "rawsfcode1"
ruleflow-group "ibizorderdetailgetunitandpricerawsfcode1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[实体通知]
rule "denotify1"
ruleflow-group "ibizorderdetailgetunitandpricedenotify1"
//逻辑处理节点[结束返回]
rule "end"
ruleflow-group "ibizorderdetailgetunitandpriceend"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[实体数据集]
rule "dedataset1"
ruleflow-group "ibizorderdetailgetunitandpricededataset1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[调试逻辑参数]
rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
//逻辑处理节点[获取商品信息]
rule "deaction1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction1"
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[系统数据库表操作]
rule "sysdbtableaction1"
ruleflow-group "ibizorderdetailgetunitandpricesysdbtableaction1"
when
then
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
\ No newline at end of file
......@@ -2698,85 +2698,6 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin",
"topPos" : 80,
"parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"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" : {
......@@ -2809,6 +2730,47 @@
"id" : "Default"
},
"topPos" : 774
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"leftPos" : 730,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLANDLOOPCALL1",
"topPos" : 1130
}, {
"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" : "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
}, {
"codeName" : "DEDATAQUERY1",
"leftPos" : 340,
......@@ -2818,7 +2780,7 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY1",
"topPos" : 590
}, {
"codeName" : "STARTWF1",
"codeName" : "CANCELWF1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
......@@ -2827,10 +2789,10 @@
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 430,
"logicNodeType" : "STARTWF",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/STARTWF1",
"name" : "启动流程",
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSAppWF" : {
"modelref" : true,
"id" : "ODSP"
......@@ -2843,29 +2805,8 @@
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/STARTWF1",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1",
"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,
......@@ -2875,24 +2816,68 @@
"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" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"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" : "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" : "Prepareparam2",
"leftPos" : 846,
......@@ -2943,40 +2928,52 @@
"topPos" : 284,
"parallelOutput" : true
}, {
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"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" : "RAWWEBCALL1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
"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" : "RAWSQLCALL1",
"leftPos" : 752,
"logicNodeType" : "RAWSQLCALL",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLCALL1",
"name" : "直接SQL调用",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLCALL1",
"topPos" : 1021
}, {
"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" : "End",
"leftPos" : 1025,
......@@ -2991,75 +2988,94 @@
"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",
"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" : "Order"
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 616,
"logicNodeType" : "CANCELWF",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1",
"name" : "取消流程",
"getPSAppWF" : {
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"topPos" : 498
}, {
"codeName" : "Deaction1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "ODSP"
"id" : "Get"
},
"getPSDEWF" : {
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getPSWorkflow" : {
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSWORKFLOWS/ODSP.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1",
"topPos" : 920
}, {
"codeName" : "RAWWEBCALL1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
"id" : "Product"
},
"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
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Default"
"id" : "Throwexception"
},
"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
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"topPos" : 223,
"parallelOutput" : true
}, {
"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
} ],
"getPSDELogicParams" : [ {
"codeName" : "Product",
......@@ -3077,35 +3093,35 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Product",
"entityParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"name" : "传入变量",
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"name" : "订单",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"default" : true,
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"name" : "订单",
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"name" : "传入变量",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"default" : true,
"entityParam" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice",
......
......@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-49-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-53-14">
<createTable tableName="T_IBIZORDERDETAIL">
<column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)">
</column>
......
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-49-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-53-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL">
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册