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

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

上级 6d3674f1
......@@ -104,7 +104,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute4Cond(params:any):boolean{
return true;
if(Verify.testCond(params.amount, 'GT', '100')){
return true;
}else{
return false;
}
}
/**
......@@ -113,7 +117,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute5Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', '100')){
if(Verify.testCond(params.amount, 'GT', 'PRICE')){
return true;
}else{
return false;
......@@ -126,7 +130,7 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute6Cond(params:any):boolean{
if(Verify.testCond(params.amount, 'GT', '200')){
if(Verify.testCond(params.createdate, 'GTANDEQ', 'CREATEDATE')){
return true;
}else{
return false;
......@@ -139,7 +143,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute7Cond(params:any):boolean{
return true;
if(Verify.testCond(params.ordertime, 'LTANDEQ', '')){
return true;
}else{
return false;
}
}
/**
......@@ -148,7 +156,25 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public compute8Cond(params:any):boolean{
if(Verify.testCond(params.unitprice, 'GT', '100')){
return true;
}
/**
* 计算9节点结果
*
* @param params 传入参数
*/
public compute9Cond(params:any):boolean{
return true;
}
/**
* 计算10节点结果
*
* @param params 传入参数
*/
public compute10Cond(params:any):boolean{
if(Verify.testCond(params.unitprice, 'GT', 'Amount')){
return true;
}else{
return false;
......@@ -156,11 +182,11 @@ export default class GetUnitAndPriceLogicBase {
}
/**
* 计算9节点结果
* 计算11节点结果
*
* @param params 传入参数
*/
public compute9Cond(params:any):boolean{
public compute11Cond(params:any):boolean{
return true;
}
......@@ -188,22 +214,15 @@ export default class GetUnitAndPriceLogicBase {
}
/**
* 设置orderid
* 大于200处理
*
* @param context 应用上下文
* @param params 传入参数
*/
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});
if(this.compute1Cond(params)){
return this.executeDEACTION2(context,params,isloading);
}
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
......@@ -222,10 +241,10 @@ export default class GetUnitAndPriceLogicBase {
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute2Cond(params)){
if(this.compute1Cond(params)){
return this.executePrepareparam2(context,params,isloading);
}
if(this.compute3Cond(params)){
if(this.compute2Cond(params)){
return this.executeThrowexception(context,params,isloading);
}
}
......@@ -243,6 +262,53 @@ export default class GetUnitAndPriceLogicBase {
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM4(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM5(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeThrowexception(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 大于100处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取订单信息
*
......@@ -259,21 +325,57 @@ export default class GetUnitAndPriceLogicBase {
}
if(result && result.status == 200){
Object.assign(actionParam.data,result.data);
if(this.compute4Cond(params)){
if(this.compute3Cond(params)){
return this.executeTHROWEXCEPTION2(context,params,isloading);
}
if(this.compute5Cond(params)){
if(this.compute4Cond(params)){
return this.executeDEBUGPARAM1(context,params,isloading);
}
if(this.compute6Cond(params)){
if(this.compute5Cond(params)){
return this.executeDEBUGPARAM2(context,params,isloading);
}
if(this.compute6Cond(params)){
return this.executeDEBUGPARAM4(context,params,isloading);
}
if(this.compute7Cond(params)){
return this.executeDEBUGPARAM5(context,params,isloading);
}
if(this.compute8Cond(params)){
return this.executeDEBUGPARAM3(context,params,isloading);
}
}
}
/**
* 获取订单信息异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 设置orderid
*
* @param context 应用上下文
* @param params 传入参数
*/
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});
if(this.compute9Cond(params)){
return this.executeDEACTION2(context,params,isloading);
}
}
/**
* 填充单位和单价
*
......@@ -292,7 +394,7 @@ 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.compute8Cond(params)){
if(this.compute10Cond(params)){
return this.executePREPAREPARAM3(context,params,isloading);
}
}
......@@ -311,56 +413,10 @@ export default class GetUnitAndPriceLogicBase {
Object.assign(tempDstParam0Context,{ibizuniproduct:tempSrcParam0Data['ibizuniproductid']});
Object.assign(tempDstParam0Data,{ibizuniproductid:tempSrcParam0Data['ibizuniproductid']});
this.paramsMap.set('Product',{data:tempDstParam0Data,context:tempDstParam0Context});
if(this.compute9Cond(params)){
if(this.compute11Cond(params)){
return this.executeDeaction1(context,params,isloading);
}
}
/**
* 大于100处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM1(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 大于200处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeDEBUGPARAM2(context:any,params:any,isloading:boolean){
// DEBUGPARAM暂未支持
console.log("DEBUGPARAM暂未支持");
return this.paramsMap.get(this.defaultParamName).data;
}
/**
* 获取订单信息异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private async executeTHROWEXCEPTION2(context:any,params:any,isloading:boolean){
// 异常捕获节点
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;
}
}
\ No newline at end of file
......@@ -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: 'IBIZBOOKCustomView_layout' + (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: 'IBIZBOOKCustomView_layout' + (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 } ;
......
......@@ -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="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<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 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="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<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 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 });
/**
* dataview_batchtoolbar 部件 click 事件
* dataviewexpbar_dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public dataview_batchtoolbar_click($event: any, $event2?: any) {
public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) {
this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
}
if (Object.is($event.tag, 'deuiaction2')) {
this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
}
}
......@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_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 dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_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 dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_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 dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
public dataviewexpbar_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 IBIZBOOKUsr2DataViewBase
* @memberof IBIZBOOKDataViewExpViewBase
*/
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 IBIZBOOKUsr2DataViewBase
* @memberof IBIZBOOKDataViewExpViewBase
*/
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
......@@ -427,6 +427,12 @@ 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;
}
......@@ -434,6 +440,30 @@ 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;
}
......@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr2DataView
* @memberof IBIZBOOKDataViewExpView
*/
public usr2dataviewdataview_batchtoolbarModels: any = {
public dataviewexpviewdataviewexpbar_dataview_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' } },
......@@ -1013,7 +1043,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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -1108,7 +1138,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: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1225,7 +1255,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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (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);
......@@ -1233,7 +1263,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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......@@ -1335,16 +1365,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.dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
}
if(Object.is('Edit', tag)) {
this.dataview_memo1_u37f11a8_click(data, tag, $event);
this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event);
}
if(Object.is('Remove', tag)) {
this.dataview_memo1_uc365542_click(data, tag, $event);
this.dataviewexpbar_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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,6 +70,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2132,7 +2132,7 @@ export default class MainBase 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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2141,7 +2141,7 @@ export default class MainBase 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: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -3639,39 +3639,17 @@
"topPos" : 216,
"parallelOutput" : true
}, {
"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"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37
"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" : "Deaction1",
"getDstPSDEAction" : {
......@@ -3717,12 +3695,54 @@
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM3",
"leftPos" : 1220,
"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" : 58
"topPos" : 140
}, {
"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" : "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" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"topPos" : 422
}, {
"codeName" : "DEBUGPARAM1",
"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" : "DEACTION2",
"getDstPSDEAction" : {
......@@ -3796,8 +3816,66 @@
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
"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] 大于等于(>=) CREATEDATE",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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" : {
......@@ -3818,6 +3896,50 @@
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, {
"codeName" : "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"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
......@@ -3842,8 +3964,13 @@
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100"
"name" : "Default[UNITPRICE] 大于(>) Amount",
"paramType" : "ENTITYFIELD",
"paramValue" : "Amount",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Order"
}
} ]
},
"getSrcPSDELogicNode" : {
......@@ -3918,42 +4045,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM1",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -37
}, {
"codeName" : "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" : "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
} ],
"getPSDELogicParams" : [ {
"codeName" : "Product",
......
......@@ -26,39 +26,17 @@
"topPos" : 216,
"parallelOutput" : true
}, {
"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"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37
"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" : "Deaction1",
"getDstPSDEAction" : {
......@@ -104,12 +82,54 @@
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM3",
"leftPos" : 1220,
"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" : 58
"topPos" : 140
}, {
"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" : "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" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception",
"topPos" : 422
}, {
"codeName" : "DEBUGPARAM1",
"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" : "DEACTION2",
"getDstPSDEAction" : {
......@@ -183,8 +203,66 @@
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
"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] 大于等于(>=) CREATEDATE",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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" : {
......@@ -205,6 +283,50 @@
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2",
"topPos" : -37
}, {
"codeName" : "THROWEXCEPTION2",
"errorCode" : 0,
"errorInfo" : "获取订单信息异常",
"leftPos" : 1011,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"name" : "获取订单信息异常",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/THROWEXCEPTION2",
"topPos" : -248
}, {
"codeName" : "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"
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
......@@ -229,8 +351,13 @@
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100"
"name" : "Default[UNITPRICE] 大于(>) Amount",
"paramType" : "ENTITYFIELD",
"paramValue" : "Amount",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Order"
}
} ]
},
"getSrcPSDELogicNode" : {
......@@ -305,42 +432,6 @@
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM1",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM2",
"topPos" : -37
}, {
"codeName" : "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" : "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
} ],
"getPSDELogicParams" : [ {
"codeName" : "Product",
......
......@@ -17,30 +17,34 @@
<tns:global identifier="ibizorderdetailgetunitandpricedefault" type="cn.ibizlab.core.sample.domain.IBIZOrderDetail" />
</extensionElements>
<startEvent id="begin" isInterrupting="true"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam3" id="prepareparam3" implementation="http://www.jboss.org/drools/rule" name="设置orderid"/>
<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="ibizorderdetailgetunitandpricedeaction1" id="deaction1" 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="ibizorderdetailgetunitandpricedeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam2" id="prepareparam2" implementation="http://www.jboss.org/drools/rule" name="填充单位和单价"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpriceprepareparam1" id="prepareparam1" implementation="http://www.jboss.org/drools/rule" name="获取商品ID"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="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="ibizorderdetailgetunitandpricethrowexception" id="throwexception" implementation="http://www.jboss.org/drools/rule" name="获取产品价格异常"/>
<endEvent id="throwexception_end" name="end"/>
<sequenceFlow id="throwexception_end_line" sourceRef="throwexception" targetRef="throwexception_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam1" id="debugparam1" implementation="http://www.jboss.org/drools/rule" name="大于100处理"/>
<endEvent id="debugparam1_end" name="end"/>
<sequenceFlow id="debugparam1_end_line" sourceRef="debugparam1" targetRef="debugparam1_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedebugparam2" id="debugparam2" implementation="http://www.jboss.org/drools/rule" name="大于200处理"/>
<endEvent id="debugparam2_end" name="end"/>
<sequenceFlow id="debugparam2_end_line" sourceRef="debugparam2" targetRef="debugparam2_end"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricedeaction2" id="deaction2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息"/>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="ibizorderdetailgetunitandpricethrowexception2" id="throwexception2" implementation="http://www.jboss.org/drools/rule" name="获取订单信息异常"/>
<endEvent id="throwexception2_end" name="end"/>
<sequenceFlow id="throwexception2_end_line" sourceRef="throwexception2" targetRef="throwexception2_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="ibizorderdetailgetunitandpriceprepareparam3" id="prepareparam3" implementation="http://www.jboss.org/drools/rule" name="设置orderid"/>
<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"/>
<sequenceFlow id="begin_prepareparam1" sourceRef="begin" targetRef="prepareparam1">
</sequenceFlow>
<sequenceFlow id="prepareparam3_deaction2" sourceRef="prepareparam3" targetRef="deaction2">
</sequenceFlow>
<sequenceFlow id="deaction1_prepareparam2" sourceRef="deaction1" targetRef="prepareparam2">
</sequenceFlow>
<sequenceFlow id="deaction1_throwexception" sourceRef="deaction1" targetRef="throwexception">
......@@ -63,19 +67,41 @@
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","200")))
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[
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $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[
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("ordertime"),"LTANDEQ","")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow id="deaction2_debugparam3" sourceRef="deaction2" targetRef="debugparam3">
</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[
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
eval($ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault);
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","100")))
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","Amount")))
]]>
</conditionExpression>
</sequenceFlow>
......
......@@ -23,12 +23,11 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
end
//逻辑处理节点[设置orderid]
rule "prepareparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3"
//逻辑处理节点[大于200处理]
rule "debugparam2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam2"
when
then
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
......@@ -55,35 +54,31 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取订单信息]
rule "deaction2"
ruleflow-group "ibizorderdetailgetunitandpricedeaction2"
//逻辑处理节点[调试逻辑参数]
rule "debugparam4"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam4"
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[填充单位和单价]
rule "prepareparam2"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2"
//逻辑处理节点[调试逻辑参数]
rule "debugparam5"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam5"
when
then
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
when
then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
......@@ -99,11 +94,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[大于200处理]
rule "debugparam2"
ruleflow-group "ibizorderdetailgetunitandpricedebugparam2"
//逻辑处理节点[获取订单信息]
rule "deaction2"
ruleflow-group "ibizorderdetailgetunitandpricedeaction2"
when
then
cn.ibizlab.util.helper.CachedBeanCopier.copy(ibizorderservice.get(ibizorderdetailgetunitandpriceorder.getIbizorderid()),ibizorderdetailgetunitandpriceorder);
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
......@@ -119,11 +115,35 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取产品价格异常]
rule "throwexception"
ruleflow-group "ibizorderdetailgetunitandpricethrowexception"
//逻辑处理节点[设置orderid]
rule "prepareparam3"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam3"
when
then
ibizorderdetailgetunitandpriceorder.set("ibizorderid",ibizorderdetailgetunitandpricedefault.get("ibizorderid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[填充单位和单价]
rule "prepareparam2"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam2"
when
then
ibizorderdetailgetunitandpricedefault.set("unit",ibizorderdetailgetunitandpriceproduct.get("unit"));
ibizorderdetailgetunitandpricedefault.set("unitprice",ibizorderdetailgetunitandpriceproduct.get("unitprice"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
end
//逻辑处理节点[获取商品id]
rule "prepareparam1"
ruleflow-group "ibizorderdetailgetunitandpriceprepareparam1"
when
then
ibizorderdetailgetunitandpriceproduct.set("ibizuniproductid",ibizorderdetailgetunitandpricedefault.get("ibizuniproductid"));
update(ibizorderdetailgetunitandpriceproduct);//更新fact中变量值
update(ibizorderdetailgetunitandpriceorder);//更新fact中变量值
update(ibizorderdetailgetunitandpricedefault);//更新fact中变量值
......
......@@ -31,18 +31,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -2699,39 +2699,17 @@
"topPos" : 216,
"parallelOutput" : true
}, {
"codeName" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : -37
"codeName" : "DEBUGPARAM2",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"leftPos" : 1310,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"topPos" : -50
}, {
"codeName" : "Deaction1",
"getDstPSAppDEAction" : {
......@@ -2785,12 +2763,54 @@
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM3",
"leftPos" : 1220,
"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" : 58
"topPos" : 140
}, {
"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" : "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" : "Throwexception",
"errorCode" : 0,
"errorInfo" : "获取产品价格异常",
"leftPos" : 595,
"logicNodeType" : "THROWEXCEPTION",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception",
"name" : "获取产品价格异常",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception",
"topPos" : 422
}, {
"codeName" : "DEBUGPARAM1",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"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" : "DEACTION2",
"getDstPSAppDEAction" : {
......@@ -2872,8 +2892,66 @@
"id" : "Order"
},
"logicType" : "SINGLE",
"name" : "Order[AMOUNT] 大于(>) 200",
"paramValue" : "200"
"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] 大于等于(>=) CREATEDATE",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "CREATEDATE",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Product"
}
} ]
},
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
}
}, {
"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" : {
......@@ -2894,6 +2972,50 @@
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEACTION2",
"topPos" : -37
}, {
"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" : "PREPAREPARAM3",
"leftPos" : 775,
"logicNodeType" : "PREPAREPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"name" : "设置orderid",
"getPSDELogicLinks" : [ {
"getDstPSDELogicNode" : {
"modelref" : true,
"id" : "DEACTION2"
},
"name" : "连接名称",
"getSrcPSDELogicNode" : {
"modelref" : true,
"id" : "PREPAREPARAM3"
}
} ],
"getPSDELogicNodeParams" : [ {
"dstFieldName" : "IBIZORDERID",
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "Order"
},
"name" : "Default[IBIZORDERID] ==> Order[IBIZORDERID]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "IBIZORDERID",
"getSrcPSDELogicParam" : {
"modelref" : true,
"id" : "Default"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3",
"topPos" : -37
}, {
"codeName" : "Prepareparam2",
"leftPos" : 775,
......@@ -2918,8 +3040,13 @@
"id" : "Default"
},
"logicType" : "SINGLE",
"name" : "Default[UNITPRICE] 大于(>) 100",
"paramValue" : "100"
"name" : "Default[UNITPRICE] 大于(>) Amount",
"paramType" : "ENTITYFIELD",
"paramValue" : "Amount",
"getSrcLogicParam" : {
"modelref" : true,
"id" : "Order"
}
} ]
},
"getSrcPSDELogicNode" : {
......@@ -2994,42 +3121,6 @@
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1",
"topPos" : 224,
"parallelOutput" : true
}, {
"codeName" : "DEBUGPARAM1",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"name" : "大于100处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1",
"topPos" : -130
}, {
"codeName" : "DEBUGPARAM2",
"leftPos" : 1220,
"logicNodeType" : "DEBUGPARAM",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"name" : "大于200处理",
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM2",
"topPos" : -37
}, {
"codeName" : "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" : "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
} ],
"getPSDELogicParams" : [ {
"codeName" : "Product",
......
......@@ -111,18 +111,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
......@@ -135,6 +123,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-81-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorderdetail-101-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-81-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorderdetail-101-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册