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

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

上级 421da932
......@@ -102,5 +102,17 @@ export default class CountMoneyLogicBase {
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 统计金额(脚本)
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeRAWSFCODE1(context:any,params:any,isloading:boolean){
// RAWSFCODE暂未支持
console.log("RAWSFCODE暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
}
\ No newline at end of file
import IBIZOrderDetailService from '@/service/ibizorder-detail/ibizorder-detail-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import IBIZUNIProductService from '@/service/ibizuniproduct/ibizuniproduct-service';
import { Verify } from '@/utils/verify/verify';
......@@ -56,9 +57,9 @@ export default class GetUnitAndPriceLogicBase {
* @memberof GetUnitAndPriceLogicBase
*/
public initParams(opts:any){
this.paramsMap.set('Default',opts);
this.paramsMap.set('Product',{});
this.paramsMap.set('Order',{});
this.paramsMap.set('Product',{});
this.paramsMap.set('Default',opts);
}
......@@ -86,7 +87,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute2Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', '100')){
if(Verify.testCond(params.unitprice, 'GT', 'Amount')){
return true;
}else{
return false;
......@@ -99,11 +100,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute3Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', 'PRICE')){
return true;
}else{
return false;
}
}
/**
......@@ -112,11 +109,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute4Cond(params:any):boolean{
if(Verify.testCond(params.createdate, 'GTANDEQ', 'CREATEDATE')){
return true;
}else{
return false;
}
}
/**
......@@ -125,11 +118,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute5Cond(params:any):boolean{
if(Verify.testCond(params.ordertime, 'LTANDEQ', '')){
return true;
}else{
return false;
}
}
/**
......@@ -147,7 +136,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute7Cond(params:any):boolean{
if(Verify.testCond(params.unitprice, 'GT', 'Amount')){
if(Verify.testCond(params.amount, 'GT', '100')){
return true;
}else{
return false;
......@@ -160,7 +149,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute8Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', 'PRICE')){
return true;
}else{
return false;
}
}
/**
......@@ -169,7 +162,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute9Cond(params:any):boolean{
if(Verify.testCond(params.createdate, 'GTANDEQ', 'CREATEDATE')){
return true;
}else{
return false;
}
}
/**
......@@ -178,7 +175,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute10Cond(params:any):boolean{
if(Verify.testCond(params.ordertime, 'LTANDEQ', '')){
return true;
}else{
return false;
}
}
/**
......@@ -190,6 +191,24 @@ export default class GetUnitAndPriceLogicBase {
return true;
}
/**
* 计算12节点结果
*
* @param params 传入参数
*/
public compute12Cond(params:any):boolean{
return true;
}
/**
* 计算13节点结果
*
* @param params 传入参数
*/
public compute13Cond(params:any):boolean{
return true;
}
/**
* 执行逻辑
*
......@@ -214,52 +233,41 @@ export default class GetUnitAndPriceLogicBase {
}
/**
* 获取订单信息
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEACTION2(context:any,params:any,isloading:boolean){
// 行为处理节点
let result: any;
let actionParam:any = this.paramsMap.get('Order');
const targetService:IBIZOrderService = new IBIZOrderService();
if (targetService['Get'] && targetService['Get'] instanceof Function) {
result = await targetService['Get'](actionParam.context,actionParam.data, false);
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute1Cond(params)){
return this.executeTHROWEXCEPTION2(context,params,isloading);
}
if(this.compute2Cond(params)){
return this.executeDEBUGPARAM1(context,params,isloading);
}
if(this.compute3Cond(params)){
return this.executeDEBUGPARAM2(context,params,isloading);
}
if(this.compute4Cond(params)){
return this.executeDEBUGPARAM4(context,params,isloading);
}
if(this.compute5Cond(params)){
return this.executeDEBUGPARAM5(context,params,isloading);
}
if(this.compute6Cond(params)){
return this.executeDEBUGPARAM3(context,params,isloading);
}
}
private async executeDEBUGPARAM5(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 拷贝参数
* 设置orderid
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeCOPYPARAM1(context:any,params:any,isloading:boolean){
// COPYPARAM暂未支持
console.log("COPYPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
private async executePREPAREPARAM3(context:any,params:any,isloading:boolean){
// 准备参数节点
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 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.compute1Cond(params)){
return this.executeDEACTION2(context,params,isloading);
}
}
/**
......@@ -280,58 +288,45 @@ export default class GetUnitAndPriceLogicBase {
let tempSrcParam1Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
Object.assign(tempDstParam1Data,{unitprice:tempSrcParam1Data['unitprice']});
this.paramsMap.set('Default',{data:tempDstParam1Data,context:tempDstParam1Context});
if(this.compute7Cond(params)){
if(this.compute2Cond(params)){
return this.executePREPAREPARAM3(context,params,isloading);
}
if(this.compute3Cond(params)){
return this.executeDELOGIC1(context,params,isloading);
}
if(this.compute4Cond(params)){
return this.executeDEACTION3(context,params,isloading);
}
/**
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM4(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 设置orderid
* 获取商品ID
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executePREPAREPARAM3(context:any,params:any,isloading:boolean){
private async executePrepareparam1(context:any,params:any,isloading:boolean){
// 准备参数节点
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 tempDstParam0Context:any = this.paramsMap.get('Product').context?this.paramsMap.get('Product').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(tempDstParam0Context,{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.compute8Cond(params)){
return this.executeDEACTION2(context,params,isloading);
Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute5Cond(params)){
return this.executeDeaction1(context,params,isloading);
}
}
/**
* 附加到数组参数
* 绑定参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeAPPENDPARAM1(context:any,params:any,isloading:boolean){
// APPENDPARAM暂未支持
console.log("APPENDPARAM暂未支持");
private async executeBINDPARAM1(context:any,params:any,isloading:boolean){
// BINDPARAM暂未支持
console.log("BINDPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
......@@ -348,79 +343,107 @@ export default class GetUnitAndPriceLogicBase {
}
/**
* 获取商品ID
* 大于200处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executePrepareparam1(context:any,params:any,isloading:boolean){
// 准备参数节点
let tempDstParam0Context:any = this.paramsMap.get('Product').context?this.paramsMap.get('Product').context:{};
let tempDstParam0Data:any = this.paramsMap.get('Product').data?this.paramsMap.get('Product').data:{};
let tempSrcParam0Data:any = this.paramsMap.get('Default').data?this.paramsMap.get('Default').data:{};
Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute9Cond(params)){
return this.executeDeaction1(context,params,isloading);
}
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取订单信息异常
* 大于100处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 大于200处理
* 实体行为
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
private async executeDEACTION3(context:any,params:any,isloading:boolean){
// 行为处理节点
let result: any;
let actionParam:any = this.paramsMap.get('Default');
const targetService:IBIZOrderDetailService = new IBIZOrderDetailService();
if (targetService['CountMoney'] && targetService['CountMoney'] instanceof Function) {
result = await targetService['CountMoney'](actionParam.context,actionParam.data, false);
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
return this.paramsMap.get(this.defaultParamName).data;
}
}
/**
* 绑定参数
* 统计金额
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeBINDPARAM1(context:any,params:any,isloading:boolean){
// BINDPARAM暂未支持
console.log("BINDPARAM暂未支持");
private async executeDELOGIC1(context:any,params:any,isloading:boolean){
// DELOGIC暂未支持
console.log("DELOGIC暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 排序数组参数
* 获取订单信息
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeSORTPARAM1(context:any,params:any,isloading:boolean){
// SORTPARAM暂未支持
console.log("SORTPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
private async executeDEACTION2(context:any,params:any,isloading:boolean){
// 行为处理节点
let result: any;
let actionParam:any = this.paramsMap.get('Order');
const targetService:IBIZOrderService = new IBIZOrderService();
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.compute6Cond(params)){
return this.executeTHROWEXCEPTION2(context,params,isloading);
}
if(this.compute7Cond(params)){
return this.executeDEBUGPARAM1(context,params,isloading);
}
if(this.compute8Cond(params)){
return this.executeDEBUGPARAM2(context,params,isloading);
}
if(this.compute9Cond(params)){
return this.executeDEBUGPARAM4(context,params,isloading);
}
if(this.compute10Cond(params)){
return this.executeDEBUGPARAM5(context,params,isloading);
}
if(this.compute11Cond(params)){
return this.executeDEBUGPARAM3(context,params,isloading);
}
}
}
/**
* 获取产品价格异常
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
private async executeDEBUGPARAM3(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
......@@ -440,24 +463,24 @@ export default class GetUnitAndPriceLogicBase {
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute10Cond(params)){
if(this.compute12Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute11Cond(params)){
if(this.compute13Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
}
}
/**
* 调试逻辑参数
* 排序数组参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM3(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
private async executeSORTPARAM1(context:any,params:any,isloading:boolean){
// SORTPARAM暂未支持
console.log("SORTPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
......@@ -473,27 +496,61 @@ export default class GetUnitAndPriceLogicBase {
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 executeAPPENDPARAM1(context:any,params:any,isloading:boolean){
// APPENDPARAM暂未支持
console.log("APPENDPARAM暂未支持");
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 executeDEBUGPARAM5(context:any,params:any,isloading:boolean){
private async executeDEBUGPARAM4(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 大于100处理
* 拷贝参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
private async executeCOPYPARAM1(context:any,params:any,isloading:boolean){
// COPYPARAM暂未支持
console.log("COPYPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......@@ -2325,4 +2325,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<style lang='less'>
@import './guide-view-form-form.less';
</style>uide-view-form-form.less';
</style>
\ No newline at end of file
......@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean}
* @memberof GuideBase
*/
public isShowStepBar: Boolean = true ;
public isShowStepBar: Boolean = false ;
/**
* 获取多项数据
......
<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;"/>
<row>
<i-col span="20" class="form-content">
......@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform;
const form: any = this.$refs.searchform;
let validatestate: boolean = true;
form.validate((valid: boolean) => {
validatestate = valid ? true : false;
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (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;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (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;
}
const arg: any = { ...opt } ;
......
......@@ -48,14 +48,14 @@
<div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i>
<span class='caption'>{{'编辑'}}</span>
</i-button>
<div slot='content'>{{$t('TBB.TEXT.*.EDIT', '编辑')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i>
<span class='caption'>{{'删除'}}</span>
</i-button>
......@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/**
* dataviewexpbar_dataview_batchtoolbar 部件 click 事件
* dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) {
public dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction2')) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2);
}
}
......@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKDataViewExpViewBase
* @memberof IBIZBOOKUsr2DataViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKDataViewExpViewBase
* @memberof IBIZBOOKUsr2DataViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -427,12 +427,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
let result: boolean = true;
Object.assign(actionData, args);
if ('selectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_selectionchange_ctrl_logic(actionData) && result;
}
if ('load'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_load_ctrl_logic(actionData) && result;
}
if (!result) {
return false;
}
......@@ -440,30 +434,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_selectionchange_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_load_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
......@@ -708,9 +678,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKDataViewExpView
* @memberof IBIZBOOKUsr2DataView
*/
public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = {
public usr2dataviewdataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
......@@ -1043,7 +1013,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -1138,7 +1108,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1255,7 +1225,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1263,7 +1233,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......@@ -1365,16 +1335,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation();
if(Object.is('Edit', tag)) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
}
if(Object.is('Edit', tag)) {
this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event);
this.dataview_memo1_u37f11a8_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event);
this.dataview_memo1_uc365542_click(data, tag, $event);
}
}
......
......@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -3590,6 +3590,15 @@
"sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312,
"fillDstLogicParam" : true
}, {
"code" : "_default.amount = _default.quantity * _default.unitprice",
"codeName" : "RAWSFCODE1",
"leftPos" : 480,
"logicNodeType" : "RAWSFCODE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSFCODE1",
"name" : "统计金额(脚本)",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSFCODE1",
"topPos" : 170
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
......@@ -3639,174 +3648,66 @@
"topPos" : 216,
"parallelOutput" : true
}, {
"codeName" : "DEACTION2",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "THROWEXCEPTION2"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"catchLink" : true
"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",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"name" : ">100",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) (100)",
"paramValue" : "100"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
},
"name" : ">200",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) [PRICE]",
"paramType" : "ENTITYFIELD",
"paramValue" : "PRICE"
} ]
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
"id" : "PREPAREPARAM3"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
},
"name" : "源数据对象属性",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GTANDEQ",
"dstFieldName" : "CREATEDATE",
"getDstLogicParam" : {
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[CREATEDATE] 大于等于(>=) Product[CREATEDATE]",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
"id" : "Default"
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
"srcValueType" : "SRCDLPARAM"
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM5"
},
"name" : "订单小于当前时间",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "LTANDEQ",
"dstFieldName" : "ORDERTIME",
"getDstLogicParam" : {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[ORDERTIME] 小于等于(<=) [当前时间]",
"paramType" : "CURTIME"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM3"
},
"name" : "默认",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"defaultLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"codeName" : "COPYPARAM1",
"dstFieldName" : "CREATEDATE",
"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
"name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -38
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
......@@ -3844,6 +3745,26 @@
"modelref" : true,
"id" : "Prepareparam2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION3"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
......@@ -3878,74 +3799,56 @@
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM4",
"leftPos" : 1280,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"topPos" : 50
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
"id" : "Deaction1"
},
"name" : "连接名称",
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
"id" : "Product"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"dstFieldName" : "CREATEMAN",
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
"id" : "Product"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"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" : "Order"
"id" : "Product"
},
"name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -38
}, {
"codeName" : "APPENDPARAM1",
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"topPos" : -10
"topPos" : 80
}, {
"codeName" : "RESETPARAM1",
"leftPos" : 65,
......@@ -3955,96 +3858,234 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"codeName" : "DEBUGPARAM2",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Deaction1"
"id" : "Default"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"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" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
"id" : "Default"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"leftPos" : 1260,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -320
}, {
"codeName" : "DEACTION3",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDEACTIONS/CountMoney.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
"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" : "DEBUGPARAM2",
"codeName" : "DELOGIC1",
"getDstPSDELogic" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"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
"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" : "BINDPARAM1",
"codeName" : "DEACTION2",
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
"id" : "Order"
},
"leftPos" : 41,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "THROWEXCEPTION2"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"catchLink" : true
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"name" : ">100",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) (100)",
"paramValue" : "100"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
},
"name" : ">200",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) [PRICE]",
"paramType" : "ENTITYFIELD",
"paramValue" : "PRICE"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
},
"name" : "源数据对象属性",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GTANDEQ",
"dstFieldName" : "CREATEDATE",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[CREATEDATE] 大于等于(>=) Product[CREATEDATE]",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
},
"topPos" : 80
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM5"
},
"name" : "订单小于当前时间",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "LTANDEQ",
"dstFieldName" : "ORDERTIME",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[ORDERTIME] 小于等于(<=) [当前时间]",
"paramType" : "CURTIME"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM3"
},
"name" : "默认",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"defaultLink" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37
}, {
"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" : "Deaction1",
"getDstPSDEAction" : {
......@@ -4089,17 +4130,13 @@
"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" : "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" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
......@@ -4113,37 +4150,68 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"topPos" : 129
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"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" : "APPENDPARAM1",
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"topPos" : -10
}, {
"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" : "DEBUGPARAM4",
"leftPos" : 1280,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"topPos" : -188
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"topPos" : 50
}, {
"codeName" : "DEBUGPARAM1",
"codeName" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
"id" : "Product"
},
"leftPos" : 1260,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -320
"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" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "传入变量",
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "订单",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : true,
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"entityParam" : true
}, {
"codeName" : "Product",
......@@ -4157,15 +4225,16 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product",
"entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "订单",
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "传入变量",
"getParamPSDataEntity" : {
"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
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice",
......
......@@ -58,6 +58,15 @@
"sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312,
"fillDstLogicParam" : true
}, {
"code" : "_default.amount = _default.quantity * _default.unitprice",
"codeName" : "RAWSFCODE1",
"leftPos" : 480,
"logicNodeType" : "RAWSFCODE",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSFCODE1",
"name" : "统计金额(脚本)",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/CountMoney/psdelogicnodes/RAWSFCODE1",
"topPos" : 170
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
......
......@@ -14,6 +14,9 @@
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsqlcall1" id="rawsqlcall1" implementation="http://www.jboss.org/drools/rule" name="统计金额"/>
<endEvent id="rawsqlcall1_end" name="end"/>
<sequenceFlow id="rawsqlcall1_end_line" sourceRef="rawsqlcall1" targetRef="rawsqlcall1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailcountmoneyrawsfcode1" id="rawsfcode1" implementation="http://www.jboss.org/drools/rule" name="统计金额(脚本)"/>
<endEvent id="rawsfcode1_end" name="end"/>
<sequenceFlow id="rawsfcode1_end_line" sourceRef="rawsfcode1" targetRef="rawsfcode1_end"/>
<sequenceFlow id="begin_rawsqlcall1" sourceRef="begin" targetRef="rawsqlcall1">
</sequenceFlow>
</process>
......
......@@ -37,3 +37,11 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
}
update(ibizorderdetailcountmoneydefault);//更新fact中变量值
end
//逻辑处理节点[统计金额(脚本)]
rule "rawsfcode1"
ruleflow-group "ibizorderdetailcountmoneyrawsfcode1"
when
then
update(ibizorderdetailcountmoneydefault);//更新fact中变量值
end
\ No newline at end of file
......@@ -25,6 +25,280 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin",
"topPos" : 216,
"parallelOutput" : true
}, {
"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",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -38
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
},
"name" : "其他处理",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "UNITPRICE",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) [Amount]",
"paramType" : "ENTITYFIELD",
"paramValue" : "Amount",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Order"
}
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION3"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"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" : "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" : "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" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1260,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -320
}, {
"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" : "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" : "DEACTION2",
"getDstPSDEAction" : {
......@@ -179,259 +453,17 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37
}, {
"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
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"name" : "填充单位和单价",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
},
"name" : "其他处理",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "UNITPRICE",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) [Amount]",
"paramType" : "ENTITYFIELD",
"paramValue" : "Amount",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Order"
}
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNIT] ==> Default[UNIT]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNIT",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "UNITPRICE",
"codeName" : "DEBUGPARAM3",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"name" : "Product[UNITPRICE] ==> Default[UNITPRICE]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "UNITPRICE",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM4",
"leftPos" : 1280,
"leftPos" : 1210,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"topPos" : 50
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
}, {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -38
}, {
"codeName" : "APPENDPARAM1",
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"topPos" : -10
}, {
"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" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "Deaction1"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "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" : "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" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"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" : "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" : "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
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3",
"topPos" : 140
}, {
"codeName" : "Deaction1",
"getDstPSDEAction" : {
......@@ -476,17 +508,13 @@
"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" : "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" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
......@@ -500,37 +528,68 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RENEWPARAM1",
"topPos" : 129
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"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" : "APPENDPARAM1",
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/APPENDPARAM1",
"topPos" : -10
}, {
"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" : "DEBUGPARAM4",
"leftPos" : 1280,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM5",
"topPos" : -188
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM4",
"topPos" : 50
}, {
"codeName" : "DEBUGPARAM1",
"codeName" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
"id" : "Product"
},
"leftPos" : 1260,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -320
"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" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "传入变量",
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "订单",
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"default" : true,
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"entityParam" : true
}, {
"codeName" : "Product",
......@@ -544,15 +603,16 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product",
"entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order",
"name" : "订单",
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default",
"name" : "传入变量",
"getParamPSDataEntity" : {
"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
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice",
......
......@@ -5,133 +5,144 @@
<tns:import name="java.util.Map" />
<tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.util.helper.RuleUtils"/>
<tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZOrder()" name="ibizorderdetailgetunitandpriceorder" type="refentity"/>
<tns:metaData express="new cn.ibizlab.core.sample.domain.IBIZUNIProduct()" name="ibizorderdetailgetunitandpriceproduct" type="refentity"/>
<tns:metaData express="" name="ibizorderdetailgetunitandpricedefault" type="entity"/>
<tns:metaData express="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.IIBIZUNIProductService))" name="ibizuniproductservice" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))" name="iBzSysIbizorderdetailDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="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" />
<tns:global identifier="ibizorderdetailgetunitandpriceproduct" type="cn.ibizlab.core.sample.domain.IBIZUNIProduct" />
<tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction2" id="deaction2" 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"/>
<sequenceFlow id="copyparam1_end_line" sourceRef="copyparam1" targetRef="copyparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" 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="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="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="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="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="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<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="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="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="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="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/>
<endEvent id="throwexception_end" name="end"/>
<sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction1" id="deaction1" implementation="http://www.jboss.org/drools/rule" name="获取商品信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="大于100处理"/>
<endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="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="ibizorderdetailgetunitandpricedeaction2" id="deaction2" 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"/>
<sequenceFlow id="debugparam3_end_line" sourceRef="debugparam3" targetRef="debugparam3_end"/>
<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="ibizorderdetailgetunitandpricerenewparam1" id="renewparam1" implementation="http://www.jboss.org/drools/rule" name="重新建立参数"/>
<endEvent id="renewparam1_end" name="end"/>
<sequenceFlow id="renewparam1_end_line" sourceRef="renewparam1" targetRef="renewparam1_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="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="大于100处理"/>
<endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="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="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="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/>
<endEvent id="throwexception_end" name="end"/>
<sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="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="ibizorderdetailgetunitandpricecopyparam1" id="copyparam1" implementation="http://www.jboss.org/drools/rule" name="拷贝参数"/>
<endEvent id="copyparam1_end" name="end"/>
<sequenceFlow id="copyparam1_end_line" sourceRef="copyparam1" targetRef="copyparam1_end"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow>
<sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2">
</sequenceFlow>
<sequenceFlow id="gateway-prepareparam2_prepareparam3" sourceRef="gateway-prepareparam2" targetRef="prepareparam3">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","Amount")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="prepareparam2_delogic1" sourceRef="prepareparam2" targetRef="delogic1">
</sequenceFlow>
<sequenceFlow id="prepareparam2_deaction3" sourceRef="prepareparam2" targetRef="deaction3">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow>
<sequenceFlow id="deaction2_throwexception2" sourceRef="deaction2" targetRef="throwexception2">
</sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam1" sourceRef="gateway-deaction2" targetRef="debugparam1">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","100")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam2" sourceRef="gateway-deaction2" targetRef="debugparam2">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","PRICE")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam4" sourceRef="gateway-deaction2" targetRef="debugparam4">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("createdate"),"GTANDEQ","CREATEDATE")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="gateway-deaction2_debugparam5" sourceRef="gateway-deaction2" targetRef="debugparam5">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("ordertime"),"LTANDEQ","")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="deaction2_debugparam3" sourceRef="deaction2" targetRef="debugparam3">
</sequenceFlow>
<sequenceFlow id="gateway-prepareparam2_prepareparam3" sourceRef="gateway-prepareparam2" targetRef="prepareparam3">
<conditionExpression language="http://www.jboss.org/drools/rule" ><![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder);
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","Amount")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2">
</sequenceFlow>
<sequenceFlow id="prepareparam1_deaction1" sourceRef="prepareparam1" targetRef="deaction1">
</sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
</sequenceFlow>
<exclusiveGateway id="gateway-deaction2" name="Gateway" gatewayDirection="Diverging" default="gateway-deaction2_end_line"></exclusiveGateway>
<sequenceFlow id="deaction2_gateway-deaction2_gatewayline" sourceRef="deaction2" targetRef="gateway-deaction2"></sequenceFlow>
<sequenceFlow id="gateway-deaction2_end_line" sourceRef="gateway-deaction2" targetRef="gateway-deaction2_end"/>
<endEvent id="gateway-deaction2_end" name="end"/>
<exclusiveGateway id="gateway-prepareparam2" name="Gateway" gatewayDirection="Diverging" default="gateway-prepareparam2_end_line"></exclusiveGateway>
<sequenceFlow id="prepareparam2_gateway-prepareparam2_gatewayline" sourceRef="prepareparam2" targetRef="gateway-prepareparam2"></sequenceFlow>
<sequenceFlow id="gateway-prepareparam2_end_line" sourceRef="gateway-prepareparam2" targetRef="gateway-prepareparam2_end"/>
<endEvent id="gateway-prepareparam2_end" name="end"/>
<exclusiveGateway id="gateway-deaction2" name="Gateway" gatewayDirection="Diverging" default="gateway-deaction2_end_line"></exclusiveGateway>
<sequenceFlow id="deaction2_gateway-deaction2_gatewayline" sourceRef="deaction2" targetRef="gateway-deaction2"></sequenceFlow>
<sequenceFlow id="gateway-deaction2_end_line" sourceRef="gateway-deaction2" targetRef="gateway-deaction2_end"/>
<endEvent id="gateway-deaction2_end" name="end"/>
</process>
</definitions>
\ No newline at end of file
......@@ -5,9 +5,10 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
import org.springframework.util.StringUtils;
import org.springframework.util.ObjectUtils;
import cn.ibizlab.util.errors.BadRequestAlertException;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct;
global cn.ibizlab.core.sample.domain.IBIZOrder ibizorderdetailgetunitandpriceorder;
global cn.ibizlab.core.sample.domain.IBIZUNIProduct ibizorderdetailgetunitandpriceproduct;
global cn.ibizlab.core.sample.domain.IBIZOrderDetail ibizorderdetailgetunitandpricedefault;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService ibizorderdetailservice;
global cn.ibizlab.core.sample.service.IIBIZOrderService ibizorderservice;
global cn.ibizlab.core.sample.service.IIBIZUNIProductService ibizuniproductservice;
global cn.ibizlab.core.sample.service.IIBIZOrderDetailService iBzSysIbizorderdetailDefaultService;
......@@ -23,25 +24,26 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
end
//逻辑处理节点[获取订单信息]
rule "deaction2"
ruleflow-group "ibizorderdetailgetunitandpricedeaction2"
//逻辑处理节点[调试逻辑参数]
rule "debugparam5"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam5"
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[拷贝参数]
rule "copyparam1"
ruleflow-group "ibizorderdetailgetunitandpricecopyparam1"
//逻辑处理节点[设置orderid]
rule "prepareparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid"));
ibizorderdetailgetunitandpriceorder.set("createman","111");
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[填充单位和单价]
......@@ -51,41 +53,30 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
end
//逻辑处理节点[调试逻辑参数]
rule "debugparam4"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam4"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[设置orderid]
rule "prepareparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3"
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
when
then
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid"));
ibizorderdetailgetunitandpriceorder.set("createman","111");
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[附加到数组参数]
rule "appendparam1"
ruleflow-group "ibizorderdetailgetunitandpriceappendparam1"
//逻辑处理节点[绑定参数]
rule "bindparam1"
ruleflow-group "ibizorderdetailgetunitandpricebindparam1"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[重置参数]
......@@ -93,70 +84,71 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
ruleflow-group "ibizorderdetailgetunitandpriceresetparam1"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
//逻辑处理节点[大于200处理]
rule "debugparam2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam2"
when
then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取订单信息异常]
rule "throwexception2"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception2"
//逻辑处理节点[大于100处理]
rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[大于200处理]
rule "debugparam2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam2"
//逻辑处理节点[实体行为]
rule "deaction3"
ruleflow-group "ibizorderdetailgetunitandpricedeaction3"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
ibizorderdetailservice.countMoney(ibizorderdetailgetunitandpricedefault);
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[绑定参数]
rule "bindparam1"
ruleflow-group "ibizorderdetailgetunitandpricebindparam1"
//逻辑处理节点[统计金额]
rule "delogic1"
ruleflow-group "ibizorderdetailgetunitandpricedelogic1"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[排序数组参数]
rule "sortparam1"
ruleflow-group "ibizorderdetailgetunitandpricesortparam1"
//逻辑处理节点[获取订单信息]
rule "deaction2"
ruleflow-group "ibizorderdetailgetunitandpricedeaction2"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
//逻辑处理节点[调试逻辑参数]
rule "debugparam3"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam3"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品信息]
......@@ -165,19 +157,19 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizuniproductservice.get(ibizorderdetailgetunitandpriceproduct.getIbizuniproductid()),ibizorderdetailgetunitandpriceproduct);
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[调试逻辑参数]
rule "debugparam3"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam3"
//逻辑处理节点[排序数组参数]
rule "sortparam1"
ruleflow-group "ibizorderdetailgetunitandpricesortparam1"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[重新建立参数]
......@@ -185,27 +177,57 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
ruleflow-group "ibizorderdetailgetunitandpricerenewparam1"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[调试逻辑参数]
rule "debugparam5"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam5"
//逻辑处理节点[获取订单信息异常]
rule "throwexception2"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception2"
when
then
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[附加到数组参数]
rule "appendparam1"
ruleflow-group "ibizorderdetailgetunitandpriceappendparam1"
when
then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[大于100处理]
rule "debugparam1"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam1"
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
when
then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[调试逻辑参数]
rule "debugparam4"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam4"
when
then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[拷贝参数]
rule "copyparam1"
ruleflow-group "ibizorderdetailgetunitandpricecopyparam1"
when
then
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
\ No newline at end of file
......@@ -20,13 +20,13 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -44,13 +44,13 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -2647,6 +2647,15 @@
"sql" : "select (?*?) as AMOUNT from dual",
"topPos" : 312,
"fillDstLogicParam" : true
}, {
"code" : "_default.amount = _default.quantity * _default.unitprice",
"codeName" : "RAWSFCODE1",
"leftPos" : 480,
"logicNodeType" : "RAWSFCODE",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/RAWSFCODE1",
"name" : "统计金额(脚本)",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/CountMoney/psappdelogicnodes/RAWSFCODE1",
"topPos" : 170
} ],
"getPSDELogicParams" : [ {
"codeName" : "Default",
......@@ -2699,182 +2708,66 @@
"topPos" : 216,
"parallelOutput" : true
}, {
"codeName" : "DEACTION2",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "THROWEXCEPTION2"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"catchLink" : true
"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",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"name" : ">100",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) (100)",
"paramValue" : "100"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
},
"name" : ">200",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) [PRICE]",
"paramType" : "ENTITYFIELD",
"paramValue" : "PRICE"
} ]
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
"id" : "PREPAREPARAM3"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
},
"name" : "源数据对象属性",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GTANDEQ",
"dstFieldName" : "CREATEDATE",
"getDstLogicParam" : {
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[CREATEDATE] 大于等于(>=) Product[CREATEDATE]",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
"id" : "Default"
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
"srcValueType" : "SRCDLPARAM"
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM5"
},
"name" : "订单小于当前时间",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "LTANDEQ",
"dstFieldName" : "ORDERTIME",
"getDstLogicParam" : {
"dstFieldName" : "CREATEMAN",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[ORDERTIME] 小于等于(<=) [当前时间]",
"paramType" : "CURTIME"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM3"
},
"name" : "默认",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"defaultLink" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"topPos" : -37
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"codeName" : "COPYPARAM1",
"dstFieldName" : "CREATEDATE",
"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
"name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : -38
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
......@@ -2912,6 +2805,26 @@
"modelref" : true,
"id" : "Prepareparam2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DELOGIC1"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION3"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam2"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "UNIT",
......@@ -2946,74 +2859,56 @@
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM4",
"leftPos" : 1280,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM4",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM4",
"topPos" : 50
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
"id" : "Deaction1"
},
"name" : "连接名称",
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"dstFieldName" : "IBIZUNIPRODUCTID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
"id" : "Product"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"dstFieldName" : "CREATEMAN",
"codeName" : "BINDPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
"id" : "Product"
},
"name" : "直接值[111] ==> Order[CREATEMAN]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "111",
"srcValueType" : "SRCVALUE"
}, {
"dstFieldName" : "CREATEDATE",
"getDstPSDELogicParam" : {
"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" : "Order"
"id" : "Product"
},
"name" : "无值(NONE) ==> Order[CREATEDATE]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NONEVALUE"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : -38
}, {
"codeName" : "APPENDPARAM1",
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1",
"topPos" : -10
"topPos" : 80
}, {
"codeName" : "RESETPARAM1",
"leftPos" : 65,
......@@ -3023,96 +2918,258 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RESETPARAM1",
"topPos" : -60
}, {
"codeName" : "Prepareparam1",
"leftPos" : 313,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"name" : "获取商品ID",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"codeName" : "DEBUGPARAM2",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Deaction1"
"id" : "Default"
},
"name" : "连接",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "Prepareparam1"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZUNIPRODUCTID",
"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" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
"id" : "Default"
},
"name" : "Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZUNIPRODUCTID",
"getSrcPSDELogicParam" : {
"leftPos" : 1260,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -320
}, {
"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"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"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
"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" : "DEBUGPARAM2",
"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"
},
"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
"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" : "BINDPARAM1",
"codeName" : "DEACTION2",
"getDstPSAppDEAction" : {
"modelref" : true,
"id" : "Get"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getDstPSDEAction" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Product"
"id" : "Order"
},
"leftPos" : 41,
"logicNodeType" : "BINDPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/BINDPARAM1",
"name" : "绑定参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/BINDPARAM1",
"getSrcPSDELogicParam" : {
"getDstPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos" : 971,
"logicNodeType" : "DEACTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"name" : "获取订单信息",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "THROWEXCEPTION2"
},
"name" : "异常",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"catchLink" : true
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM1"
},
"name" : ">100",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) (100)",
"paramValue" : "100"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM2"
},
"name" : ">200",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GT",
"dstFieldName" : "AMOUNT",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) [PRICE]",
"paramType" : "ENTITYFIELD",
"paramValue" : "PRICE"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM4"
},
"name" : "源数据对象属性",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "GTANDEQ",
"dstFieldName" : "CREATEDATE",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[CREATEDATE] 大于等于(>=) Product[CREATEDATE]",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
},
"topPos" : 80
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM5"
},
"name" : "订单小于当前时间",
"getPSDELogicLinkGroupCond" : {
"groupOP" : "AND",
"logicType" : "GROUP",
"name" : "连接条件组",
"getPSDELogicLinkConds" : [ {
"condOP" : "LTANDEQ",
"dstFieldName" : "ORDERTIME",
"getDstLogicParam" : {
"modelref" : true,
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[ORDERTIME] 小于等于(<=) [当前时间]",
"paramType" : "CURTIME"
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEBUGPARAM3"
},
"name" : "默认",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"defaultLink" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"topPos" : -37
}, {
"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" : "Deaction1",
"getDstPSAppDEAction" : {
......@@ -3165,17 +3222,13 @@
"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" : "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" : "RENEWPARAM1",
"getDstPSDELogicParam" : {
......@@ -3189,41 +3242,72 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RENEWPARAM1",
"topPos" : 129
}, {
"codeName" : "DEBUGPARAM5",
"leftPos" : 1310,
"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" : "APPENDPARAM1",
"leftPos" : 439,
"logicNodeType" : "APPENDPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1",
"name" : "附加到数组参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/APPENDPARAM1",
"topPos" : -10
}, {
"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" : "DEBUGPARAM4",
"leftPos" : 1280,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM5",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM4",
"name" : "调试逻辑参数",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM5",
"topPos" : -188
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM4",
"topPos" : 50
}, {
"codeName" : "DEBUGPARAM1",
"codeName" : "COPYPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
"id" : "Product"
},
"leftPos" : 1260,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -320
"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" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"name" : "传入变量",
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"name" : "订单",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"default" : true,
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"entityParam" : true
}, {
"codeName" : "Product",
......@@ -3241,19 +3325,20 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Product",
"entityParam" : true
}, {
"codeName" : "Order",
"logicName" : "订单",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"name" : "订单",
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"name" : "传入变量",
"getParamPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getParamPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default",
"default" : true,
"entityParam" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice",
......
......@@ -100,13 +100,13 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -124,13 +124,13 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-106-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-116-14">
<createTable tableName="T_IBIZORDERDETAIL">
<column name="IBIZORDERDETAILNAME" remarks="" type="VARCHAR(200)">
</column>
......
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-106-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-116-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDERDETAIL">
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册