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

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

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