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

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

上级 8d1faa18
...@@ -77,7 +77,11 @@ export default class GetUnitAndPriceLogicBase { ...@@ -77,7 +77,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute1Cond(params:any):boolean{ public compute1Cond(params:any):boolean{
return true; if(Verify.testCond(params.unitprice, 'GT', '100')){
return true;
}else{
return false;
}
} }
/** /**
...@@ -86,11 +90,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -86,11 +90,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute2Cond(params:any):boolean{ public compute2Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', '100')){ return true;
return true;
}else{
return false;
}
} }
/** /**
...@@ -99,11 +99,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -99,11 +99,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute3Cond(params:any):boolean{ public compute3Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', '200')){ return true;
return true;
}else{
return false;
}
} }
/** /**
...@@ -121,7 +117,11 @@ export default class GetUnitAndPriceLogicBase { ...@@ -121,7 +117,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute5Cond(params:any):boolean{ public compute5Cond(params:any):boolean{
return true; if(Verify.testCond(params.amount, 'GT', '100')){
return true;
}else{
return false;
}
} }
/** /**
...@@ -130,7 +130,11 @@ export default class GetUnitAndPriceLogicBase { ...@@ -130,7 +130,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute6Cond(params:any):boolean{ public compute6Cond(params:any):boolean{
return true; if(Verify.testCond(params.amount, 'GT', '200')){
return true;
}else{
return false;
}
} }
/** /**
...@@ -139,11 +143,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -139,11 +143,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute7Cond(params:any):boolean{ public compute7Cond(params:any):boolean{
if(Verify.testCond(params.unitprice, 'GT', '100')){ return true;
return true;
}else{
return false;
}
} }
/** /**
...@@ -187,6 +187,29 @@ export default class GetUnitAndPriceLogicBase { ...@@ -187,6 +187,29 @@ export default class GetUnitAndPriceLogicBase {
} }
} }
/**
* 大于200处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/** /**
* 调试逻辑参数 * 调试逻辑参数
* *
...@@ -200,53 +223,38 @@ export default class GetUnitAndPriceLogicBase { ...@@ -200,53 +223,38 @@ export default class GetUnitAndPriceLogicBase {
} }
/** /**
* 获取订单信息 * 填充单位和单价
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeDEACTION2(context:any,params:any,isloading:boolean){ private async executePrepareparam2(context:any,params:any,isloading:boolean){
// 行为处理节点 // 准备参数节点
let result: any; let tempDstParam0Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let actionParam:any = this.paramsMap.get('Order'); let tempDstParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
const targetService:IBIZOrderService = new IBIZOrderService(); let tempSrcParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
if (targetService['Get'] && targetService['Get'] instanceof Function) { Object.assign(tempDstParam0Data,{unit:tempSrcParam0Data['unit']});
result = await targetService['Get'](actionParam.context,actionParam.data, false); this.paramsMap.set('Default',{data:tempDstParam0Data,context:tempDstParam0Context});
} let tempDstParam1Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
if(result && result.status == 200){ let tempDstParam1Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(actionParam.data,result.data); let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam1Data,{unitprice:tempSrcParam1Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
if(this.compute1Cond(params)){ if(this.compute1Cond(params)){
return this.executeTHROWEXCEPTION2(context,params,isloading); return this.executePREPAREPARAM3(context,params,isloading);
}
if(this.compute2Cond(params)){
return this.executeDEBUGPARAM1(context,params,isloading);
}
if(this.compute3Cond(params)){
return this.executeDEBUGPARAM2(context,params,isloading);
}
if(this.compute4Cond(params)){
return this.executeDEBUGPARAM3(context,params,isloading);
}
} }
} }
/** /**
* 获取商品ID * 大于100处理
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executePrepareparam1(context:any,params:any,isloading:boolean){ private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// 准备参数节点 // DEBUGPARAM暂未支持
let tempDstParam0Context:any = this.paramsMap.get('Product').context?this.paramsMap.get('Product').context:{}; console.log("DEBUGPARAM暂未支持");
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.compute5Cond(params)){
return this.executeDeaction1(context,params,isloading);
}
} }
/** /**
...@@ -263,103 +271,95 @@ export default class GetUnitAndPriceLogicBase { ...@@ -263,103 +271,95 @@ export default class GetUnitAndPriceLogicBase {
Object.assign(tempDstParam0Context,{ibizorder:tempSrcParam0Data['ibizorderid']}); Object.assign(tempDstParam0Context,{ibizorder:tempSrcParam0Data['ibizorderid']});
Object.assign(tempDstParam0Data,{ibizorderid:tempSrcParam0Data['ibizorderid']}); Object.assign(tempDstParam0Data,{ibizorderid:tempSrcParam0Data['ibizorderid']});
this.paramsMap.set('Order',{data:tempDstParam0Data,context:tempDstParam0Context}); this.paramsMap.set('Order',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute6Cond(params)){ if(this.compute2Cond(params)){
return this.executeDEACTION2(context,params,isloading); return this.executeDEACTION2(context,params,isloading);
} }
} }
/** /**
* 获取订单信息异常 * 获取商品ID
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 填充单位和单价
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executePrepareparam2(context:any,params:any,isloading:boolean){ private async executePrepareparam1(context:any,params:any,isloading:boolean){
// 准备参数节点 // 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{}; let tempDstParam0Context:any = this.paramsMap.get('Product').context?this.paramsMap.get('Product').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{}; let tempDstParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
let tempSrcParam0Data: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(tempDstParam0Data,{unit:tempSrcParam0Data['unit']}); Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Default',{data:tempDstParam0Data,context:tempDstParam0Context}); Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
let tempDstParam1Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{}; this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
let tempDstParam1Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{}; if(this.compute3Cond(params)){
let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{}; return this.executeDeaction1(context,params,isloading);
Object.assign(tempDstParam1Data,{unitprice:tempSrcParam1Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
if(this.compute7Cond(params)){
return this.executePREPAREPARAM3(context,params,isloading);
} }
} }
/** /**
* 获取商品信息 * 获取订单信息
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeDeaction1(context:any,params:any,isloading:boolean){ private async executeDEACTION2(context:any,params:any,isloading:boolean){
// 行为处理节点 // 行为处理节点
let result: any; let result: any;
let actionParam:any = this.paramsMap.get('Product'); let actionParam:any = this.paramsMap.get('Order');
const targetService:IBIZUNIProductService = new IBIZUNIProductService(); const targetService:IBIZOrderService = new IBIZOrderService();
if (targetService['Get'] && targetService['Get'] instanceof Function) { if (targetService['Get'] && targetService['Get'] instanceof Function) {
result = await targetService['Get'](actionParam.context,actionParam.data, false); result = await targetService['Get'](actionParam.context,actionParam.data, false);
} }
if(result && result.status == 200){ if(result && result.status == 200){
Object.assign(actionParam.data,result.data); Object.assign(actionParam.data,result.data);
if(this.compute8Cond(params)){ if(this.compute4Cond(params)){
return this.executePrepareparam2(context,params,isloading); return this.executeTHROWEXCEPTION2(context,params,isloading);
} }
if(this.compute9Cond(params)){ if(this.compute5Cond(params)){
return this.executeThrowexception(context,params,isloading); return this.executeDEBUGPARAM1(context,params,isloading);
}
if(this.compute6Cond(params)){
return this.executeDEBUGPARAM2(context,params,isloading);
}
if(this.compute7Cond(params)){
return this.executeDEBUGPARAM3(context,params,isloading);
} }
} }
} }
/** /**
* 获取产品价格异常 * 获取订单信息异常
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeThrowexception(context:any,params:any,isloading:boolean){ private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点 // 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data; return this.paramsMap.get(this.defaultParamName).data;
} }
/** /**
* 大于100处理 * 获取商品信息
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 大于200处理
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){ private async executeDeaction1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持 // 行为处理节点
console.log("DEBUGPARAM暂未支持"); let result: any;
return this.paramsMap.get(this.defaultParamName).data; 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.compute8Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute9Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
}
} }
......
...@@ -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: 'IBIZBOOKUsr3GridView' + (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: 'IBIZBOOKUsr3GridView' + (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){
......
...@@ -1314,7 +1314,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface { ...@@ -1314,7 +1314,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1366,7 +1366,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface { ...@@ -1366,7 +1366,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1436,7 +1436,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface { ...@@ -1436,7 +1436,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1544,7 +1544,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface { ...@@ -1544,7 +1544,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1758,7 +1758,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface { ...@@ -1758,7 +1758,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -3638,6 +3638,24 @@ ...@@ -3638,6 +3638,24 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 216, "topPos" : 216,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -37
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"topPos" : 422
}, { }, {
"codeName" : "DEBUGPARAM3", "codeName" : "DEBUGPARAM3",
"leftPos" : 1220, "leftPos" : 1220,
...@@ -3647,99 +3665,111 @@ ...@@ -3647,99 +3665,111 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 58 "topPos" : 58
}, { }, {
"codeName" : "DEACTION2", "codeName" : "Prepareparam2",
"getDstPSDEAction" : { "leftPos" : 775,
"modelref" : true, "logicNodeType" : "PREPAREPARAM",
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json" "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
}, "name" : "填充单位和单价",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "THROWEXCEPTION2" "id" : "PREPAREPARAM3"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"catchLink" : true
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}, },
"name" : ">100", "name" : "其他处理",
"getPSDELogicLinkGroupCond" : { "getPSDELogicLinkGroupCond" : {
"groupOP" : "AND", "groupOP" : "AND",
"logicType" : "GROUP", "logicType" : "GROUP",
"name" : "连接条件组", "name" : "连接条件组",
"getPSDELogicLinkConds" : [ { "getPSDELogicLinkConds" : [ {
"condOP" : "GT", "condOP" : "GT",
"dstFieldName" : "AMOUNT", "dstFieldName" : "UNITPRICE",
"getDstLogicParam" : { "getDstLogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Default"
}, },
"logicType" : "SINGLE", "logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 100", "name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100" "paramValue" : "100"
} ] } ]
}, },
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Prepareparam2"
} }
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, { }, {
"getDstPSDELogicNode" : { "dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "DEBUGPARAM2" "id" : "Default"
}, },
"name" : ">200", "name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"getPSDELogicLinkGroupCond" : { "paramAction" : "SETPARAMVALUE",
"groupOP" : "AND", "srcFieldName" : "UNITPRICE",
"logicType" : "GROUP", "getSrcPSDELogicParam" : {
"name" : "连接条件组", "modelref" : true,
"getPSDELogicLinkConds" : [ { "id" : "Product"
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
} ]
}, },
"getSrcPSDELogicNode" : { "srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM1",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
} }
}, { } ],
"getDstPSDELogicNode" : { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "DEBUGPARAM3" "id" : "Order"
}, },
"name" : "默认", "name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"getSrcPSDELogicNode" : { "paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Default"
}, },
"defaultLink" : true "srcValueType" : "SRCDLPARAM"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37 "topPos" : -37
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "Prepareparam1",
...@@ -3777,114 +3807,111 @@ ...@@ -3777,114 +3807,111 @@
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "PREPAREPARAM3", "codeName" : "DEACTION2",
"leftPos" : 775, "getDstPSDEAction" : {
"logicNodeType" : "PREPAREPARAM", "modelref" : true,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3", "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
"name" : "设置orderid", },
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "THROWEXCEPTION2"
}, },
"name" : "连接名称", "name" : "异常",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "DEACTION2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
}, },
"srcValueType" : "SRCDLPARAM" "catchLink" : true
} ], }, {
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "DEBUGPARAM1"
}, },
"name" : "其他处理", "name" : ">100",
"getPSDELogicLinkGroupCond" : { "getPSDELogicLinkGroupCond" : {
"groupOP" : "AND", "groupOP" : "AND",
"logicType" : "GROUP", "logicType" : "GROUP",
"name" : "连接条件组", "name" : "连接条件组",
"getPSDELogicLinkConds" : [ { "getPSDELogicLinkConds" : [ {
"condOP" : "GT", "condOP" : "GT",
"dstFieldName" : "UNITPRICE", "dstFieldName" : "AMOUNT",
"getDstLogicParam" : { "getDstLogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Order"
}, },
"logicType" : "SINGLE", "logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100", "name" : "Order[AMOUNT] 大于(>) 100",
"paramValue" : "100" "paramValue" : "100"
} ] } ]
}, },
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam2" "id" : "DEACTION2"
} }
} ], }, {
"getPSDELogicNodeParams" : [ { "getDstPSDELogicNode" : {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "DEBUGPARAM2"
}, },
"name" : "Product[UNIT] ==> Default[UNIT]", "name" : ">200",
"paramAction" : "SETPARAMVALUE", "getPSDELogicLinkGroupCond" : {
"srcFieldName" : "UNIT", "groupOP" : "AND",
"getSrcPSDELogicParam" : { "logicType" : "GROUP",
"modelref" : true, "name" : "连接条件组",
"id" : "Product" "getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
} ]
}, },
"srcValueType" : "SRCDLPARAM" "getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, { }, {
"dstFieldName" : "UNITPRICE", "getDstPSDELogicNode" : {
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "DEBUGPARAM3"
}, },
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]", "name" : "默认",
"paramAction" : "SETPARAMVALUE", "getSrcPSDELogicNode" : {
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Product" "id" : "DEACTION2"
}, },
"srcValueType" : "SRCDLPARAM" "defaultLink" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : 224, "topPos" : -37,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, { }, {
"codeName" : "Deaction1", "codeName" : "Deaction1",
"getDstPSDEAction" : { "getDstPSDEAction" : {
...@@ -3928,32 +3955,6 @@ ...@@ -3928,32 +3955,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"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",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -37
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Default", "codeName" : "Default",
......
...@@ -25,6 +25,24 @@ ...@@ -25,6 +25,24 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 216, "topPos" : 216,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -37
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"topPos" : 422
}, { }, {
"codeName" : "DEBUGPARAM3", "codeName" : "DEBUGPARAM3",
"leftPos" : 1220, "leftPos" : 1220,
...@@ -34,99 +52,111 @@ ...@@ -34,99 +52,111 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 58 "topPos" : 58
}, { }, {
"codeName" : "DEACTION2", "codeName" : "Prepareparam2",
"getDstPSDEAction" : { "leftPos" : 775,
"modelref" : true, "logicNodeType" : "PREPAREPARAM",
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json" "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
}, "name" : "填充单位和单价",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "THROWEXCEPTION2" "id" : "PREPAREPARAM3"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"catchLink" : true
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
}, },
"name" : ">100", "name" : "其他处理",
"getPSDELogicLinkGroupCond" : { "getPSDELogicLinkGroupCond" : {
"groupOP" : "AND", "groupOP" : "AND",
"logicType" : "GROUP", "logicType" : "GROUP",
"name" : "连接条件组", "name" : "连接条件组",
"getPSDELogicLinkConds" : [ { "getPSDELogicLinkConds" : [ {
"condOP" : "GT", "condOP" : "GT",
"dstFieldName" : "AMOUNT", "dstFieldName" : "UNITPRICE",
"getDstLogicParam" : { "getDstLogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Default"
}, },
"logicType" : "SINGLE", "logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 100", "name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100" "paramValue" : "100"
} ] } ]
}, },
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Prepareparam2"
} }
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, { }, {
"getDstPSDELogicNode" : { "dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "DEBUGPARAM2" "id" : "Default"
}, },
"name" : ">200", "name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"getPSDELogicLinkGroupCond" : { "paramAction" : "SETPARAMVALUE",
"groupOP" : "AND", "srcFieldName" : "UNITPRICE",
"logicType" : "GROUP", "getSrcPSDELogicParam" : {
"name" : "连接条件组", "modelref" : true,
"getPSDELogicLinkConds" : [ { "id" : "Product"
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
} ]
}, },
"getSrcPSDELogicNode" : { "srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM1",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
} }
}, { } ],
"getDstPSDELogicNode" : { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "DEBUGPARAM3" "id" : "Order"
}, },
"name" : "默认", "name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"getSrcPSDELogicNode" : { "paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Default"
}, },
"defaultLink" : true "srcValueType" : "SRCDLPARAM"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37 "topPos" : -37
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "Prepareparam1",
...@@ -164,114 +194,111 @@ ...@@ -164,114 +194,111 @@
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "PREPAREPARAM3", "codeName" : "DEACTION2",
"leftPos" : 775, "getDstPSDEAction" : {
"logicNodeType" : "PREPAREPARAM", "modelref" : true,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3", "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
"name" : "设置orderid", },
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "THROWEXCEPTION2"
}, },
"name" : "连接名称", "name" : "异常",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "DEACTION2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
}, },
"srcValueType" : "SRCDLPARAM" "catchLink" : true
} ], }, {
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "DEBUGPARAM1"
}, },
"name" : "其他处理", "name" : ">100",
"getPSDELogicLinkGroupCond" : { "getPSDELogicLinkGroupCond" : {
"groupOP" : "AND", "groupOP" : "AND",
"logicType" : "GROUP", "logicType" : "GROUP",
"name" : "连接条件组", "name" : "连接条件组",
"getPSDELogicLinkConds" : [ { "getPSDELogicLinkConds" : [ {
"condOP" : "GT", "condOP" : "GT",
"dstFieldName" : "UNITPRICE", "dstFieldName" : "AMOUNT",
"getDstLogicParam" : { "getDstLogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Order"
}, },
"logicType" : "SINGLE", "logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100", "name" : "Order[AMOUNT] 大于(>) 100",
"paramValue" : "100" "paramValue" : "100"
} ] } ]
}, },
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam2" "id" : "DEACTION2"
} }
} ], }, {
"getPSDELogicNodeParams" : [ { "getDstPSDELogicNode" : {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "DEBUGPARAM2"
}, },
"name" : "Product[UNIT] ==> Default[UNIT]", "name" : ">200",
"paramAction" : "SETPARAMVALUE", "getPSDELogicLinkGroupCond" : {
"srcFieldName" : "UNIT", "groupOP" : "AND",
"getSrcPSDELogicParam" : { "logicType" : "GROUP",
"modelref" : true, "name" : "连接条件组",
"id" : "Product" "getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
} ]
}, },
"srcValueType" : "SRCDLPARAM" "getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, { }, {
"dstFieldName" : "UNITPRICE", "getDstPSDELogicNode" : {
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "DEBUGPARAM3"
}, },
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]", "name" : "默认",
"paramAction" : "SETPARAMVALUE", "getSrcPSDELogicNode" : {
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Product" "id" : "DEACTION2"
}, },
"srcValueType" : "SRCDLPARAM" "defaultLink" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : 224, "topPos" : -37,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, { }, {
"codeName" : "Deaction1", "codeName" : "Deaction1",
"getDstPSDEAction" : { "getDstPSDEAction" : {
...@@ -315,32 +342,6 @@ ...@@ -315,32 +342,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"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",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -37
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Default", "codeName" : "Default",
......
...@@ -17,77 +17,77 @@ ...@@ -17,77 +17,77 @@
<tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" /> <tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" />
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam2" id="debugparam2" implementation="http://www.jboss.org/drools/rule" name="大于200处理"/>
<endEvent id="debugparam2_end" name="end"/>
<sequenceFlow id="debugparam2_end_line" sourceRef="debugparam2" targetRef="debugparam2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/>
<endEvent id="throwexception_end" name="end"/>
<sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam3" id="debugparam3" implementation="http://www.jboss.org/drools/rule" name="调试逻辑参数"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam3" id="debugparam3" implementation="http://www.jboss.org/drools/rule" name="调试逻辑参数"/>
<endEvent id="debugparam3_end" name="end"/> <endEvent id="debugparam3_end" name="end"/>
<sequenceFlow id="debugparam3_end_line" sourceRef="debugparam3" targetRef="debugparam3_end"/> <sequenceFlow id="debugparam3_end_line" sourceRef="debugparam3" targetRef="debugparam3_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息"/> <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="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="大于100处理"/>
<endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam3" id="prepareparam3" implementation="http://www.jboss.org/drools/rule" name="设置orderid"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam3" id="prepareparam3" implementation="http://www.jboss.org/drools/rule" name="设置orderid"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception2" id="throwexception2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息异常"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception2" id="throwexception2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息异常"/>
<endEvent id="throwexception2_end" name="end"/> <endEvent id="throwexception2_end" name="end"/>
<sequenceFlow id="throwexception2_end_line" sourceRef="throwexception2" targetRef="throwexception2_end"/> <sequenceFlow id="throwexception2_end_line" sourceRef="throwexception2" targetRef="throwexception2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="获取商品信息"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction1" id="deaction1" 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"/>
<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="大于100处理"/>
<endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam2" id="debugparam2" implementation="http://www.jboss.org/drools/rule" name="大于200处理"/>
<endEvent id="debugparam2_end" name="end"/>
<sequenceFlow id="debugparam2_end_line" sourceRef="debugparam2" targetRef="debugparam2_end"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1"> <sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction2_throwexception2" sourceRef="deaction2" targetRef="throwexception2"> <sequenceFlow id="gateway-prepareparam2_prepareparam3" sourceRef="gateway-prepareparam2" targetRef="prepareparam3">
</sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam1" sourceRef="gateway-deaction2" targetRef="debugparam1">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[ <conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","100"))) eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","100")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam2" sourceRef="gateway-deaction2" targetRef="debugparam2"> <sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow>
<sequenceFlow id="deaction2_throwexception2" sourceRef="deaction2" targetRef="throwexception2">
</sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam1" sourceRef="gateway-deaction2" targetRef="debugparam1">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[ <conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","200"))) eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","100")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction2_debugparam3" sourceRef="deaction2" targetRef="debugparam3"> <sequenceFlow id="gateway-deaction2_debugparam2" sourceRef="gateway-deaction2" targetRef="debugparam2">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow>
<sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2">
</sequenceFlow>
<sequenceFlow id="gateway-prepareparam2_prepareparam3" sourceRef="gateway-prepareparam2" targetRef="prepareparam3">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[ <conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct);
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","100"))) eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","200")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction2_debugparam3" sourceRef="deaction2" targetRef="debugparam3">
</sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2"> <sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception"> <sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
</sequenceFlow> </sequenceFlow>
<exclusiveGateway id="gateway-deaction2" name="Gateway" gatewayDirection="Diverging" default="gateway-deaction2_end_line"></exclusiveGateway>
<sequenceFlow id="deaction2_gateway-deaction2_gatewayline" sourceRef="deaction2" targetRef="gateway-deaction2"></sequenceFlow>
<sequenceFlow id="gateway-deaction2_end_line" sourceRef="gateway-deaction2" targetRef="gateway-deaction2_end"/>
<endEvent id="gateway-deaction2_end" name="end"/>
<exclusiveGateway id="gateway-prepareparam2" name="Gateway" gatewayDirection="Diverging" default="gateway-prepareparam2_end_line"></exclusiveGateway> <exclusiveGateway id="gateway-prepareparam2" name="Gateway" gatewayDirection="Diverging" default="gateway-prepareparam2_end_line"></exclusiveGateway>
<sequenceFlow id="prepareparam2_gateway-prepareparam2_gatewayline" sourceRef="prepareparam2" targetRef="gateway-prepareparam2"></sequenceFlow> <sequenceFlow id="prepareparam2_gateway-prepareparam2_gatewayline" sourceRef="prepareparam2" targetRef="gateway-prepareparam2"></sequenceFlow>
<sequenceFlow id="gateway-prepareparam2_end_line" sourceRef="gateway-prepareparam2" targetRef="gateway-prepareparam2_end"/> <sequenceFlow id="gateway-prepareparam2_end_line" sourceRef="gateway-prepareparam2" targetRef="gateway-prepareparam2_end"/>
<endEvent id="gateway-prepareparam2_end" name="end"/> <endEvent id="gateway-prepareparam2_end" name="end"/>
<exclusiveGateway id="gateway-deaction2" name="Gateway" gatewayDirection="Diverging" default="gateway-deaction2_end_line"></exclusiveGateway>
<sequenceFlow id="deaction2_gateway-deaction2_gatewayline" sourceRef="deaction2" targetRef="gateway-deaction2"></sequenceFlow>
<sequenceFlow id="gateway-deaction2_end_line" sourceRef="gateway-deaction2" targetRef="gateway-deaction2_end"/>
<endEvent id="gateway-deaction2_end" name="end"/>
</process> </process>
</definitions> </definitions>
\ No newline at end of file
...@@ -23,9 +23,9 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -23,9 +23,9 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then then
end end
//逻辑处理节点[调试逻辑参数] //逻辑处理节点[大于200处理]
rule "debugparam3" rule "debugparam2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam3" ruleflow-group "ibizorderdetailgetunitandpricedebugparam2"
when when
then then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
...@@ -33,42 +33,41 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -33,42 +33,41 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[获取订单信息] //逻辑处理节点[获取产品价格异常]
rule "deaction2" rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricedeaction2" ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[获取商品id] //逻辑处理节点[调试逻辑参数]
rule "prepareparam1" rule "debugparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1" ruleflow-group "ibizorderdetailgetunitandpricedebugparam3"
when when
then then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[设置orderid] //逻辑处理节点[填充单位和单价]
rule "prepareparam3" rule "prepareparam2"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3" ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2"
when when
then then
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid")); ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[获取订单信息异常] //逻辑处理节点[大于100处理]
rule "throwexception2" rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception2" ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
when when
then then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
...@@ -76,42 +75,42 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -76,42 +75,42 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[填充单位和单价] //逻辑处理节点[设置orderid]
rule "prepareparam2" rule "prepareparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2" ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3"
when when
then then
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit")); ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[获取商品信息] //逻辑处理节点[获取商品id]
rule "deaction1" rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction1" ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct); ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[获取产品价格异常] //逻辑处理节点[获取订单信息]
rule "throwexception" rule "deaction2"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception" ruleflow-group "ibizorderdetailgetunitandpricedeaction2"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[大于100处理] //逻辑处理节点[获取订单信息异常]
rule "debugparam1" rule "throwexception2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1" ruleflow-group "ibizorderdetailgetunitandpricethrowexception2"
when when
then then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
...@@ -119,11 +118,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -119,11 +118,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
end end
//逻辑处理节点[大于200处理] //逻辑处理节点[获取商品信息]
rule "debugparam2" rule "deaction1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam2" ruleflow-group "ibizorderdetailgetunitandpricedeaction1"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
......
...@@ -12,6 +12,30 @@ ...@@ -12,6 +12,30 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -47,30 +71,6 @@ ...@@ -47,30 +71,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -20,6 +20,18 @@ ...@@ -20,6 +20,18 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -43,18 +55,6 @@ ...@@ -43,18 +55,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -2698,6 +2698,24 @@ ...@@ -2698,6 +2698,24 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin",
"topPos" : 216, "topPos" : 216,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"topPos" : -37
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception",
"topPos" : 422
}, { }, {
"codeName" : "DEBUGPARAM3", "codeName" : "DEBUGPARAM3",
"leftPos" : 1220, "leftPos" : 1220,
...@@ -2706,6 +2724,148 @@ ...@@ -2706,6 +2724,148 @@
"name" : "调试逻辑参数", "name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3",
"topPos" : 58 "topPos" : 58
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
},
"name" : "其他处理",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "UNITPRICE",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM1",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, {
"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" : "DEACTION2", "codeName" : "DEACTION2",
"getDstPSAppDEAction" : { "getDstPSAppDEAction" : {
...@@ -2808,76 +2968,8 @@ ...@@ -2808,76 +2968,8 @@
"defaultLink" : true "defaultLink" : true
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"topPos" : -37 "topPos" : -37,
}, {
"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 "parallelOutput" : true
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, { }, {
"codeName" : "THROWEXCEPTION2", "codeName" : "THROWEXCEPTION2",
"errorCode" : 0, "errorCode" : 0,
...@@ -2888,71 +2980,6 @@ ...@@ -2888,71 +2980,6 @@
"name" : "获取订单信息异常", "name" : "获取订单信息异常",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/THROWEXCEPTION2", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/THROWEXCEPTION2",
"topPos" : -248 "topPos" : -248
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
},
"name" : "其他处理",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "UNITPRICE",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"topPos" : 224,
"parallelOutput" : true
}, { }, {
"codeName" : "Deaction1", "codeName" : "Deaction1",
"getDstPSAppDEAction" : { "getDstPSAppDEAction" : {
...@@ -3004,32 +3031,6 @@ ...@@ -3004,32 +3031,6 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"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",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"topPos" : -37
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Default", "codeName" : "Default",
......
...@@ -46,6 +46,30 @@ ...@@ -46,6 +46,30 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -81,30 +105,6 @@ ...@@ -81,30 +105,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -100,6 +100,18 @@ ...@@ -100,6 +100,18 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -123,18 +135,6 @@ ...@@ -123,18 +135,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 --> <!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-77-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-79-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-77-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-79-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册