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

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

上级 4434142e
...@@ -90,6 +90,18 @@ export default class CountMoneyLogicBase { ...@@ -90,6 +90,18 @@ export default class CountMoneyLogicBase {
} }
} }
/**
* 直接SQL并循环调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRAWSQLANDLOOPCALL1(context:any,params:any,isloading:boolean){
// RAWSQLANDLOOPCALL暂未支持
console.log("RAWSQLANDLOOPCALL暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/** /**
* 统计金额 * 统计金额
* *
......
import IBIZUNIProductService from '@/service/ibizuniproduct/ibizuniproduct-service';
import IBIZOrderDetailService from '@/service/ibizorder-detail/ibizorder-detail-service'; import IBIZOrderDetailService from '@/service/ibizorder-detail/ibizorder-detail-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service'; import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import IBIZUNIProductService from '@/service/ibizuniproduct/ibizuniproduct-service';
import { Verify } from '@/utils/verify/verify'; import { Verify } from '@/utils/verify/verify';
...@@ -57,13 +57,13 @@ export default class GetUnitAndPriceLogicBase { ...@@ -57,13 +57,13 @@ export default class GetUnitAndPriceLogicBase {
* @memberof GetUnitAndPriceLogicBase * @memberof GetUnitAndPriceLogicBase
*/ */
public initParams(opts:any){ public initParams(opts:any){
this.paramsMap.set('Order',{}); this.paramsMap.set('Default',opts);
this.paramsMap.set('page',{});
this.paramsMap.set('list',{}); this.paramsMap.set('list',{});
this.paramsMap.set('session',{});
this.paramsMap.set('Product',{}); this.paramsMap.set('Product',{});
this.paramsMap.set('filter',{}); this.paramsMap.set('filter',{});
this.paramsMap.set('page',{}); this.paramsMap.set('Order',{});
this.paramsMap.set('session',{});
this.paramsMap.set('Default',opts);
} }
...@@ -131,11 +131,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -131,11 +131,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute6Cond(params:any):boolean{ public compute6Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', '100')){ return true;
return true;
}else{
return false;
}
} }
/** /**
...@@ -144,11 +140,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -144,11 +140,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute7Cond(params:any):boolean{ public compute7Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', 'PRICE')){ return true;
return true;
}else{
return false;
}
} }
/** /**
...@@ -157,7 +149,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -157,7 +149,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute8Cond(params:any):boolean{ public compute8Cond(params:any):boolean{
if(Verify.testCond(params.createdate, 'GTANDEQ', 'CREATEDATE')){ if(Verify.testCond(params.amount, 'GT', '100')){
return true; return true;
}else{ }else{
return false; return false;
...@@ -170,7 +162,7 @@ export default class GetUnitAndPriceLogicBase { ...@@ -170,7 +162,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute9Cond(params:any):boolean{ public compute9Cond(params:any):boolean{
if(Verify.testCond(params.ordertime, 'LTANDEQ', '')){ if(Verify.testCond(params.amount, 'GT', 'PRICE')){
return true; return true;
}else{ }else{
return false; return false;
...@@ -183,7 +175,11 @@ export default class GetUnitAndPriceLogicBase { ...@@ -183,7 +175,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute10Cond(params:any):boolean{ public compute10Cond(params:any):boolean{
return true; if(Verify.testCond(params.createdate, 'GTANDEQ', 'CREATEDATE')){
return true;
}else{
return false;
}
} }
/** /**
...@@ -192,7 +188,11 @@ export default class GetUnitAndPriceLogicBase { ...@@ -192,7 +188,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数 * @param params 传入参数
*/ */
public compute11Cond(params:any):boolean{ public compute11Cond(params:any):boolean{
return true; if(Verify.testCond(params.ordertime, 'LTANDEQ', '')){
return true;
}else{
return false;
}
} }
/** /**
...@@ -237,37 +237,107 @@ export default class GetUnitAndPriceLogicBase { ...@@ -237,37 +237,107 @@ export default class GetUnitAndPriceLogicBase {
} }
/** /**
* 大于200处理 * 大于100处理
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){ private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持 // DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持"); console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data; return this.paramsMap.get(this.defaultParamName).data;
} }
/** /**
* 实体行为 * 实体数据集
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeDEACTION3(context:any,params:any,isloading:boolean){ private async executeDEDATASET1(context:any,params:any,isloading:boolean){
// DEDATASET暂未支持
console.log("DEDATASET暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 填充单位和单价
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executePrepareparam2(context:any,params:any,isloading:boolean){
// 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam0Data,{unit:tempSrcParam0Data['unit']});
this.paramsMap.set('Default',{data:tempDstParam0Data,context:tempDstParam0Context});
let tempDstParam1Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam1Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam1Data,{unitprice:tempSrcParam1Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
if(this.compute1Cond(params)){
return this.executePREPAREPARAM3(context,params,isloading);
}
if(this.compute2Cond(params)){
return this.executeDELOGIC1(context,params,isloading);
}
if(this.compute3Cond(params)){
return this.executeDEACTION3(context,params,isloading);
}
}
/**
* 获取商品信息
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDeaction1(context:any,params:any,isloading:boolean){
// 行为处理节点 // 行为处理节点
let result: any; let result: any;
let actionParam:any = this.paramsMap.get('Default'); let actionParam:any = this.paramsMap.get('Product');
const targetService:IBIZOrderDetailService = new IBIZOrderDetailService(); const targetService:IBIZUNIProductService = new IBIZUNIProductService();
if (targetService['CountMoney'] && targetService['CountMoney'] instanceof Function) { if (targetService['Get'] && targetService['Get'] instanceof Function) {
result = await targetService['CountMoney'](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);
return this.paramsMap.get(this.defaultParamName).data; if(this.compute4Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute5Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
} }
} }
/**
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM3(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 附加到数组参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeAPPENDPARAM1(context:any,params:any,isloading:boolean){
// APPENDPARAM暂未支持
console.log("APPENDPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/** /**
* 统计金额 * 统计金额
* *
...@@ -293,43 +363,34 @@ export default class GetUnitAndPriceLogicBase { ...@@ -293,43 +363,34 @@ export default class GetUnitAndPriceLogicBase {
} }
/** /**
* 大于100处理 * 大于200处理
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){ private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持 // DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持"); console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data; return this.paramsMap.get(this.defaultParamName).data;
} }
/** /**
* 填充单位和单价 * 实体行为
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executePrepareparam2(context:any,params:any,isloading:boolean){ private async executeDEACTION3(context:any,params:any,isloading:boolean){
// 准备参数节点 // 行为处理节点
let tempDstParam0Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{}; let result: any;
let tempDstParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{}; let actionParam:any = this.paramsMap.get('Default');
let tempSrcParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{}; const targetService:IBIZOrderDetailService = new IBIZOrderDetailService();
Object.assign(tempDstParam0Data,{unit:tempSrcParam0Data['unit']}); if (targetService['CountMoney'] && targetService['CountMoney'] instanceof Function) {
this.paramsMap.set('Default',{data:tempDstParam0Data,context:tempDstParam0Context}); result = await targetService['CountMoney'](actionParam.context,actionParam.data, false);
let tempDstParam1Context:any = this.paramsMap.get('Default').context?this.paramsMap.get('Default').context:{};
let tempDstParam1Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam1Data,{unitprice:tempSrcParam1Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
if(this.compute1Cond(params)){
return this.executePREPAREPARAM3(context,params,isloading);
}
if(this.compute2Cond(params)){
return this.executeDELOGIC1(context,params,isloading);
} }
if(this.compute3Cond(params)){ if(result && result.status == 200){
return this.executeDEACTION3(context,params,isloading); Object.assign(actionParam.data,result.data);
return this.paramsMap.get(this.defaultParamName).data;
} }
} }
...@@ -346,14 +407,88 @@ export default class GetUnitAndPriceLogicBase { ...@@ -346,14 +407,88 @@ export default class GetUnitAndPriceLogicBase {
} }
/** /**
* 绑定参数 * 获取商品ID
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeBINDPARAM1(context:any,params:any,isloading:boolean){ private async executePrepareparam1(context:any,params:any,isloading:boolean){
// BINDPARAM暂未支持 // 准备参数节点
console.log("BINDPARAM暂未支持"); let tempDstParam0Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{};
this.paramsMap.set('Order',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute6Cond(params)){
return this.executeDeaction1(context,params,isloading);
}
}
/**
* 重新建立参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRENEWPARAM1(context:any,params:any,isloading:boolean){
// RENEWPARAM暂未支持
console.log("RENEWPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 实体数据集
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEDATASET2(context:any,params:any,isloading:boolean){
// DEDATASET暂未支持
console.log("DEDATASET暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取订单信息异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 结束
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeEND1(context:any,params:any,isloading:boolean){
// END暂未支持
console.log("END暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 排序数组参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSORTPARAM1(context:any,params:any,isloading:boolean){
// SORTPARAM暂未支持
console.log("SORTPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data; return this.paramsMap.get(this.defaultParamName).data;
} }
...@@ -370,52 +505,38 @@ export default class GetUnitAndPriceLogicBase { ...@@ -370,52 +505,38 @@ export default class GetUnitAndPriceLogicBase {
} }
/** /**
* 设置orderid * 绑定参数
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executePREPAREPARAM3(context:any,params:any,isloading:boolean){ private async executeBINDPARAM1(context:any,params:any,isloading:boolean){
// 准备参数节点 // BINDPARAM暂未支持
let tempDstParam0Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{}; console.log("BINDPARAM暂未支持");
let tempDstParam0Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{}; return this.paramsMap.get(this.defaultParamName).data;
let tempSrcParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(tempDstParam0Context,{ibizorder:tempSrcParam0Data['ibizorderid']});
Object.assign(tempDstParam0Data,{ibizorderid:tempSrcParam0Data['ibizorderid']});
this.paramsMap.set('Order',{data:tempDstParam0Data,context:tempDstParam0Context});
let tempDstParam1Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{};
let tempDstParam1Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{};
Object.assign(tempDstParam1Data,{createman:"111"});
this.paramsMap.set('Order',{data:tempDstParam1Data,context:tempDstParam1Context});
let tempDstParam2Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{};
let tempDstParam2Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{};
this.paramsMap.set('Order',{data:tempDstParam2Data,context:tempDstParam2Context});
if(this.compute4Cond(params)){
return this.executeDEACTION2(context,params,isloading);
}
} }
/** /**
* 附加到数组参数 * 实体数据查询
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeAPPENDPARAM1(context:any,params:any,isloading:boolean){ private async executeDEDATAQUERY2(context:any,params:any,isloading:boolean){
// APPENDPARAM暂未支持 // DEDATAQUERY暂未支持
console.log("APPENDPARAM暂未支持"); console.log("DEDATAQUERY暂未支持");
return this.paramsMap.get(this.defaultParamName).data; return this.paramsMap.get(this.defaultParamName).data;
} }
/** /**
* 重置参数 * 拷贝参数
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executeRESETPARAM2(context:any,params:any,isloading:boolean){ private async executeCOPYPARAM1(context:any,params:any,isloading:boolean){
// RESETPARAM暂未支持 // COPYPARAM暂未支持
console.log("RESETPARAM暂未支持"); console.log("COPYPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data; return this.paramsMap.get(this.defaultParamName).data;
} }
...@@ -435,39 +556,27 @@ export default class GetUnitAndPriceLogicBase { ...@@ -435,39 +556,27 @@ export default class GetUnitAndPriceLogicBase {
} }
if(result && result.status == 200){ if(result && result.status == 200){
Object.assign(actionParam.data,result.data); Object.assign(actionParam.data,result.data);
if(this.compute5Cond(params)){ if(this.compute7Cond(params)){
return this.executeTHROWEXCEPTION2(context,params,isloading); return this.executeTHROWEXCEPTION2(context,params,isloading);
} }
if(this.compute6Cond(params)){ if(this.compute8Cond(params)){
return this.executeDEBUGPARAM1(context,params,isloading); return this.executeDEBUGPARAM1(context,params,isloading);
} }
if(this.compute7Cond(params)){ if(this.compute9Cond(params)){
return this.executeDEBUGPARAM2(context,params,isloading); return this.executeDEBUGPARAM2(context,params,isloading);
} }
if(this.compute8Cond(params)){ if(this.compute10Cond(params)){
return this.executeDEBUGPARAM4(context,params,isloading); return this.executeDEBUGPARAM4(context,params,isloading);
} }
if(this.compute9Cond(params)){ if(this.compute11Cond(params)){
return this.executeDEBUGPARAM5(context,params,isloading); return this.executeDEBUGPARAM5(context,params,isloading);
} }
if(this.compute10Cond(params)){ if(this.compute12Cond(params)){
return this.executeDEBUGPARAM3(context,params,isloading); return this.executeDEBUGPARAM3(context,params,isloading);
} }
} }
} }
/**
* 实体数据集
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEDATASET1(context:any,params:any,isloading:boolean){
// DEDATASET暂未支持
console.log("DEDATASET暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/** /**
* 调试逻辑参数 * 调试逻辑参数
* *
...@@ -512,115 +621,30 @@ export default class GetUnitAndPriceLogicBase { ...@@ -512,115 +621,30 @@ export default class GetUnitAndPriceLogicBase {
} }
/** /**
* 获取商品ID * 设置orderid
* *
* @param context 应用上下文 * @param context 应用上下文
* @param params 传入参数 * @param params 传入参数
*/ */
private async executePrepareparam1(context:any,params:any,isloading:boolean){ private async executePREPAREPARAM3(context:any,params:any,isloading:boolean){
// 准备参数节点 // 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{}; let tempDstParam0Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{}; let tempDstParam0Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(tempDstParam0Context,{ibizorder: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.compute11Cond(params)){ let tempDstParam1Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{};
return this.executeDeaction1(context,params,isloading); let tempDstParam1Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{};
} Object.assign(tempDstParam1Data,{createman:"111"});
} this.paramsMap.set('Order',{data:tempDstParam1Data,context:tempDstParam1Context});
let tempDstParam2Context:any = this.paramsMap.get('Order').context?this.paramsMap.get('Order').context:{};
/** let tempDstParam2Data:any = this.paramsMap.get('Order').data?this.paramsMap.get('Order').data:{};
* 获取商品信息 this.paramsMap.set('Order',{data:tempDstParam2Data,context:tempDstParam2Context});
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDeaction1(context:any,params:any,isloading:boolean){
// 行为处理节点
let result: any;
let actionParam:any = this.paramsMap.get('Product');
const targetService:IBIZUNIProductService = new IBIZUNIProductService();
if (targetService['Get'] && targetService['Get'] instanceof Function) {
result = await targetService['Get'](actionParam.context,actionParam.data, false);
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute12Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute13Cond(params)){ if(this.compute13Cond(params)){
return this.executeThrowexception(context,params,isloading); return this.executeDEACTION2(context,params,isloading);
}
} }
} }
/**
* 排序数组参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSORTPARAM1(context:any,params:any,isloading:boolean){
// SORTPARAM暂未支持
console.log("SORTPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取订单信息异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM3(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 重新建立参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRENEWPARAM1(context:any,params:any,isloading:boolean){
// RENEWPARAM暂未支持
console.log("RENEWPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 拷贝参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeCOPYPARAM1(context:any,params:any,isloading:boolean){
// COPYPARAM暂未支持
console.log("COPYPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
} }
\ No newline at end of file
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style=""> <i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/> <input style="display:none;"/>
<row> <row>
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
...@@ -519,7 +519,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -519,7 +519,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase * @memberof QUICKSEARCHFORMBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform; const form: any = this.$refs.searchform;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
...@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -851,7 +851,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -851,7 +851,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
if(this.sortField !== field){ if(this.sortField !== field){
this.sortField = field; this.sortField = field;
this.sortDir = 'asc'; this.sortDir = 'asc';
}else if(this.sortDir === 'asc'){ }else if(this.sortDir ==='asc'){
this.sortDir = 'desc'; this.sortDir = 'desc';
}else if(this.sortDir === 'desc'){ }else if(this.sortDir === 'desc'){
this.sortDir = ''; this.sortDir = '';
...@@ -1308,7 +1308,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1308,7 +1308,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
public handleClick(args: any) { public handleClick(args: any) {
args.isselected = !args.isselected; args.isselected = !args.isselected;
if(this.isSingleSelect) { if(this.isSingleSelect) {
this.items.forEach((item:any) =>{ j this.items.forEach((item:any) =>{
if(item.srfkey !== args.srfkey){ if(item.srfkey !== args.srfkey){
item.isselected =false; item.isselected =false;
} }
......
...@@ -1011,7 +1011,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1011,7 +1011,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1140,7 +1140,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1140,7 +1140,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1254,7 +1254,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1254,7 +1254,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2151,7 +2151,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2151,7 +2151,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2160,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2160,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2236,7 +2236,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2236,7 +2236,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -3799,6 +3799,31 @@ ...@@ -3799,6 +3799,31 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Begin",
"topPos" : 110, "topPos" : 110,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK/PSDEACTIONS/Get.json"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 230,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSQLANDLOOPCALL1",
"sql" : "select 1 as AMOUNT from dual",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 524
}, { }, {
"codeName" : "Rawsqlcall1", "codeName" : "Rawsqlcall1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
...@@ -3828,6 +3853,10 @@ ...@@ -3828,6 +3853,10 @@
}, },
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Rawsqlcall1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Rawsqlcall1",
"sql" : "select (?*?) as AMOUNT from dual", "sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312, "topPos" : 312,
...@@ -3890,77 +3919,41 @@ ...@@ -3890,77 +3919,41 @@
"topPos" : 216, "topPos" : 216,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "DEBUGPARAM2", "codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"leftPos" : 1310, "leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM", "logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于200处理", "name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -50 "topPos" : -420
}, { }, {
"codeName" : "DEACTION3", "codeName" : "DEDATASET1",
"getDstPSDEAction" : { "getDstPSDEDataSet" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"name" : "实体行为",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"topPos" : 318
}, {
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "filter"
}, },
"getDstPSDataEntity" : { "getDstPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
}, },
"leftPos" : 1001, "leftPos" : 1446,
"logicNodeType" : "DELOGIC", "logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"name" : "统计金额", "name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"topPos" : 189 "getRetPSDELogicParam" : {
}, {
"codeName" : "RESETPARAM1",
"leftPos" : 65,
"logicNodeType" : "RESETPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"name" : "重置参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "page"
}, },
"leftPos" : 1310, "topPos" : 284
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -420
}, { }, {
"codeName" : "Prepareparam2", "codeName" : "Prepareparam2",
"leftPos" : 775, "leftPos" : 775,
...@@ -4051,6 +4044,144 @@ ...@@ -4051,6 +4044,144 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "APPENDPARAM1",
"dstIndex" : 0,
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"srcIndex" : 1,
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcSize" : 1,
"topPos" : -10
}, {
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DELOGIC",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"name" : "统计金额",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"topPos" : 189
}, {
"codeName" : "RESETPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 65,
"logicNodeType" : "RESETPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"name" : "重置参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "DEBUGPARAM2",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -50
}, {
"codeName" : "DEACTION3",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"name" : "实体行为",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"topPos" : 318
}, { }, {
"codeName" : "DEDATAQUERY1", "codeName" : "DEDATAQUERY1",
"getDstPSDEDataQuery" : { "getDstPSDEDataQuery" : {
...@@ -4076,98 +4207,181 @@ ...@@ -4076,98 +4207,181 @@
}, },
"topPos" : 80 "topPos" : 80
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "Prepareparam1",
"getDstPSDELogicParam" : { "leftPos" : 313,
"modelref" : true,
"id" : "Product"
},
"leftPos" : 41,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"topPos" : 80
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"topPos" : -188
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "设置orderid", "name" : "获取商品ID",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Deaction1"
}, },
"name" : "连接名称", "name" : "连接",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "Prepareparam1"
} }
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID", "dstFieldName" : "IBIZUNIPRODUCTTYPE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Order"
}, },
"name" : "无值(NONE) ==> Order[CREATEDATE]", "dstSortDir" : "ASC",
"paramAction" : "SETPARAMVALUE", "name" : "空值(NULL) ==> Order[IBIZUNIPRODUCTTYPE]",
"srcValueType" : "NONEVALUE" "paramAction" : "SORTPARAM",
"srcFieldName" : "IBIZUNIPRODUCTID",
"srcValue" : "zzz",
"srcValueType" : "NULLVALUE"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : -38 "topPos" : 224,
"parallelOutput" : true
}, { }, {
"codeName" : "APPENDPARAM1", "codeName" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 187,
"logicNodeType" : "RENEWPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"name" : "重新建立参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"topPos" : 50
}, {
"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" : "DEDATASET2",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 691,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET2",
"name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET2",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "page"
},
"topPos" : 560
}, {
"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" : "END1",
"leftPos" : 439, "leftPos" : 439,
"logicNodeType" : "APPENDPARAM", "logicNodeType" : "END",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/END1",
"name" : "附加到数组参数", "name" : "结束",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/END1",
"topPos" : -10 "returnType" : "NONEVALUE",
"topPos" : 579
}, {
"codeName" : "SORTPARAM1",
"dstFieldName" : "PRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"dstSortDir" : "ASC",
"leftPos" : 384,
"logicNodeType" : "SORTPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"name" : "排序数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"topPos" : 80
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"topPos" : -188
}, {
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : -40,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"topPos" : 100
}, {
"codeName" : "DEDATAQUERY2",
"getDstPSDEDataQuery" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 865,
"logicNodeType" : "DEDATAQUERY",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY2",
"name" : "实体数据查询",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY2",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"topPos" : 422
}, { }, {
"codeName" : "RESETPARAM2", "codeName" : "COPYPARAM1",
"leftPos" : 145, "getDstPSDELogicParam" : {
"logicNodeType" : "RESETPARAM", "modelref" : true,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM2", "id" : "Product"
"name" : "重置参数", },
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM2", "leftPos" : 268,
"topPos" : 378 "logicNodeType" : "COPYPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"name" : "拷贝参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"topPos" : -70
}, { }, {
"codeName" : "DEACTION2", "codeName" : "DEACTION2",
"getDstPSDEAction" : { "getDstPSDEAction" : {
...@@ -4321,30 +4535,6 @@ ...@@ -4321,30 +4535,6 @@
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37 "topPos" : -37
}, {
"codeName" : "DEDATASET1",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 1446,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "page"
},
"topPos" : 284
}, { }, {
"codeName" : "DEBUGPARAM4", "codeName" : "DEBUGPARAM4",
"leftPos" : 1280, "leftPos" : 1280,
...@@ -4414,161 +4604,78 @@ ...@@ -4414,161 +4604,78 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM4", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM4",
"topPos" : 438 "topPos" : 438
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "PREPAREPARAM3",
"leftPos" : 313, "leftPos" : 775,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "获取商品ID", "name" : "设置orderid",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "DEACTION2"
}, },
"name" : "连接", "name" : "连接名称",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam1" "id" : "PREPAREPARAM3"
} }
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTTYPE", "dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Order"
}, },
"dstSortDir" : "ASC", "name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"name" : "空值(NULL) ==> Order[IBIZUNIPRODUCTTYPE]", "paramAction" : "SETPARAMVALUE",
"paramAction" : "SORTPARAM", "srcFieldName" : "IBIZORDERID",
"srcFieldName" : "IBIZUNIPRODUCTID", "getSrcPSDELogicParam" : {
"srcValue" : "zzz",
"srcValueType" : "NULLVALUE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam2" "id" : "Default"
}, },
"name" : "连接", "srcValueType" : "SRCDLPARAM"
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, { }, {
"getDstPSDELogicNode" : { "dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Throwexception" "id" : "Order"
}, },
"name" : "异常", "name" : "直接值[111] ==> Order[CREATEMAN]",
"getSrcPSDELogicNode" : { "paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "Order"
}, },
"catchLink" : true "name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : 224, "topPos" : -38
"parallelOutput" : true
}, {
"codeName" : "SORTPARAM1",
"leftPos" : 384,
"logicNodeType" : "SORTPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"name" : "排序数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"topPos" : 80
}, {
"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" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 177,
"logicNodeType" : "RENEWPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"name" : "重新建立参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"topPos" : 129
}, {
"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" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 258,
"logicNodeType" : "COPYPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"name" : "拷贝参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"topPos" : 10
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Order", "codeName" : "Default",
"logicName" : "订单", "logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "订单", "name" : "传入变量",
"getParamPSDataEntity" : { "getParamPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
}, },
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "page",
"logicName" : "page",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page",
"name" : "page",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page",
"entityPageParam" : true
}, { }, {
"codeName" : "list", "codeName" : "list",
"logicName" : "list", "logicName" : "list",
...@@ -4576,6 +4683,13 @@ ...@@ -4576,6 +4683,13 @@
"name" : "list", "name" : "list",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/list", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/list",
"entityListParam" : true "entityListParam" : true
}, {
"codeName" : "session",
"logicName" : "session",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"name" : "session",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"sessionParam" : true
}, { }, {
"codeName" : "Product", "codeName" : "Product",
"logicName" : "商品", "logicName" : "商品",
...@@ -4595,30 +4709,15 @@ ...@@ -4595,30 +4709,15 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/filter", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/filter",
"filterParam" : true "filterParam" : true
}, { }, {
"codeName" : "page", "codeName" : "Order",
"logicName" : "page", "logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "page", "name" : "订单",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page",
"entityPageParam" : true
}, {
"codeName" : "session",
"logicName" : "session",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"name" : "session",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"sessionParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "传入变量",
"getParamPSDataEntity" : { "getParamPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
}, },
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"default" : true,
"entityParam" : true "entityParam" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice",
......
...@@ -25,6 +25,31 @@ ...@@ -25,6 +25,31 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Begin", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Begin",
"topPos" : 110, "topPos" : 110,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK/PSDEACTIONS/Get.json"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 230,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSQLANDLOOPCALL1",
"sql" : "select 1 as AMOUNT from dual",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 524
}, { }, {
"codeName" : "Rawsqlcall1", "codeName" : "Rawsqlcall1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
...@@ -54,6 +79,10 @@ ...@@ -54,6 +79,10 @@
}, },
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Rawsqlcall1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/Rawsqlcall1",
"sql" : "select (?*?) as AMOUNT from dual", "sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312, "topPos" : 312,
......
...@@ -6,11 +6,15 @@ ...@@ -6,11 +6,15 @@
<tns:import name="org.springframework.util.StringUtils"/> <tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/> <tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="" name="ibizorderdetailcountmoneydefault" type="entity"/> <tns:metaData express="" name="ibizorderdetailcountmoneydefault" type="entity"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZBOOKService))" name="ibizbookservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/> <tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/> <tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="ibizorderdetailcountmoneydefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" /> <tns:global identifier="ibizorderdetailcountmoneydefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlandloopcall1" id="rawsqlandloopcall1" implementation="http://www.jboss.org/drools/rule" name="直接SQL并循环调用"/>
<endEvent id="rawsqlandloopcall1_end" name="end"/>
<sequenceFlow id="rawsqlandloopcall1_end_line" sourceRef="rawsqlandloopcall1" targetRef="rawsqlandloopcall1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/>
<endEvent id="rawsqlcall1_end" name="end"/> <endEvent id="rawsqlcall1_end" name="end"/>
<sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_end"/> <sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_end"/>
......
...@@ -6,6 +6,7 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney; ...@@ -6,6 +6,7 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException; import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailcountmoneydefault; global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailcountmoneydefault;
global cn.ibizlab.core.sample.service.IIBIZBOOKService ibizbookservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService; global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
global cn.ibizlab.util.security.AuthenticationUser curuser; global cn.ibizlab.util.security.AuthenticationUser curuser;
...@@ -19,6 +20,26 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney; ...@@ -19,6 +20,26 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
then then
end end
//逻辑处理节点[直接sql并循环调用]
rule "rawsqlandloopcall1"
ruleflow-group "ibizorderdetailcountmoneyrawsqlandloopcall1"
when
then
Map param = null;
String strSql="select 1 as AMOUNT from dual";
java.util.List<JSONObject> entities=iBzSysIbizorderdetailDefaultService.select(strSql,param);//SQL调用
if(entities.size()>0){
for(JSONObject entity:entities){
cn.ibizlab.core.sample.domain.IBIZBOOK targetEntity =new cn.ibizlab.core.sample.domain.IBIZBOOK();
for (Map.Entry<String,Object> entry : entity.entrySet()) {
targetEntity.set(entry.getKey(),entry.getValue());
}
ibizbookservice.get(targetEntity);
}
}
update(ibizorderdetailcountmoneydefault);//更新fact中变量值
end
//逻辑处理节点[统计金额] //逻辑处理节点[统计金额]
rule "rawsqlcall1" rule "rawsqlcall1"
ruleflow-group "ibizorderdetailcountmoneyrawsqlcall1" ruleflow-group "ibizorderdetailcountmoneyrawsqlcall1"
......
...@@ -26,77 +26,41 @@ ...@@ -26,77 +26,41 @@
"topPos" : 216, "topPos" : 216,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "DEBUGPARAM2", "codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"leftPos" : 1310, "leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM", "logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于200处理", "name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -50 "topPos" : -420
}, { }, {
"codeName" : "DEACTION3", "codeName" : "DEDATASET1",
"getDstPSDEAction" : { "getDstPSDEDataSet" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"name" : "实体行为",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"topPos" : 318
}, {
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "filter"
}, },
"getDstPSDataEntity" : { "getDstPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
}, },
"leftPos" : 1001, "leftPos" : 1446,
"logicNodeType" : "DELOGIC", "logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"name" : "统计金额", "name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"topPos" : 189 "getRetPSDELogicParam" : {
}, {
"codeName" : "RESETPARAM1",
"leftPos" : 65,
"logicNodeType" : "RESETPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"name" : "重置参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "page"
}, },
"leftPos" : 1310, "topPos" : 284
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -420
}, { }, {
"codeName" : "Prepareparam2", "codeName" : "Prepareparam2",
"leftPos" : 775, "leftPos" : 775,
...@@ -187,6 +151,144 @@ ...@@ -187,6 +151,144 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "APPENDPARAM1",
"dstIndex" : 0,
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"srcIndex" : 1,
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcSize" : 1,
"topPos" : -10
}, {
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DELOGIC",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"name" : "统计金额",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1",
"topPos" : 189
}, {
"codeName" : "RESETPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 65,
"logicNodeType" : "RESETPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"name" : "重置参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "DEBUGPARAM2",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -50
}, {
"codeName" : "DEACTION3",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"name" : "实体行为",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION3",
"topPos" : 318
}, { }, {
"codeName" : "DEDATAQUERY1", "codeName" : "DEDATAQUERY1",
"getDstPSDEDataQuery" : { "getDstPSDEDataQuery" : {
...@@ -212,98 +314,181 @@ ...@@ -212,98 +314,181 @@
}, },
"topPos" : 80 "topPos" : 80
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "Prepareparam1",
"getDstPSDELogicParam" : { "leftPos" : 313,
"modelref" : true,
"id" : "Product"
},
"leftPos" : 41,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"topPos" : 80
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"topPos" : -188
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "设置orderid", "name" : "获取商品ID",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Deaction1"
}, },
"name" : "连接名称", "name" : "连接",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "Prepareparam1"
} }
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID", "dstFieldName" : "IBIZUNIPRODUCTTYPE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Order"
}, },
"name" : "无值(NONE) ==> Order[CREATEDATE]", "dstSortDir" : "ASC",
"paramAction" : "SETPARAMVALUE", "name" : "空值(NULL) ==> Order[IBIZUNIPRODUCTTYPE]",
"srcValueType" : "NONEVALUE" "paramAction" : "SORTPARAM",
"srcFieldName" : "IBIZUNIPRODUCTID",
"srcValue" : "zzz",
"srcValueType" : "NULLVALUE"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : -38 "topPos" : 224,
"parallelOutput" : true
}, { }, {
"codeName" : "APPENDPARAM1", "codeName" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 187,
"logicNodeType" : "RENEWPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"name" : "重新建立参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"topPos" : 50
}, {
"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" : "DEDATASET2",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 691,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET2",
"name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET2",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "page"
},
"topPos" : 560
}, {
"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" : "END1",
"leftPos" : 439, "leftPos" : 439,
"logicNodeType" : "APPENDPARAM", "logicNodeType" : "END",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/END1",
"name" : "附加到数组参数", "name" : "结束",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/END1",
"topPos" : -10 "returnType" : "NONEVALUE",
"topPos" : 579
}, {
"codeName" : "SORTPARAM1",
"dstFieldName" : "PRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"dstSortDir" : "ASC",
"leftPos" : 384,
"logicNodeType" : "SORTPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"name" : "排序数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"topPos" : 80
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"topPos" : -188
}, {
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : -40,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"topPos" : 100
}, {
"codeName" : "DEDATAQUERY2",
"getDstPSDEDataQuery" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 865,
"logicNodeType" : "DEDATAQUERY",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY2",
"name" : "实体数据查询",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY2",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"topPos" : 422
}, { }, {
"codeName" : "RESETPARAM2", "codeName" : "COPYPARAM1",
"leftPos" : 145, "getDstPSDELogicParam" : {
"logicNodeType" : "RESETPARAM", "modelref" : true,
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM2", "id" : "Product"
"name" : "重置参数", },
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM2", "leftPos" : 268,
"topPos" : 378 "logicNodeType" : "COPYPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"name" : "拷贝参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"topPos" : -70
}, { }, {
"codeName" : "DEACTION2", "codeName" : "DEACTION2",
"getDstPSDEAction" : { "getDstPSDEAction" : {
...@@ -457,30 +642,6 @@ ...@@ -457,30 +642,6 @@
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37 "topPos" : -37
}, {
"codeName" : "DEDATASET1",
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 1446,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "page"
},
"topPos" : 284
}, { }, {
"codeName" : "DEBUGPARAM4", "codeName" : "DEBUGPARAM4",
"leftPos" : 1280, "leftPos" : 1280,
...@@ -550,161 +711,78 @@ ...@@ -550,161 +711,78 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM4", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM4",
"topPos" : 438 "topPos" : 438
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "PREPAREPARAM3",
"leftPos" : 313, "leftPos" : 775,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "获取商品ID", "name" : "设置orderid",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "DEACTION2"
}, },
"name" : "连接", "name" : "连接名称",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam1" "id" : "PREPAREPARAM3"
} }
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTTYPE", "dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Order"
}, },
"dstSortDir" : "ASC", "name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"name" : "空值(NULL) ==> Order[IBIZUNIPRODUCTTYPE]", "paramAction" : "SETPARAMVALUE",
"paramAction" : "SORTPARAM", "srcFieldName" : "IBIZORDERID",
"srcFieldName" : "IBIZUNIPRODUCTID", "getSrcPSDELogicParam" : {
"srcValue" : "zzz",
"srcValueType" : "NULLVALUE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam2" "id" : "Default"
}, },
"name" : "连接", "srcValueType" : "SRCDLPARAM"
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, { }, {
"getDstPSDELogicNode" : { "dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Throwexception" "id" : "Order"
}, },
"name" : "异常", "name" : "直接值[111] ==> Order[CREATEMAN]",
"getSrcPSDELogicNode" : { "paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "Order"
}, },
"catchLink" : true "name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : 224, "topPos" : -38
"parallelOutput" : true
}, {
"codeName" : "SORTPARAM1",
"leftPos" : 384,
"logicNodeType" : "SORTPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"name" : "排序数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SORTPARAM1",
"topPos" : 80
}, {
"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" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 177,
"logicNodeType" : "RENEWPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"name" : "重新建立参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"topPos" : 129
}, {
"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" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 258,
"logicNodeType" : "COPYPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"name" : "拷贝参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/COPYPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"topPos" : 10
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Order", "codeName" : "Default",
"logicName" : "订单", "logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "订单", "name" : "传入变量",
"getParamPSDataEntity" : { "getParamPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
}, },
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "page",
"logicName" : "page",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page",
"name" : "page",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page",
"entityPageParam" : true
}, { }, {
"codeName" : "list", "codeName" : "list",
"logicName" : "list", "logicName" : "list",
...@@ -712,6 +790,13 @@ ...@@ -712,6 +790,13 @@
"name" : "list", "name" : "list",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/list", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/list",
"entityListParam" : true "entityListParam" : true
}, {
"codeName" : "session",
"logicName" : "session",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"name" : "session",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"sessionParam" : true
}, { }, {
"codeName" : "Product", "codeName" : "Product",
"logicName" : "商品", "logicName" : "商品",
...@@ -731,30 +816,15 @@ ...@@ -731,30 +816,15 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/filter", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/filter",
"filterParam" : true "filterParam" : true
}, { }, {
"codeName" : "page", "codeName" : "Order",
"logicName" : "page", "logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page", "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "page", "name" : "订单",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/page",
"entityPageParam" : true
}, {
"codeName" : "session",
"logicName" : "session",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"name" : "session",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/session",
"sessionParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "传入变量",
"getParamPSDataEntity" : { "getParamPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
}, },
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"default" : true,
"entityParam" : true "entityParam" : true
} ], } ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice", "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice",
......
...@@ -5,98 +5,104 @@ ...@@ -5,98 +5,104 @@
<tns:import name="java.util.Map" /> <tns:import name="java.util.Map" />
<tns:import name="org.springframework.util.StringUtils"/> <tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/> <tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZOrder()" name="ibizorderdetailgetunitandpriceorder" type="refentity"/> <tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricepage" type="refentity"/>
<tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricelist" type="refentity"/> <tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricelist" type="refentity"/>
<tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricesession" type="refentity"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/> <tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/>
<tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricefilter" type="refentity"/> <tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricefilter" type="refentity"/>
<tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricepage" type="refentity"/> <tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZOrder()" name="ibizorderdetailgetunitandpriceorder" type="refentity"/>
<tns:metaData express="new HashMap()" name="ibizorderdetailgetunitandpricesession" type="refentity"/>
<tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="ibizorderdetailservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZBOOKService))" name="ibizbookservice" type="service"/> <tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZBOOKService))" name="ibizbookservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderService))" name="ibizorderservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZUNIProductService))" name="ibizuniproductservice" type="service"/> <tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZUNIProductService))" name="ibizuniproductservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="ibizorderdetailservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderService))" name="ibizorderservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/> <tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/> <tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="ibizorderdetailgetunitandpriceorder" type="cn.ibizlab.core.sample.domain.IBIZOrder" />
<tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" />
<tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" /> <tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
<tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" />
<tns:global identifier="ibizorderdetailgetunitandpriceorder" type="cn.ibizlab.core.sample.domain.IBIZOrder" />
</extensionElements> </extensionElements>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="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="ibizorderdetailgetunitandpricedeaction3" id="deaction3" implementation="http://www.jboss.org/drools/rule" name="实体行为"/>
<endEvent id="deaction3_end" name="end"/>
<sequenceFlow id="deaction3_end_line" sourceRef="deaction3" targetRef="deaction3_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedelogic1" id="delogic1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/>
<endEvent id="delogic1_end" name="end"/>
<sequenceFlow id="delogic1_end_line" sourceRef="delogic1" targetRef="delogic1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceresetparam1" id="resetparam1" implementation="http://www.jboss.org/drools/rule" name="重置参数"/>
<endEvent id="resetparam1_end" name="end"/>
<sequenceFlow id="resetparam1_end_line" sourceRef="resetparam1" targetRef="resetparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="大于100处理"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="大于100处理"/>
<endEvent id="debugparam1_end" name="end"/> <endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/> <sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataquery1" id="dedataquery1" implementation="http://www.jboss.org/drools/rule" name="实体数据查询"/>
<endEvent id="dedataquery1_end" name="end"/>
<sequenceFlow id="dedataquery1_end_line" sourceRef="dedataquery1" targetRef="dedataquery1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricebindparam1" id="bindparam1" implementation="http://www.jboss.org/drools/rule" name="绑定参数"/>
<endEvent id="bindparam1_end" name="end"/>
<sequenceFlow id="bindparam1_end_line" sourceRef="bindparam1" targetRef="bindparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam5" id="debugparam5" implementation="http://www.jboss.org/drools/rule" name="调试逻辑参数"/>
<endEvent id="debugparam5_end" name="end"/>
<sequenceFlow id="debugparam5_end_line" sourceRef="debugparam5" targetRef="debugparam5_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="ibizorderdetailgetunitandpriceappendparam1" id="appendparam1" implementation="http://www.jboss.org/drools/rule" name="附加到数组参数"/>
<endEvent id="appendparam1_end" name="end"/>
<sequenceFlow id="appendparam1_end_line" sourceRef="appendparam1" targetRef="appendparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceresetparam2" id="resetparam2" implementation="http://www.jboss.org/drools/rule" name="重置参数"/>
<endEvent id="resetparam2_end" name="end"/>
<sequenceFlow id="resetparam2_end_line" sourceRef="resetparam2" targetRef="resetparam2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataset1" id="dedataset1" implementation="http://www.jboss.org/drools/rule" name="实体数据集"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataset1" id="dedataset1" implementation="http://www.jboss.org/drools/rule" name="实体数据集"/>
<endEvent id="dedataset1_end" name="end"/> <endEvent id="dedataset1_end" name="end"/>
<sequenceFlow id="dedataset1_end_line" sourceRef="dedataset1" targetRef="dedataset1_end"/> <sequenceFlow id="dedataset1_end_line" sourceRef="dedataset1" targetRef="dedataset1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam4" id="debugparam4" 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="填充单位和单价"/>
<endEvent id="debugparam4_end" name="end"/>
<sequenceFlow id="debugparam4_end_line" sourceRef="debugparam4" targetRef="debugparam4_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam4" id="prepareparam4" implementation="http://www.jboss.org/drools/rule" name="Setting"/>
<endEvent id="prepareparam4_end" name="end"/>
<sequenceFlow id="prepareparam4_end_line" sourceRef="prepareparam4" targetRef="prepareparam4_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<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="ibizorderdetailgetunitandpricesortparam1" id="sortparam1" implementation="http://www.jboss.org/drools/rule" name="排序数组参数"/>
<endEvent id="sortparam1_end" name="end"/>
<sequenceFlow id="sortparam1_end_line" sourceRef="sortparam1" targetRef="sortparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception2" id="throwexception2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息异常"/>
<endEvent id="throwexception2_end" name="end"/>
<sequenceFlow id="throwexception2_end_line" sourceRef="throwexception2" targetRef="throwexception2_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="ibizorderdetailgetunitandpriceappendparam1" id="appendparam1" implementation="http://www.jboss.org/drools/rule" name="附加到数组参数"/>
<endEvent id="appendparam1_end" name="end"/>
<sequenceFlow id="appendparam1_end_line" sourceRef="appendparam1" targetRef="appendparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedelogic1" id="delogic1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/>
<endEvent id="delogic1_end" name="end"/>
<sequenceFlow id="delogic1_end_line" sourceRef="delogic1" targetRef="delogic1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceresetparam1" id="resetparam1" implementation="http://www.jboss.org/drools/rule" name="重置参数"/>
<endEvent id="resetparam1_end" name="end"/>
<sequenceFlow id="resetparam1_end_line" sourceRef="resetparam1" targetRef="resetparam1_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"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction3" id="deaction3" implementation="http://www.jboss.org/drools/rule" name="实体行为"/>
<endEvent id="deaction3_end" name="end"/>
<sequenceFlow id="deaction3_end_line" sourceRef="deaction3" targetRef="deaction3_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataquery1" id="dedataquery1" implementation="http://www.jboss.org/drools/rule" name="实体数据查询"/>
<endEvent id="dedataquery1_end" name="end"/>
<sequenceFlow id="dedataquery1_end_line" sourceRef="dedataquery1" targetRef="dedataquery1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricerenewparam1" id="renewparam1" implementation="http://www.jboss.org/drools/rule" name="重新建立参数"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricerenewparam1" id="renewparam1" implementation="http://www.jboss.org/drools/rule" name="重新建立参数"/>
<endEvent id="renewparam1_end" name="end"/> <endEvent id="renewparam1_end" name="end"/>
<sequenceFlow id="renewparam1_end_line" sourceRef="renewparam1" targetRef="renewparam1_end"/> <sequenceFlow id="renewparam1_end_line" sourceRef="renewparam1" targetRef="renewparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/>
<endEvent id="throwexception_end" name="end"/> <endEvent id="throwexception_end" name="end"/>
<sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/> <sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataset2" id="dedataset2" implementation="http://www.jboss.org/drools/rule" name="实体数据集"/>
<endEvent id="dedataset2_end" name="end"/>
<sequenceFlow id="dedataset2_end_line" sourceRef="dedataset2" targetRef="dedataset2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception2" id="throwexception2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息异常"/>
<endEvent id="throwexception2_end" name="end"/>
<sequenceFlow id="throwexception2_end_line" sourceRef="throwexception2" targetRef="throwexception2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceend1" id="end1" implementation="http://www.jboss.org/drools/rule" name="结束"/>
<endEvent id="end1_end" name="end"/>
<sequenceFlow id="end1_end_line" sourceRef="end1" targetRef="end1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricesortparam1" id="sortparam1" implementation="http://www.jboss.org/drools/rule" name="排序数组参数"/>
<endEvent id="sortparam1_end" name="end"/>
<sequenceFlow id="sortparam1_end_line" sourceRef="sortparam1" targetRef="sortparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam5" id="debugparam5" implementation="http://www.jboss.org/drools/rule" name="调试逻辑参数"/>
<endEvent id="debugparam5_end" name="end"/>
<sequenceFlow id="debugparam5_end_line" sourceRef="debugparam5" targetRef="debugparam5_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricebindparam1" id="bindparam1" implementation="http://www.jboss.org/drools/rule" name="绑定参数"/>
<endEvent id="bindparam1_end" name="end"/>
<sequenceFlow id="bindparam1_end_line" sourceRef="bindparam1" targetRef="bindparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricededataquery2" id="dedataquery2" implementation="http://www.jboss.org/drools/rule" name="实体数据查询"/>
<endEvent id="dedataquery2_end" name="end"/>
<sequenceFlow id="dedataquery2_end_line" sourceRef="dedataquery2" targetRef="dedataquery2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricecopyparam1" id="copyparam1" implementation="http://www.jboss.org/drools/rule" name="拷贝参数"/> <businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricecopyparam1" id="copyparam1" implementation="http://www.jboss.org/drools/rule" name="拷贝参数"/>
<endEvent id="copyparam1_end" name="end"/> <endEvent id="copyparam1_end" name="end"/>
<sequenceFlow id="copyparam1_end_line" sourceRef="copyparam1" targetRef="copyparam1_end"/> <sequenceFlow id="copyparam1_end_line" sourceRef="copyparam1" targetRef="copyparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam4" id="debugparam4" implementation="http://www.jboss.org/drools/rule" name="调试逻辑参数"/>
<endEvent id="debugparam4_end" name="end"/>
<sequenceFlow id="debugparam4_end_line" sourceRef="debugparam4" targetRef="debugparam4_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam4" id="prepareparam4" implementation="http://www.jboss.org/drools/rule" name="Setting"/>
<endEvent id="prepareparam4_end" name="end"/>
<sequenceFlow id="prepareparam4_end_line" sourceRef="prepareparam4" targetRef="prepareparam4_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam3" id="prepareparam3" implementation="http://www.jboss.org/drools/rule" name="设置orderid"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1"> <sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-prepareparam2_prepareparam3" sourceRef="gateway-prepareparam2" targetRef="prepareparam3"> <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[
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpricepage:Map();
$ibizorderdetailgetunitandpricelist:Map(); $ibizorderdetailgetunitandpricelist:Map();
$ibizorderdetailgetunitandpricesession:Map();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricefilter:Map(); $ibizorderdetailgetunitandpricefilter:Map();
$ibizorderdetailgetunitandpricepage:Map(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricesession:Map(); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","Amount"))) eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","Amount")))
]]> ]]>
</conditionExpression> </conditionExpression>
...@@ -105,73 +111,73 @@ ...@@ -105,73 +111,73 @@
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="prepareparam2_deaction3" sourceRef="prepareparam2" targetRef="deaction3"> <sequenceFlow id="prepareparam2_deaction3" sourceRef="prepareparam2" targetRef="deaction3">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2"> <sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction2_throwexception2" sourceRef="deaction2" targetRef="throwexception2"> <sequenceFlow id="deaction2_throwexception2" sourceRef="deaction2" targetRef="throwexception2">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam1" sourceRef="gateway-deaction2" targetRef="debugparam1"> <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[
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpricepage:Map();
$ibizorderdetailgetunitandpricelist:Map(); $ibizorderdetailgetunitandpricelist:Map();
$ibizorderdetailgetunitandpricesession:Map();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricefilter:Map(); $ibizorderdetailgetunitandpricefilter:Map();
$ibizorderdetailgetunitandpricepage:Map(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricesession:Map(); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","100"))) eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","100")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam2" sourceRef="gateway-deaction2" targetRef="debugparam2"> <sequenceFlow id="gateway-deaction2_debugparam2" sourceRef="gateway-deaction2" targetRef="debugparam2">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[ <conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpricepage:Map();
$ibizorderdetailgetunitandpricelist:Map(); $ibizorderdetailgetunitandpricelist:Map();
$ibizorderdetailgetunitandpricesession:Map();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricefilter:Map(); $ibizorderdetailgetunitandpricefilter:Map();
$ibizorderdetailgetunitandpricepage:Map(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricesession:Map(); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","PRICE"))) eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","PRICE")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam4" sourceRef="gateway-deaction2" targetRef="debugparam4"> <sequenceFlow id="gateway-deaction2_debugparam4" sourceRef="gateway-deaction2" targetRef="debugparam4">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[ <conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpricepage:Map();
$ibizorderdetailgetunitandpricelist:Map(); $ibizorderdetailgetunitandpricelist:Map();
$ibizorderdetailgetunitandpricesession:Map();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricefilter:Map(); $ibizorderdetailgetunitandpricefilter:Map();
$ibizorderdetailgetunitandpricepage:Map(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricesession:Map(); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("createdate"),"GTANDEQ","CREATEDATE"))) eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("createdate"),"GTANDEQ","CREATEDATE")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam5" sourceRef="gateway-deaction2" targetRef="debugparam5"> <sequenceFlow id="gateway-deaction2_debugparam5" sourceRef="gateway-deaction2" targetRef="debugparam5">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[ <conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpriceorder:IBIZOrder(); $ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpricepage:Map();
$ibizorderdetailgetunitandpricelist:Map(); $ibizorderdetailgetunitandpricelist:Map();
$ibizorderdetailgetunitandpricesession:Map();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct(); $ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricefilter:Map(); $ibizorderdetailgetunitandpricefilter:Map();
$ibizorderdetailgetunitandpricepage:Map(); $ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricesession:Map(); eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("ordertime"),"LTANDEQ",""))) eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("ordertime"),"LTANDEQ","")))
]]> ]]>
</conditionExpression> </conditionExpression>
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="deaction2_debugparam3" sourceRef="deaction2" targetRef="debugparam3"> <sequenceFlow id="deaction2_debugparam3" sourceRef="deaction2" targetRef="debugparam3">
</sequenceFlow> </sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1"> <sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2">
</sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
</sequenceFlow> </sequenceFlow>
<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>
......
...@@ -5,17 +5,17 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -5,17 +5,17 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException; import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZOrder ibizorderdetailgetunitandpriceorder; global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global java.util.Map ibizorderdetailgetunitandpricepage;
global java.util.Map ibizorderdetailgetunitandpricelist; global java.util.Map ibizorderdetailgetunitandpricelist;
global java.util.Map ibizorderdetailgetunitandpricesession;
global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct; global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct;
global java.util.Map ibizorderdetailgetunitandpricefilter; global java.util.Map ibizorderdetailgetunitandpricefilter;
global java.util.Map ibizorderdetailgetunitandpricepage; global cn.ibizlab.core.sample.domain.IBIZOrder ibizorderdetailgetunitandpriceorder;
global java.util.Map ibizorderdetailgetunitandpricesession;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService ibizorderdetailservice;
global cn.ibizlab.core.sample.service.IIBIZBOOKService ibizbookservice; global cn.ibizlab.core.sample.service.IIBIZBOOKService ibizbookservice;
global cn.ibizlab.core.sample.service.IIBIZOrderService ibizorderservice;
global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice; global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService ibizorderdetailservice;
global cn.ibizlab.core.sample.service.IIBIZOrderService ibizorderservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService; global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
global cn.ibizlab.util.security.AuthenticationUser curuser; global cn.ibizlab.util.security.AuthenticationUser curuser;
...@@ -29,350 +29,378 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice; ...@@ -29,350 +29,378 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then then
end end
//逻辑处理节点[大于200处理] //逻辑处理节点[大于100处理]
rule "debugparam2" rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam2" ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[实体行为] //逻辑处理节点[实体数据集]
rule "deaction3" rule "dedataset1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction3" ruleflow-group "ibizorderdetailgetunitandpricededataset1"
when when
then then
ibizorderdetailservice.countMoney(ibizorderdetailgetunitandpricedefault); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[统计金额] //逻辑处理节点[填充单位和单价]
rule "delogic1" rule "prepareparam2"
ruleflow-group "ibizorderdetailgetunitandpricedelogic1" ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[重置参数] //逻辑处理节点[获取商品信息]
rule "resetparam1" rule "deaction1"
ruleflow-group "ibizorderdetailgetunitandpriceresetparam1" ruleflow-group "ibizorderdetailgetunitandpricedeaction1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[大于100处理] //逻辑处理节点[调试逻辑参数]
rule "debugparam1" rule "debugparam3"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1" ruleflow-group "ibizorderdetailgetunitandpricedebugparam3"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[填充单位和单价] //逻辑处理节点[附加到数组参数]
rule "prepareparam2" rule "appendparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2" ruleflow-group "ibizorderdetailgetunitandpriceappendparam1"
when when
then then
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit")); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice")); update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[实体数据查询] //逻辑处理节点[统计金额]
rule "dedataquery1" rule "delogic1"
ruleflow-group "ibizorderdetailgetunitandpricededataquery1" ruleflow-group "ibizorderdetailgetunitandpricedelogic1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[绑定参数] //逻辑处理节点[重置参数]
rule "bindparam1" rule "resetparam1"
ruleflow-group "ibizorderdetailgetunitandpricebindparam1" ruleflow-group "ibizorderdetailgetunitandpriceresetparam1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[调试逻辑参数] //逻辑处理节点[大于200处理]
rule "debugparam5" rule "debugparam2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam5" ruleflow-group "ibizorderdetailgetunitandpricedebugparam2"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[设置orderid] //逻辑处理节点[实体行为]
rule "prepareparam3" rule "deaction3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3" ruleflow-group "ibizorderdetailgetunitandpricedeaction3"
when when
then then
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid")); ibizorderdetailservice.countMoney(ibizorderdetailgetunitandpricedefault);
ibizorderdetailgetunitandpriceorder.set("createman","111"); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[附加到数组参数] //逻辑处理节点[实体数据查询]
rule "appendparam1" rule "dedataquery1"
ruleflow-group "ibizorderdetailgetunitandpriceappendparam1" ruleflow-group "ibizorderdetailgetunitandpricededataquery1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[重置参数] //逻辑处理节点[获取商品id]
rule "resetparam2" rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceresetparam2" ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 ibizorderdetailgetunitandpriceorder.set("ibizuniproducttype",null);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[获取订单信息] //逻辑处理节点[重新建立参数]
rule "deaction2" rule "renewparam1"
ruleflow-group "ibizorderdetailgetunitandpricedeaction2" ruleflow-group "ibizorderdetailgetunitandpricerenewparam1"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值 update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end end
//逻辑处理节点[实体数据集] //逻辑处理节点[实体数据集]
rule "dedataset1" rule "dedataset2"
ruleflow-group "ibizorderdetailgetunitandpricededataset1" ruleflow-group "ibizorderdetailgetunitandpricededataset2"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[调试逻辑参数] //逻辑处理节点[获取订单信息异常]
rule "debugparam4" rule "throwexception2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam4" ruleflow-group "ibizorderdetailgetunitandpricethrowexception2"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[setting] //逻辑处理节点[结束]
rule "prepareparam4" rule "end1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam4" ruleflow-group "ibizorderdetailgetunitandpriceend1"
when when
then then
ibizorderdetailgetunitandpriceproduct.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice")); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
ibizorderdetailgetunitandpriceproduct.set("",ibizorderdetailgetunitandpriceproduct.get("")); update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
ibizorderdetailgetunitandpriceproduct.set("",ibizorderdetailgetunitandpriceproduct.get(""));
ibizorderdetailgetunitandpriceproduct.set("unitprice",ibizorderdetailgetunitandpriceproduct.get(""));
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[获取商品id] //逻辑处理节点[排序数组参数]
rule "prepareparam1" rule "sortparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1" ruleflow-group "ibizorderdetailgetunitandpricesortparam1"
when when
then then
ibizorderdetailgetunitandpriceorder.set("ibizuniproducttype",null); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[获取商品信息] //逻辑处理节点[调试逻辑参数]
rule "deaction1" rule "debugparam5"
ruleflow-group "ibizorderdetailgetunitandpricedeaction1" ruleflow-group "ibizorderdetailgetunitandpricedebugparam5"
when when
then then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct); update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[排序数组参数] //逻辑处理节点[绑定参数]
rule "sortparam1" rule "bindparam1"
ruleflow-group "ibizorderdetailgetunitandpricesortparam1" ruleflow-group "ibizorderdetailgetunitandpricebindparam1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[获取订单信息异常] //逻辑处理节点[实体数据查询]
rule "throwexception2" rule "dedataquery2"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception2" ruleflow-group "ibizorderdetailgetunitandpricededataquery2"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[调试逻辑参数] //逻辑处理节点[拷贝参数]
rule "debugparam3" rule "copyparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam3" ruleflow-group "ibizorderdetailgetunitandpricecopyparam1"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[重新建立参数] //逻辑处理节点[获取订单信息]
rule "renewparam1" rule "deaction2"
ruleflow-group "ibizorderdetailgetunitandpricerenewparam1" ruleflow-group "ibizorderdetailgetunitandpricedeaction2"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[获取产品价格异常] //逻辑处理节点[调试逻辑参数]
rule "throwexception" rule "debugparam4"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception" ruleflow-group "ibizorderdetailgetunitandpricedebugparam4"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end end
//逻辑处理节点[拷贝参数] //逻辑处理节点[setting]
rule "copyparam1" rule "prepareparam4"
ruleflow-group "ibizorderdetailgetunitandpricecopyparam1" ruleflow-group "ibizorderdetailgetunitandpriceprepareparam4"
when when
then then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值 ibizorderdetailgetunitandpriceproduct.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
ibizorderdetailgetunitandpriceproduct.set("",ibizorderdetailgetunitandpriceproduct.get(""));
ibizorderdetailgetunitandpriceproduct.set("",ibizorderdetailgetunitandpriceproduct.get(""));
ibizorderdetailgetunitandpriceproduct.set("unitprice",ibizorderdetailgetunitandpriceproduct.get(""));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值 update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值 update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[设置orderid]
rule "prepareparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3"
when
then
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid"));
ibizorderdetailgetunitandpriceorder.set("createman","111");
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpricepage);//更新fact中变量值 update(ibizorderdetailgetunitandpricepage);//更新fact中变量值
update(ibizorderdetailgetunitandpricelist);//更新fact中变量值
update(ibizorderdetailgetunitandpricesession);//更新fact中变量值 update(ibizorderdetailgetunitandpricesession);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值 update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricefilter);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end end
\ No newline at end of file
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "归还日期",
"codeName" : "lendouttime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/lendouttime", "mOSFilePath" : "psdetreecols/returntime",
"name" : "lendouttime", "name" : "returntime",
"rTMOSFilePath" : "psdetreecols/lendouttime", "rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -36,37 +36,37 @@ ...@@ -36,37 +36,37 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "出版社",
"codeName" : "ibizbookname", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "press",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/press",
"name" : "ibizbookname", "name" : "press",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "图书名称",
"codeName" : "returntime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/returntime", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "returntime", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/returntime", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "借出日期",
"codeName" : "press", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/press", "mOSFilePath" : "psdetreecols/lendouttime",
"name" : "press", "name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/press", "rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "author", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/author",
"name" : "ibizbookname", "name" : "author",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -2652,6 +2652,31 @@ ...@@ -2652,6 +2652,31 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/Begin", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/Begin",
"topPos" : 110, "topPos" : 110,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "RAWSQLANDLOOPCALL1",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK/PSDEACTIONS/Get.json"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 230,
"logicNodeType" : "RAWSQLANDLOOPCALL",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/RAWSQLANDLOOPCALL1",
"name" : "直接SQL并循环调用",
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/RAWSQLANDLOOPCALL1",
"sql" : "select 1 as AMOUNT from dual",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"topPos" : 524
}, { }, {
"codeName" : "Rawsqlcall1", "codeName" : "Rawsqlcall1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
...@@ -2681,6 +2706,10 @@ ...@@ -2681,6 +2706,10 @@
}, },
"srcValueType" : "SRCDLPARAM" "srcValueType" : "SRCDLPARAM"
} ], } ],
"getPSSysDBScheme" : {
"modelref" : true,
"path" : "PSSYSDBSCHEMES/DEFAULT.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/Rawsqlcall1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/Rawsqlcall1",
"sql" : "select (?*?) as AMOUNT from dual", "sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312, "topPos" : 312,
...@@ -2746,93 +2775,49 @@ ...@@ -2746,93 +2775,49 @@
"topPos" : 216, "topPos" : 216,
"parallelOutput" : true "parallelOutput" : true
}, { }, {
"codeName" : "DEBUGPARAM2", "codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"leftPos" : 1310, "leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM", "logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于200处理", "name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -50 "topPos" : -420
}, { }, {
"codeName" : "DEACTION3", "codeName" : "DEDATASET1",
"getDstPSAppDEAction" : { "getDstPSAppDEDataSet" : {
"modelref" : true, "modelref" : true,
"id" : "CountMoney" "id" : "FetchDefault"
}, },
"getDstPSAppDataEntity" : { "getDstPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
}, },
"getDstPSDELogicParam" : { "getDstPSDEDataSet" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "Default"
}, },
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION3",
"name" : "实体行为",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION3",
"topPos" : 318
}, {
"codeName" : "DELOGIC1",
"getDstPSAppDELogic" : {
"modelref" : true,
"id" : "CountMoney"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "filter"
}, },
"getDstPSDataEntity" : { "getDstPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
}, },
"leftPos" : 1001, "leftPos" : 1446,
"logicNodeType" : "DELOGIC", "logicNodeType" : "DEDATASET",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"name" : "统计金额", "name" : "实体数据集",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"topPos" : 189 "getRetPSDELogicParam" : {
}, {
"codeName" : "RESETPARAM1",
"leftPos" : 65,
"logicNodeType" : "RESETPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM1",
"name" : "重置参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Default" "id" : "page"
}, },
"leftPos" : 1310, "topPos" : 284
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -420
}, { }, {
"codeName" : "Prepareparam2", "codeName" : "Prepareparam2",
"leftPos" : 775, "leftPos" : 775,
...@@ -2923,6 +2908,168 @@ ...@@ -2923,6 +2908,168 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2",
"topPos" : 224, "topPos" : 224,
"parallelOutput" : true "parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Throwexception"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"catchLink" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "APPENDPARAM1",
"dstIndex" : 0,
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1",
"srcIndex" : 1,
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcSize" : 1,
"topPos" : -10
}, {
"codeName" : "DELOGIC1",
"getDstPSAppDELogic" : {
"modelref" : true,
"id" : "CountMoney"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DELOGIC",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1",
"name" : "统计金额",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1",
"topPos" : 189
}, {
"codeName" : "RESETPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 65,
"logicNodeType" : "RESETPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM1",
"name" : "重置参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "DEBUGPARAM2",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"topPos" : -50
}, {
"codeName" : "DEACTION3",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "CountMoney"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos" : 1001,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION3",
"name" : "实体行为",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION3",
"topPos" : 318
}, { }, {
"codeName" : "DEDATAQUERY1", "codeName" : "DEDATAQUERY1",
"getDstPSDEDataQuery" : { "getDstPSDEDataQuery" : {
...@@ -2948,98 +3095,189 @@ ...@@ -2948,98 +3095,189 @@
}, },
"topPos" : 80 "topPos" : 80
}, { }, {
"codeName" : "BINDPARAM1", "codeName" : "Prepareparam1",
"getDstPSDELogicParam" : { "leftPos" : 313,
"modelref" : true,
"id" : "Product"
},
"leftPos" : 41,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"topPos" : 80
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM5",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM5",
"topPos" : -188
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"name" : "设置orderid", "name" : "获取商品ID",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "DEACTION2" "id" : "Deaction1"
}, },
"name" : "连接名称", "name" : "连接",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "PREPAREPARAM3" "id" : "Prepareparam1"
} }
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID", "dstFieldName" : "IBIZUNIPRODUCTTYPE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Order"
}, },
"name" : "无值(NONE) ==> Order[CREATEDATE]", "dstSortDir" : "ASC",
"paramAction" : "SETPARAMVALUE", "name" : "空值(NULL) ==> Order[IBIZUNIPRODUCTTYPE]",
"srcValueType" : "NONEVALUE" "paramAction" : "SORTPARAM",
"srcFieldName" : "IBIZUNIPRODUCTID",
"srcValue" : "zzz",
"srcValueType" : "NULLVALUE"
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : -38 "topPos" : 224,
"parallelOutput" : true
}, { }, {
"codeName" : "APPENDPARAM1", "codeName" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 187,
"logicNodeType" : "RENEWPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RENEWPARAM1",
"name" : "重新建立参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RENEWPARAM1",
"topPos" : 50
}, {
"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" : "DEDATASET2",
"getDstPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 691,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET2",
"name" : "实体数据集",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET2",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "page"
},
"topPos" : 560
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, {
"codeName" : "END1",
"leftPos" : 439, "leftPos" : 439,
"logicNodeType" : "APPENDPARAM", "logicNodeType" : "END",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/END1",
"name" : "附加到数组参数", "name" : "结束",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/END1",
"topPos" : -10 "returnType" : "NONEVALUE",
"topPos" : 579
}, { }, {
"codeName" : "RESETPARAM2", "codeName" : "SORTPARAM1",
"leftPos" : 145, "dstFieldName" : "PRICE",
"logicNodeType" : "RESETPARAM", "getDstPSDELogicParam" : {
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM2", "modelref" : true,
"name" : "重置参数", "id" : "list"
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM2", },
"topPos" : 378 "dstSortDir" : "ASC",
"leftPos" : 384,
"logicNodeType" : "SORTPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SORTPARAM1",
"name" : "排序数组参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SORTPARAM1",
"topPos" : 80
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM5",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM5",
"topPos" : -188
}, {
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : -40,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"topPos" : 100
}, {
"codeName" : "DEDATAQUERY2",
"getDstPSDEDataQuery" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 865,
"logicNodeType" : "DEDATAQUERY",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY2",
"name" : "实体数据查询",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY2",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "list"
},
"topPos" : 422
}, {
"codeName" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 268,
"logicNodeType" : "COPYPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/COPYPARAM1",
"name" : "拷贝参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/COPYPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"topPos" : -70
}, { }, {
"codeName" : "DEACTION2", "codeName" : "DEACTION2",
"getDstPSAppDEAction" : { "getDstPSAppDEAction" : {
...@@ -3201,38 +3439,6 @@ ...@@ -3201,38 +3439,6 @@
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"topPos" : -37 "topPos" : -37
}, {
"codeName" : "DEDATASET1",
"getDstPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEDataSet" : {
"modelref" : true,
"id" : "Default"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "filter"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"leftPos" : 1446,
"logicNodeType" : "DEDATASET",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"name" : "实体数据集",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1",
"getRetPSDELogicParam" : {
"modelref" : true,
"id" : "page"
},
"topPos" : 284
}, { }, {
"codeName" : "DEBUGPARAM4", "codeName" : "DEBUGPARAM4",
"leftPos" : 1280, "leftPos" : 1280,
...@@ -3302,173 +3508,82 @@ ...@@ -3302,173 +3508,82 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM4", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM4",
"topPos" : 438 "topPos" : 438
}, { }, {
"codeName" : "Prepareparam1", "codeName" : "PREPAREPARAM3",
"leftPos" : 313, "leftPos" : 775,
"logicNodeType" : "PREPAREPARAM", "logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "获取商品ID", "name" : "设置orderid",
"getPSDELogicLinks" : [ { "getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : { "getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "DEACTION2"
}, },
"name" : "连接", "name" : "连接名称",
"getSrcPSDELogicNode" : { "getSrcPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam1" "id" : "PREPAREPARAM3"
} }
} ], } ],
"getPSDELogicNodeParams" : [ { "getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTTYPE", "dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : { "getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Order" "id" : "Order"
}, },
"dstSortDir" : "ASC", "name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"name" : "空值(NULL) ==> Order[IBIZUNIPRODUCTTYPE]", "paramAction" : "SETPARAMVALUE",
"paramAction" : "SORTPARAM", "srcFieldName" : "IBIZORDERID",
"srcFieldName" : "IBIZUNIPRODUCTID", "getSrcPSDELogicParam" : {
"srcValue" : "zzz",
"srcValueType" : "NULLVALUE"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "Deaction1",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos" : 555,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1",
"name" : "获取商品信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true, "modelref" : true,
"id" : "Prepareparam2" "id" : "Default"
}, },
"name" : "连接", "srcValueType" : "SRCDLPARAM"
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
}
}, { }, {
"getDstPSDELogicNode" : { "dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Throwexception" "id" : "Order"
}, },
"name" : "异常", "name" : "直接值[111] ==> Order[CREATEMAN]",
"getSrcPSDELogicNode" : { "paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"modelref" : true, "modelref" : true,
"id" : "Deaction1" "id" : "Order"
}, },
"catchLink" : true "name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : 224, "topPos" : -38
"parallelOutput" : true
}, {
"codeName" : "SORTPARAM1",
"leftPos" : 384,
"logicNodeType" : "SORTPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SORTPARAM1",
"name" : "排序数组参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SORTPARAM1",
"topPos" : 80
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, {
"codeName" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 177,
"logicNodeType" : "RENEWPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RENEWPARAM1",
"name" : "重新建立参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RENEWPARAM1",
"topPos" : 129
}, {
"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" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"leftPos" : 258,
"logicNodeType" : "COPYPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/COPYPARAM1",
"name" : "拷贝参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/COPYPARAM1",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"topPos" : 10
} ], } ],
"getPSDELogicParams" : [ { "getPSDELogicParams" : [ {
"codeName" : "Order", "codeName" : "Default",
"logicName" : "订单", "logicName" : "传入变量",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"name" : "订单", "name" : "传入变量",
"getParamPSAppDataEntity" : { "getParamPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
}, },
"getParamPSDataEntity" : { "getParamPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"default" : true,
"entityParam" : true "entityParam" : true
}, {
"codeName" : "page",
"logicName" : "page",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/page",
"name" : "page",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/page",
"entityPageParam" : true
}, { }, {
"codeName" : "list", "codeName" : "list",
"logicName" : "list", "logicName" : "list",
...@@ -3476,6 +3591,13 @@ ...@@ -3476,6 +3591,13 @@
"name" : "list", "name" : "list",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/list", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/list",
"entityListParam" : true "entityListParam" : true
}, {
"codeName" : "session",
"logicName" : "session",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/session",
"name" : "session",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/session",
"sessionParam" : true
}, { }, {
"codeName" : "Product", "codeName" : "Product",
"logicName" : "商品", "logicName" : "商品",
...@@ -3499,34 +3621,19 @@ ...@@ -3499,34 +3621,19 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/filter", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/filter",
"filterParam" : true "filterParam" : true
}, { }, {
"codeName" : "page", "codeName" : "Order",
"logicName" : "page", "logicName" : "订单",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/page", "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"name" : "page", "name" : "订单",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/page",
"entityPageParam" : true
}, {
"codeName" : "session",
"logicName" : "session",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/session",
"name" : "session",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/session",
"sessionParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"name" : "传入变量",
"getParamPSAppDataEntity" : { "getParamPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
}, },
"getParamPSDataEntity" : { "getParamPSDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json" "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"default" : true,
"entityParam" : true "entityParam" : true
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice", "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice",
......
...@@ -46,13 +46,13 @@ ...@@ -46,13 +46,13 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "借出日期", "caption" : "归还日期",
"codeName" : "lendouttime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "returntime",
"mOSFilePath" : "psdetreecols/lendouttime", "mOSFilePath" : "psdetreecols/returntime",
"name" : "lendouttime", "name" : "returntime",
"rTMOSFilePath" : "psdetreecols/lendouttime", "rTMOSFilePath" : "psdetreecols/returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -70,37 +70,37 @@ ...@@ -70,37 +70,37 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "出版社",
"codeName" : "ibizbookname", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "press",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/press",
"name" : "ibizbookname", "name" : "press",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "图书名称",
"codeName" : "returntime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/returntime", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "returntime", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/returntime", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "借出日期",
"codeName" : "press", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "lendouttime",
"mOSFilePath" : "psdetreecols/press", "mOSFilePath" : "psdetreecols/lendouttime",
"name" : "press", "name" : "lendouttime",
"rTMOSFilePath" : "psdetreecols/press", "rTMOSFilePath" : "psdetreecols/lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -100,13 +100,13 @@ ...@@ -100,13 +100,13 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "图书名称",
"codeName" : "author", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/author", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "author", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/author", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -124,13 +124,13 @@ ...@@ -124,13 +124,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "作者",
"codeName" : "ibizbookname", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "author",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/author",
"name" : "ibizbookname", "name" : "author",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 --> <!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-166-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-178-14">
<createTable tableName="T_IBIZORDERDETAIL"> <createTable tableName="T_IBIZORDERDETAIL">
<column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)"> <column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-166-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-178-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL">
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]> <![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册