Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
da930a33
提交
da930a33
编写于
2月 10, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MoneyQ 发布系统代码 [后台服务,演示应用]
上级
59af7b4a
变更
19
显示空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
1059 行增加
和
1330 行删除
+1059
-1330
get-unit-and-price-logic-base.ts
...service/ibizorder-detail/get-unit-and-price-logic-base.ts
+139
-175
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
guide-wizardpanel-base.vue
...ets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
+1
-1
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+13
-13
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+1
-0
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+22
-52
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+12
-1
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
IBIZOrderDetail.json
...odel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
+234
-264
GetUnitAndPrice.json
...AENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json
+234
-264
GetUnitAndPrice.json.bpmn
...TIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.bpmn
+64
-58
GetUnitAndPrice.json.drl
...ITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.drl
+48
-165
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZOrderDetail.json
...odel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
+244
-290
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/src/service/ibizorder-detail/get-unit-and-price-logic-base.ts
浏览文件 @
da930a33
import
IBIZUNIProductService
from
'@/service/ibizuniproduct/ibizuniproduct-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
{
Verify
}
from
'@/utils/verify/verify'
;
...
...
@@ -55,9 +56,9 @@ export default class GetUnitAndPriceLogicBase {
* @memberof GetUnitAndPriceLogicBase
*/
public
initParams
(
opts
:
any
){
this
.
paramsMap
.
set
(
'Product'
,{});
this
.
paramsMap
.
set
(
'Order'
,{});
this
.
paramsMap
.
set
(
'Default'
,
opts
);
this
.
paramsMap
.
set
(
'Order'
,{});
this
.
paramsMap
.
set
(
'Product'
,{});
}
...
...
@@ -76,7 +77,11 @@ export default class GetUnitAndPriceLogicBase {
* @param params 传入参数
*/
public
compute1Cond
(
params
:
any
):
boolean
{
if
(
Verify
.
testCond
(
params
.
unitprice
,
'GT'
,
'100'
)){
return
true
;
}
else
{
return
false
;
}
}
/**
...
...
@@ -107,150 +112,89 @@ export default class GetUnitAndPriceLogicBase {
}
/**
*
执行逻辑
*
计算5节点结果
*
* @param context 应用上下文
* @param params 传入参数
*/
public
onExecute
(
context
:
any
,
params
:
any
,
isloading
:
boolean
)
{
return
t
his
.
executeBegin
(
context
,
params
,
isloading
)
;
public
compute5Cond
(
params
:
any
):
boolean
{
return
t
rue
;
}
/**
* 开始
* 计算6节点结果
*
* @param params 传入参数
*/
private
async
executeBegin
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//开始节点
if
(
this
.
compute0Cond
(
params
)){
return
this
.
executePrepareparam1
(
context
,
params
,
isloading
);
public
compute6Cond
(
params
:
any
):
boolean
{
if
(
Verify
.
testCond
(
params
.
amount
,
'GT'
,
'100'
)){
return
true
;
}
else
{
return
false
;
}
}
/**
* 实体处理逻辑
* 计算7节点结果
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDELOGIC1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DELOGIC暂未支持
console
.
log
(
"DELOGIC暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 直接SQL并循环调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeRAWSQLANDLOOPCALL1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// RAWSQLANDLOOPCALL暂未支持
console
.
log
(
"RAWSQLANDLOOPCALL暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
public
compute7Cond
(
params
:
any
):
boolean
{
if
(
Verify
.
testCond
(
params
.
amount
,
'GT'
,
'200'
)){
return
true
;
}
else
{
return
false
;
}
/**
* 外部接口调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSUBSYSSAMETHOD1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SUBSYSSAMETHOD暂未支持
console
.
log
(
"SUBSYSSAMETHOD暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 获取产品价格异常
* 计算8节点结果
*
* @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
executeDEBUGPARAM1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DEBUGPARAM暂未支持
console
.
log
(
"DEBUGPARAM暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
public
compute8Cond
(
params
:
any
):
boolean
{
return
true
;
}
/**
* 实体数据查询
* 计算9节点结果
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDEDATAQUERY1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DEDATAQUERY暂未支持
console
.
log
(
"DEDATAQUERY暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
public
compute9Cond
(
params
:
any
):
boolean
{
return
true
;
}
/**
* 取消流程
* 执行逻辑
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeCANCELWF1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// CANCELWF暂未支持
console
.
log
(
"CANCELWF暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
public
onExecute
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
return
this
.
executeBegin
(
context
,
params
,
isloading
);
}
/**
* 系统逻辑处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSYSLOGIC1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SYSLOGIC暂未支持
console
.
log
(
"SYSLOGIC暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
*
获取商品ID
*
开始
*
* @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
.
compute1Cond
(
params
)){
return
this
.
executeDeaction1
(
context
,
params
,
isloading
);
private
async
executeBegin
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//开始节点
if
(
this
.
compute0Cond
(
params
)){
return
this
.
executePrepareparam1
(
context
,
params
,
isloading
);
}
}
/**
*
启动流程
*
获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
execute
STARTWF1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//
开始流程
节点
private
async
execute
Throwexception
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//
异常捕获
节点
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
...
...
@@ -272,130 +216,150 @@ 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
.
compute
2
Cond
(
params
)){
return
this
.
execute
End
(
context
,
params
,
isloading
);
if
(
this
.
compute
1
Cond
(
params
)){
return
this
.
execute
PREPAREPARAM3
(
context
,
params
,
isloading
);
}
}
/**
*
服务插件
*
获取商品信息
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSFPLUGIN1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SFPLUGIN暂未支持
console
.
log
(
"SFPLUGIN暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
private
async
executeDeaction1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 行为处理节点
let
result
:
any
;
let
actionParam
:
any
=
this
.
paramsMap
.
get
(
'Product'
);
const
targetService
:
IBIZUNIProductService
=
new
IBIZUNIProductService
();
if
(
targetService
[
'Get'
]
&&
targetService
[
'Get'
]
instanceof
Function
)
{
result
=
await
targetService
[
'Get'
](
actionParam
.
context
,
actionParam
.
data
,
false
);
}
if
(
result
&&
result
.
status
==
200
){
Object
.
assign
(
actionParam
.
data
,
result
.
data
);
if
(
this
.
compute2Cond
(
params
)){
return
this
.
executePrepareparam2
(
context
,
params
,
isloading
);
}
if
(
this
.
compute3Cond
(
params
)){
return
this
.
executeThrowexception
(
context
,
params
,
isloading
);
}
}
}
/**
*
直接Web调用
*
调试逻辑参数
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
execute
RAWWEBCALL1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//
RAWWEBCALL
暂未支持
console
.
log
(
"
RAWWEBCALL
暂未支持"
);
private
async
execute
DEBUGPARAM3
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//
DEBUGPARAM
暂未支持
console
.
log
(
"
DEBUGPARAM
暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
*
实体通知
*
设置orderid
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDENOTIFY1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DENOTIFY暂未支持
console
.
log
(
"DENOTIFY暂未支持"
);
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
});
if
(
this
.
compute4Cond
(
params
)){
return
this
.
executeDEACTION2
(
context
,
params
,
isloading
);
}
}
/**
*
直接SQL调用
*
获取订单信息
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeRAWSQLCALL1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// RAWSQLCALL暂未支持
console
.
log
(
"RAWSQLCALL暂未支持"
);
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
.
compute5Cond
(
params
)){
return
this
.
executeTHROWEXCEPTION2
(
context
,
params
,
isloading
);
}
if
(
this
.
compute6Cond
(
params
)){
return
this
.
executeDEBUGPARAM1
(
context
,
params
,
isloading
);
}
if
(
this
.
compute7Cond
(
params
)){
return
this
.
executeDEBUGPARAM2
(
context
,
params
,
isloading
);
}
if
(
this
.
compute8Cond
(
params
)){
return
this
.
executeDEBUGPARAM3
(
context
,
params
,
isloading
);
}
}
}
/**
*
执行脚本代码
*
大于100处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
execute
RAWSFCODE
1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//
RAWSFCODE
暂未支持
console
.
log
(
"
RAWSFCODE
暂未支持"
);
private
async
execute
DEBUGPARAM
1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
//
DEBUGPARAM
暂未支持
console
.
log
(
"
DEBUGPARAM
暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
*
结束返回
*
获取订单信息异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeEnd
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// END暂未支持
console
.
log
(
"END暂未支持"
);
private
async
executeTHROWEXCEPTION2
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 异常捕获节点
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
*
实体数据集
*
大于200处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDE
DATASET1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DE
DATASET
暂未支持
console
.
log
(
"DE
DATASET
暂未支持"
);
private
async
executeDE
BUGPARAM2
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DE
BUGPARAM
暂未支持
console
.
log
(
"DE
BUGPARAM
暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 获取商品
信息
* 获取商品
ID
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDeaction1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 行为处理节点
let
result
:
any
;
let
actionParam
:
any
=
this
.
paramsMap
.
get
(
'Product'
);
const
targetService
:
IBIZUNIProductService
=
new
IBIZUNIProductService
();
if
(
targetService
[
'Get'
]
&&
targetService
[
'Get'
]
instanceof
Function
)
{
result
=
await
targetService
[
'Get'
](
actionParam
.
context
,
actionParam
.
data
,
false
);
}
if
(
result
&&
result
.
status
==
200
){
Object
.
assign
(
actionParam
.
data
,
result
.
data
);
if
(
this
.
compute3Cond
(
params
)){
return
this
.
executePrepareparam2
(
context
,
params
,
isloading
);
}
if
(
this
.
compute4Cond
(
params
)){
return
this
.
executeThrowexception
(
context
,
params
,
isloading
);
}
}
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
);
}
/**
* 系统数据库表操作
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSYSDBTABLEACTION1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SYSDBTABLEACTION暂未支持
console
.
log
(
"SYSDBTABLEACTION暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
da930a33
...
...
@@ -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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
da930a33
...
...
@@ -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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
da930a33
...
...
@@ -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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
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
:
'IBIZBOOK
WizardView
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrWizardView_plugin
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
浏览文件 @
da930a33
...
...
@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean}
* @memberof GuideBase
*/
public
isShowStepBar
:
Boolean
=
fals
e
;
public
isShowStepBar
:
Boolean
=
tru
e
;
/**
* 获取多项数据
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
da930a33
...
...
@@ -22,14 +22,14 @@
<span
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_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=
"
listviewlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click(
{ tag: 'deuiaction2' }, $event)">
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click(
{ tag: 'deuiaction2' }, $event)">
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{
'删除'
}}
</span>
</i-button>
...
...
@@ -343,7 +343,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
ListView
Base
* @memberof IBIZBOOK
Usr4ListView_layout
Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -363,7 +363,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
ListView
Base
* @memberof IBIZBOOK
Usr4ListView_layout
Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -389,7 +389,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
ListView
Base
* @memberof IBIZBOOK
Usr4ListView_layout
Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -660,9 +660,9 @@ const handleLoadMore = () => {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
ListView
* @memberof IBIZBOOK
Usr4ListView_layout
*/
public
listview
list_quicktoolbarModels
:
any
=
{
public
usr4listview_layout
list_quicktoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
};
...
...
@@ -672,9 +672,9 @@ const handleLoadMore = () => {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
ListView
* @memberof IBIZBOOK
Usr4ListView_layout
*/
public
listview
list_batchtoolbarModels
:
any
=
{
public
usr4listview_layout
list_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'
}
},
...
...
@@ -897,7 +897,7 @@ const handleLoadMore = () => {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -1027,7 +1027,7 @@ const handleLoadMore = () => {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -1132,7 +1132,7 @@ const handleLoadMore = () => {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
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
);
...
...
@@ -1140,7 +1140,7 @@ const handleLoadMore = () => {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
da930a33
...
...
@@ -828,4 +828,5 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
<
style
lang=
'less'
>
@import './quicksearchform-searchform.less';
</
style
>
;
</style>
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
da930a33
...
...
@@ -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
});
/**
* dataview
expbar_dataview
_batchtoolbar 部件 click 事件
* dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public
dataview
expbar_dataview
_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
dataview_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
dataview
expbar_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
.
dataview
expbar_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
dataview
expbar_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
dataview
expbar_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
dataview
expbar_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
dataview
expbar_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 IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
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 IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
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 IBIZBOOK
DataViewExp
View
* @memberof IBIZBOOK
Usr2Data
View
*/
public
dataviewexpviewdataviewexpbar_
dataview_batchtoolbarModels
:
any
=
{
public
usr2dataview
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'
}
},
...
...
@@ -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
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
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
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
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
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
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
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
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
.
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_uc365542_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_uc365542_click
(
data
,
tag
,
$event
);
}
}
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
da930a33
...
...
@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Data
viewexpbar_datav
iewMode
* @memberof Usr2Data
V
iewMode
*/
public
getDataItems
():
any
[]
{
return
[
...
...
@@ -43,6 +43,17 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
da930a33
...
...
@@ -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
:
"IBIZOrderDetailSGridView
9
"
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
da930a33
...
...
@@ -3620,7 +3620,7 @@
"name"
:
"通过商品ID获取单价及单位"
,
"getPSDELogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
32
5
,
"leftPos"
:
14
5
,
"logicNodeType"
:
"BEGIN"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin"
,
"name"
:
"开始"
,
...
...
@@ -3636,365 +3636,336 @@
}
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin"
,
"topPos"
:
80
,
"topPos"
:
216
,
"parallelOutput"
:
true
},
{
"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"
:
710
,
"logicNodeType"
:
"DELOGIC"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1"
,
"name"
:
"实体处理逻辑"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1"
,
"getRetPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
774
},
{
"codeName"
:
"RAWSQLANDLOOPCALL1"
,
"leftPos"
:
730
,
"logicNodeType"
:
"RAWSQLANDLOOPCALL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1"
,
"name"
:
"直接SQL并循环调用"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1"
,
"topPos"
:
1130
},
{
"codeName"
:
"SUBSYSSAMETHOD1"
,
"leftPos"
:
204
,
"logicNodeType"
:
"SUBSYSSAMETHOD"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1"
,
"name"
:
"外部接口调用"
,
"getPSSubSysServiceAPI"
:
"未指定外部服务接口"
,
"getPSSubSysServiceAPIDE"
:
"未指定外部服务接口方法"
,
"getPSSubSysServiceAPIDEMethod"
:
"未指定外部服务接口方法"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1"
,
"topPos"
:
682
},
{
"codeName"
:
"Throwexception"
,
"errorCode"
:
0
,
"errorInfo"
:
"获取产品价格异常"
,
"leftPos"
:
449
,
"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"
:
490
,
"logicNodeType"
:
"DEBUGPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1"
,
"name"
:
"调试逻辑参数"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1"
,
"topPos"
:
1170
},
{
"codeName"
:
"DEDATAQUERY1"
,
"leftPos"
:
340
,
"logicNodeType"
:
"DEDATAQUERY"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1"
,
"name"
:
"实体数据查询"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1"
,
"topPos"
:
590
},
{
"codeName"
:
"CANCELWF1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos"
:
616
,
"logicNodeType"
:
"CANCELWF"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1"
,
"name"
:
"取消流程"
,
"getPSDEWF"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1"
,
"topPos"
:
920
},
{
"codeName"
:
"SYSLOGIC1"
,
"leftPos"
:
555
,
"logicNodeType"
:
"SYSLOGIC"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1"
,
"name"
:
"系统逻辑处理"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1"
,
"topPos"
:
639
},
{
"codeName"
:
"Prepareparam1"
,
"leftPos"
:
313
,
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
775
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam
1
"
,
"name"
:
"
获取商品ID
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam
2
"
,
"name"
:
"
填充单位和单价
"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
"id"
:
"PREPAREPARAM3"
},
"name"
:
"其他处理"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"UNITPRICE"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"logicType"
:
"SINGLE"
,
"name"
:
"Default[UNITPRICE] 大于(>) 100"
,
"paramValue"
:
"100"
}
]
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam
1
"
"id"
:
"Prepareparam
2
"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"
IBIZUNIPRODUCTID
"
,
"dstFieldName"
:
"
UNIT
"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Produc
t"
"id"
:
"
Defaul
t"
},
"name"
:
"
Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID
]"
,
"name"
:
"
Product[UNIT] ==> Default[UNIT
]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"
IBIZUNIPRODUCTID
"
,
"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/Prepareparam
1
"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam
2
"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"STARTWF1"
,
"codeName"
:
"Deaction1"
,
"getDstPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Order
"
"id"
:
"
Product
"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos"
:
555
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
},
"leftPos"
:
430
,
"logicNodeType"
:
"STARTWF"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1"
,
"name"
:
"启动流程"
,
"getPSDEWF"
:
{
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
"id"
:
"Deaction1"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Throwexception"
},
"getPSWorkflow"
:
{
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP.json
"
"id"
:
"Deaction1
"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1"
,
"topPos"
:
920
"catchLink"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
846
,
"codeName"
:
"DEBUGPARAM3"
,
"leftPos"
:
1220
,
"logicNodeType"
:
"DEBUGPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3"
,
"name"
:
"调试逻辑参数"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3"
,
"topPos"
:
58
},
{
"codeName"
:
"PREPAREPARAM3"
,
"leftPos"
:
775
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/P
repareparam2
"
,
"name"
:
"
填充单位和单价
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/P
REPAREPARAM3
"
,
"name"
:
"
设置orderid
"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
End
"
"id"
:
"
DEACTION2
"
},
"name"
:
"连接
3897
"
,
"name"
:
"连接
名称
"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"P
repareparam2
"
"id"
:
"P
REPAREPARAM3
"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"
UNIT
"
,
"dstFieldName"
:
"
IBIZORDERID
"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Default
"
"id"
:
"
Order
"
},
"name"
:
"
Product[UNIT] ==> Default[UNIT
]"
,
"name"
:
"
Default[IBIZORDERID] ==> Order[IBIZORDERID
]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"
UNIT
"
,
"srcFieldName"
:
"
IBIZORDERID
"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Produc
t"
"id"
:
"
Defaul
t"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3"
,
"topPos"
:
-37
},
{
"dstFieldName"
:
"UNITPRICE"
,
"codeName"
:
"DEACTION2"
,
"getDstPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"Order
"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"id"
:
"Product
"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json
"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"topPos"
:
284
,
"parallelOutput"
:
true
},
{
"codeName"
:
"SFPLUGIN1"
,
"leftPos"
:
230
,
"logicNodeType"
:
"SFPLUGIN"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1"
,
"name"
:
"服务插件"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1"
,
"topPos"
:
1150
},
{
"codeName"
:
"RAWWEBCALL1"
,
"getDstPSDELogicParam"
:
{
"leftPos"
:
971
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2"
,
"name"
:
"获取订单信息"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"THROWEXCEPTION2
"
},
"leftPos"
:
460
,
"logicNodeType"
:
"RAWWEBCALL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1"
,
"name"
:
"直接Web调用"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1"
,
"requestMethod"
:
"GET"
,
"requestPath"
:
"/aa/bb"
,
"topPos"
:
790
},
{
"codeName"
:
"DENOTIFY1"
,
"leftPos"
:
313
,
"logicNodeType"
:
"DENOTIFY"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1"
,
"name"
:
"实体通知"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1"
,
"topPos"
:
1054
},
{
"codeName"
:
"RAWSQLCALL1"
,
"leftPos"
:
752
,
"logicNodeType"
:
"RAWSQLCALL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1"
,
"name"
:
"直接SQL调用"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1"
,
"topPos"
:
1021
},
{
"code"
:
"//"
,
"codeName"
:
"RAWSFCODE1"
,
"leftPos"
:
505
,
"logicNodeType"
:
"RAWSFCODE"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1"
,
"name"
:
"执行脚本代码"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1"
,
"topPos"
:
1054
},
{
"codeName"
:
"End"
,
"leftPos"
:
1025
,
"logicNodeType"
:
"END"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End"
,
"name"
:
"结束返回"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End"
,
"getReturnParam"
:
{
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"DEACTION2
"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
377
"catchLink"
:
true
},
{
"codeName"
:
"DEDATASET1"
,
"getDstPSDEDataSet"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"DEBUGPARAM1
"
},
"getDstPSDELogicParam"
:
{
"name"
:
">100"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"AMOUNT"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"Order
"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
"logicType"
:
"SINGLE"
,
"name"
:
"Order[AMOUNT] 大于(>) 100"
,
"paramValue"
:
"100"
}
]
},
"leftPos"
:
616
,
"logicNodeType"
:
"DEDATASET"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1"
,
"name"
:
"实体数据集"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1"
,
"topPos"
:
498
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEACTION2"
}
},
{
"codeName"
:
"Deaction1"
,
"getDstPSDEAction"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json
"
"id"
:
"DEBUGPARAM2
"
},
"getDstPSDELogicParam"
:
{
"name"
:
">200"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"AMOUNT"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product
"
"id"
:
"Order
"
},
"getDstPSDataEntity"
:
{
"logicType"
:
"SINGLE"
,
"name"
:
"Order[AMOUNT] 大于(>) 200"
,
"paramValue"
:
"200"
}
]
},
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
"id"
:
"DEACTION2"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEBUGPARAM3"
},
"leftPos"
:
555
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
"name"
:
"默认"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEACTION2"
},
"defaultLink"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2"
,
"topPos"
:
-37
},
{
"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"
:
"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"
,
"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"
:
"Prepareparam1"
,
"leftPos"
:
313
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1"
,
"name"
:
"获取商品ID"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
Prepareparam2
"
"id"
:
"
Deaction1
"
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
Deaction
1"
"id"
:
"
Prepareparam
1"
}
},
{
"getDstPSDELogicNode"
:
{
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"IBIZUNIPRODUCTID"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Throwexception
"
"id"
:
"
Product
"
},
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"name"
:
"Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"IBIZUNIPRODUCTID"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"De
action1
"
"id"
:
"De
fault
"
},
"
catchLink"
:
true
"
srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/
Deaction
1"
,
"topPos"
:
22
3
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/
Prepareparam
1"
,
"topPos"
:
22
4
,
"parallelOutput"
:
true
},
{
"codeName"
:
"SYSDBTABLEACTION1"
,
"leftPos"
:
245
,
"logicNodeType"
:
"SYSDBTABLEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1"
,
"name"
:
"系统数据库表操作"
,
"getPSSysDBScheme"
:
"未指定数据库体系"
,
"getPSSysDBTable"
:
"未指定数据表"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1"
,
"topPos"
:
821
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"
Produc
t"
,
"logicName"
:
"
商品
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Produc
t"
,
"name"
:
"
商品
"
,
"codeName"
:
"
Defaul
t"
,
"logicName"
:
"
传入变量
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Defaul
t"
,
"name"
:
"
传入变量
"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
OrderDetail
.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"Order"
,
...
...
@@ -4008,16 +3979,15 @@
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order"
,
"entityParam"
:
true
},
{
"codeName"
:
"
Defaul
t"
,
"logicName"
:
"
传入变量
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Defaul
t"
,
"name"
:
"
传入变量
"
,
"codeName"
:
"
Produc
t"
,
"logicName"
:
"
商品
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Produc
t"
,
"name"
:
"
商品
"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
OrderDetail
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default"
,
"default"
:
true
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product"
,
"entityParam"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json
浏览文件 @
da930a33
...
...
@@ -7,7 +7,7 @@
"name"
:
"通过商品ID获取单价及单位"
,
"getPSDELogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
32
5
,
"leftPos"
:
14
5
,
"logicNodeType"
:
"BEGIN"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin"
,
"name"
:
"开始"
,
...
...
@@ -23,365 +23,336 @@
}
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin"
,
"topPos"
:
80
,
"topPos"
:
216
,
"parallelOutput"
:
true
},
{
"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"
:
710
,
"logicNodeType"
:
"DELOGIC"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1"
,
"name"
:
"实体处理逻辑"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DELOGIC1"
,
"getRetPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
774
},
{
"codeName"
:
"RAWSQLANDLOOPCALL1"
,
"leftPos"
:
730
,
"logicNodeType"
:
"RAWSQLANDLOOPCALL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1"
,
"name"
:
"直接SQL并循环调用"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLANDLOOPCALL1"
,
"topPos"
:
1130
},
{
"codeName"
:
"SUBSYSSAMETHOD1"
,
"leftPos"
:
204
,
"logicNodeType"
:
"SUBSYSSAMETHOD"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1"
,
"name"
:
"外部接口调用"
,
"getPSSubSysServiceAPI"
:
"未指定外部服务接口"
,
"getPSSubSysServiceAPIDE"
:
"未指定外部服务接口方法"
,
"getPSSubSysServiceAPIDEMethod"
:
"未指定外部服务接口方法"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SUBSYSSAMETHOD1"
,
"topPos"
:
682
},
{
"codeName"
:
"Throwexception"
,
"errorCode"
:
0
,
"errorInfo"
:
"获取产品价格异常"
,
"leftPos"
:
449
,
"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"
:
490
,
"logicNodeType"
:
"DEBUGPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1"
,
"name"
:
"调试逻辑参数"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM1"
,
"topPos"
:
1170
},
{
"codeName"
:
"DEDATAQUERY1"
,
"leftPos"
:
340
,
"logicNodeType"
:
"DEDATAQUERY"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1"
,
"name"
:
"实体数据查询"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATAQUERY1"
,
"topPos"
:
590
},
{
"codeName"
:
"CANCELWF1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos"
:
616
,
"logicNodeType"
:
"CANCELWF"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1"
,
"name"
:
"取消流程"
,
"getPSDEWF"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/CANCELWF1"
,
"topPos"
:
920
},
{
"codeName"
:
"SYSLOGIC1"
,
"leftPos"
:
555
,
"logicNodeType"
:
"SYSLOGIC"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1"
,
"name"
:
"系统逻辑处理"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSLOGIC1"
,
"topPos"
:
639
},
{
"codeName"
:
"Prepareparam1"
,
"leftPos"
:
313
,
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
775
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam
1
"
,
"name"
:
"
获取商品ID
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam
2
"
,
"name"
:
"
填充单位和单价
"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
"id"
:
"PREPAREPARAM3"
},
"name"
:
"其他处理"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"UNITPRICE"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"logicType"
:
"SINGLE"
,
"name"
:
"Default[UNITPRICE] 大于(>) 100"
,
"paramValue"
:
"100"
}
]
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam
1
"
"id"
:
"Prepareparam
2
"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"
IBIZUNIPRODUCTID
"
,
"dstFieldName"
:
"
UNIT
"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Produc
t"
"id"
:
"
Defaul
t"
},
"name"
:
"
Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID
]"
,
"name"
:
"
Product[UNIT] ==> Default[UNIT
]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"
IBIZUNIPRODUCTID
"
,
"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/Prepareparam
1
"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam
2
"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"STARTWF1"
,
"codeName"
:
"Deaction1"
,
"getDstPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Order
"
"id"
:
"
Product
"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos"
:
555
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
},
"leftPos"
:
430
,
"logicNodeType"
:
"STARTWF"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1"
,
"name"
:
"启动流程"
,
"getPSDEWF"
:
{
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
"id"
:
"Deaction1"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Throwexception"
},
"getPSWorkflow"
:
{
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP.json
"
"id"
:
"Deaction1
"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1"
,
"topPos"
:
920
"catchLink"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
846
,
"codeName"
:
"DEBUGPARAM3"
,
"leftPos"
:
1220
,
"logicNodeType"
:
"DEBUGPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3"
,
"name"
:
"调试逻辑参数"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEBUGPARAM3"
,
"topPos"
:
58
},
{
"codeName"
:
"PREPAREPARAM3"
,
"leftPos"
:
775
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/P
repareparam2
"
,
"name"
:
"
填充单位和单价
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/P
REPAREPARAM3
"
,
"name"
:
"
设置orderid
"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
End
"
"id"
:
"
DEACTION2
"
},
"name"
:
"连接
3897
"
,
"name"
:
"连接
名称
"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"P
repareparam2
"
"id"
:
"P
REPAREPARAM3
"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"
UNIT
"
,
"dstFieldName"
:
"
IBIZORDERID
"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Default
"
"id"
:
"
Order
"
},
"name"
:
"
Product[UNIT] ==> Default[UNIT
]"
,
"name"
:
"
Default[IBIZORDERID] ==> Order[IBIZORDERID
]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"
UNIT
"
,
"srcFieldName"
:
"
IBIZORDERID
"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Produc
t"
"id"
:
"
Defaul
t"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/PREPAREPARAM3"
,
"topPos"
:
-37
},
{
"dstFieldName"
:
"UNITPRICE"
,
"codeName"
:
"DEACTION2"
,
"getDstPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"Order
"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"id"
:
"Product
"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json
"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"topPos"
:
284
,
"parallelOutput"
:
true
},
{
"codeName"
:
"SFPLUGIN1"
,
"leftPos"
:
230
,
"logicNodeType"
:
"SFPLUGIN"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1"
,
"name"
:
"服务插件"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SFPLUGIN1"
,
"topPos"
:
1150
},
{
"codeName"
:
"RAWWEBCALL1"
,
"getDstPSDELogicParam"
:
{
"leftPos"
:
971
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2"
,
"name"
:
"获取订单信息"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"THROWEXCEPTION2
"
},
"leftPos"
:
460
,
"logicNodeType"
:
"RAWWEBCALL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1"
,
"name"
:
"直接Web调用"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWWEBCALL1"
,
"requestMethod"
:
"GET"
,
"requestPath"
:
"/aa/bb"
,
"topPos"
:
790
},
{
"codeName"
:
"DENOTIFY1"
,
"leftPos"
:
313
,
"logicNodeType"
:
"DENOTIFY"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1"
,
"name"
:
"实体通知"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DENOTIFY1"
,
"topPos"
:
1054
},
{
"codeName"
:
"RAWSQLCALL1"
,
"leftPos"
:
752
,
"logicNodeType"
:
"RAWSQLCALL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1"
,
"name"
:
"直接SQL调用"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSQLCALL1"
,
"topPos"
:
1021
},
{
"code"
:
"//"
,
"codeName"
:
"RAWSFCODE1"
,
"leftPos"
:
505
,
"logicNodeType"
:
"RAWSFCODE"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1"
,
"name"
:
"执行脚本代码"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/RAWSFCODE1"
,
"topPos"
:
1054
},
{
"codeName"
:
"End"
,
"leftPos"
:
1025
,
"logicNodeType"
:
"END"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End"
,
"name"
:
"结束返回"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/End"
,
"getReturnParam"
:
{
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"DEACTION2
"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
377
"catchLink"
:
true
},
{
"codeName"
:
"DEDATASET1"
,
"getDstPSDEDataSet"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"DEBUGPARAM1
"
},
"getDstPSDELogicParam"
:
{
"name"
:
">100"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"AMOUNT"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"Order
"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
"logicType"
:
"SINGLE"
,
"name"
:
"Order[AMOUNT] 大于(>) 100"
,
"paramValue"
:
"100"
}
]
},
"leftPos"
:
616
,
"logicNodeType"
:
"DEDATASET"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1"
,
"name"
:
"实体数据集"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEDATASET1"
,
"topPos"
:
498
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEACTION2"
}
},
{
"codeName"
:
"Deaction1"
,
"getDstPSDEAction"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json
"
"id"
:
"DEBUGPARAM2
"
},
"getDstPSDELogicParam"
:
{
"name"
:
">200"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"AMOUNT"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product
"
"id"
:
"Order
"
},
"getDstPSDataEntity"
:
{
"logicType"
:
"SINGLE"
,
"name"
:
"Order[AMOUNT] 大于(>) 200"
,
"paramValue"
:
"200"
}
]
},
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
"id"
:
"DEACTION2"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEBUGPARAM3"
},
"leftPos"
:
555
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
"name"
:
"默认"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEACTION2"
},
"defaultLink"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/DEACTION2"
,
"topPos"
:
-37
},
{
"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"
:
"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"
,
"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"
:
"Prepareparam1"
,
"leftPos"
:
313
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1"
,
"name"
:
"获取商品ID"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
Prepareparam2
"
"id"
:
"
Deaction1
"
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
Deaction
1"
"id"
:
"
Prepareparam
1"
}
},
{
"getDstPSDELogicNode"
:
{
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"IBIZUNIPRODUCTID"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Throwexception
"
"id"
:
"
Product
"
},
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"name"
:
"Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"IBIZUNIPRODUCTID"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"De
action1
"
"id"
:
"De
fault
"
},
"
catchLink"
:
true
"
srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/
Deaction
1"
,
"topPos"
:
22
3
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/
Prepareparam
1"
,
"topPos"
:
22
4
,
"parallelOutput"
:
true
},
{
"codeName"
:
"SYSDBTABLEACTION1"
,
"leftPos"
:
245
,
"logicNodeType"
:
"SYSDBTABLEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1"
,
"name"
:
"系统数据库表操作"
,
"getPSSysDBScheme"
:
"未指定数据库体系"
,
"getPSSysDBTable"
:
"未指定数据表"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/SYSDBTABLEACTION1"
,
"topPos"
:
821
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"
Produc
t"
,
"logicName"
:
"
商品
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Produc
t"
,
"name"
:
"
商品
"
,
"codeName"
:
"
Defaul
t"
,
"logicName"
:
"
传入变量
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Defaul
t"
,
"name"
:
"
传入变量
"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
OrderDetail
.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"Order"
,
...
...
@@ -395,16 +366,15 @@
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order"
,
"entityParam"
:
true
},
{
"codeName"
:
"
Defaul
t"
,
"logicName"
:
"
传入变量
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Defaul
t"
,
"name"
:
"
传入变量
"
,
"codeName"
:
"
Produc
t"
,
"logicName"
:
"
商品
"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/
Produc
t"
,
"name"
:
"
商品
"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
OrderDetail
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default"
,
"default"
:
true
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Product"
,
"entityParam"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.bpmn
浏览文件 @
da930a33
...
...
@@ -5,83 +5,89 @@
<tns:import
name=
"java.util.Map"
/>
<tns:import
name=
"org.springframework.util.StringUtils"
/>
<tns:import
name=
"cn.ibizlab.util.helper.RuleUtils"
/>
<tns:metaData
express=
"new cn.ibizlab.core.sample.domain.IBIZUNIProduct()"
name=
"ibizorderdetailgetunitandpriceproduct"
type=
"refentity"
/>
<tns:metaData
express=
"new cn.ibizlab.core.sample.domain.IBIZOrder()"
name=
"ibizorderdetailgetunitandpriceorder"
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.IIBIZBOOKService))"
name=
"ibizbookservice"
type=
"service"
/>
<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=
"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.IIBIZOrderService))"
name=
"ibizorderservice"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))"
name=
"iBzSysIbizorderdetailDefaultService"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()"
name=
"curuser"
type=
"session"
/>
<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=
"ibizorderdetailgetunitandpricedefault"
type=
"cn.ibizlab.core.sample.domain.IBIZOrderDetail"
/>
<tns:global
identifier=
"ibizorderdetailgetunitandpriceorder"
type=
"cn.ibizlab.core.sample.domain.IBIZOrder"
/>
<tns:global
identifier=
"ibizorderdetailgetunitandpriceproduct"
type=
"cn.ibizlab.core.sample.domain.IBIZUNIProduct"
/>
</extensionElements>
<startEvent
id=
"begin"
isInterrupting=
"true"
/>
<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=
"ibizorderdetailgetunitandpricerawsqlandloopcall1"
id=
"rawsqlandloopcall1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"直接SQL并循环调用"
/>
<endEvent
id=
"rawsqlandloopcall1_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsqlandloopcall1_end_line"
sourceRef=
"rawsqlandloopcall1"
targetRef=
"rawsqlandloopcall1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricesubsyssamethod1"
id=
"subsyssamethod1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"外部接口调用"
/>
<endEvent
id=
"subsyssamethod1_end"
name=
"end"
/>
<sequenceFlow
id=
"subsyssamethod1_end_line"
sourceRef=
"subsyssamethod1"
targetRef=
"subsyssamethod1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricethrowexception"
id=
"throwexception"
implementation=
"http://www.jboss.org/drools/rule"
name=
"获取产品价格异常"
/>
<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=
"调试逻辑参数"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpriceprepareparam2"
id=
"prepareparam2"
implementation=
"http://www.jboss.org/drools/rule"
name=
"填充单位和单价"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricedeaction1"
id=
"deaction1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"获取商品信息"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"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=
"ibizorderdetailgetunitandpriceprepareparam3"
id=
"prepareparam3"
implementation=
"http://www.jboss.org/drools/rule"
name=
"设置orderid"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricedeaction2"
id=
"deaction2"
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=
"ibizorderdetailgetunitandpricededataquery1"
id=
"dedataquery1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"实体数据查询"
/>
<endEvent
id=
"dedataquery1_end"
name=
"end"
/>
<sequenceFlow
id=
"dedataquery1_end_line"
sourceRef=
"dedataquery1"
targetRef=
"dedataquery1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricecancelwf1"
id=
"cancelwf1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"取消流程"
/>
<endEvent
id=
"cancelwf1_end"
name=
"end"
/>
<sequenceFlow
id=
"cancelwf1_end_line"
sourceRef=
"cancelwf1"
targetRef=
"cancelwf1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricesyslogic1"
id=
"syslogic1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"系统逻辑处理"
/>
<endEvent
id=
"syslogic1_end"
name=
"end"
/>
<sequenceFlow
id=
"syslogic1_end_line"
sourceRef=
"syslogic1"
targetRef=
"syslogic1_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=
"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=
"ibizorderdetailgetunitandpriceprepareparam1"
id=
"prepareparam1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"获取商品ID"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricestartwf1"
id=
"startwf1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"启动流程"
/>
<endEvent
id=
"startwf1_end"
name=
"end"
/>
<sequenceFlow
id=
"startwf1_end_line"
sourceRef=
"startwf1"
targetRef=
"startwf1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpriceprepareparam2"
id=
"prepareparam2"
implementation=
"http://www.jboss.org/drools/rule"
name=
"填充单位和单价"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricesfplugin1"
id=
"sfplugin1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"服务插件"
/>
<endEvent
id=
"sfplugin1_end"
name=
"end"
/>
<sequenceFlow
id=
"sfplugin1_end_line"
sourceRef=
"sfplugin1"
targetRef=
"sfplugin1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricerawwebcall1"
id=
"rawwebcall1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"直接Web调用"
/>
<endEvent
id=
"rawwebcall1_end"
name=
"end"
/>
<sequenceFlow
id=
"rawwebcall1_end_line"
sourceRef=
"rawwebcall1"
targetRef=
"rawwebcall1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricedenotify1"
id=
"denotify1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"实体通知"
/>
<endEvent
id=
"denotify1_end"
name=
"end"
/>
<sequenceFlow
id=
"denotify1_end_line"
sourceRef=
"denotify1"
targetRef=
"denotify1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricerawsqlcall1"
id=
"rawsqlcall1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"直接SQL调用"
/>
<endEvent
id=
"rawsqlcall1_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsqlcall1_end_line"
sourceRef=
"rawsqlcall1"
targetRef=
"rawsqlcall1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricerawsfcode1"
id=
"rawsfcode1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"执行脚本代码"
/>
<endEvent
id=
"rawsfcode1_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsfcode1_end_line"
sourceRef=
"rawsfcode1"
targetRef=
"rawsfcode1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpriceend"
id=
"end"
implementation=
"http://www.jboss.org/drools/rule"
name=
"结束返回"
/>
<endEvent
id=
"end_end"
name=
"end"
/>
<sequenceFlow
id=
"end_end_line"
sourceRef=
"end"
targetRef=
"end_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricededataset1"
id=
"dedataset1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"实体数据集"
/>
<endEvent
id=
"dedataset1_end"
name=
"end"
/>
<sequenceFlow
id=
"dedataset1_end_line"
sourceRef=
"dedataset1"
targetRef=
"dedataset1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricedeaction1"
id=
"deaction1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"获取商品信息"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricesysdbtableaction1"
id=
"sysdbtableaction1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"系统数据库表操作"
/>
<endEvent
id=
"sysdbtableaction1_end"
name=
"end"
/>
<sequenceFlow
id=
"sysdbtableaction1_end_line"
sourceRef=
"sysdbtableaction1"
targetRef=
"sysdbtableaction1_end"
/>
<sequenceFlow
id=
"begin_prepareparam1"
sourceRef=
"begin"
targetRef=
"prepareparam1"
>
</sequenceFlow>
<sequenceFlow
id=
"prepareparam1_deaction1"
sourceRef=
"prepareparam1"
targetRef=
"deaction1"
>
</sequenceFlow>
<sequenceFlow
id=
"prepareparam2_end"
sourceRef=
"prepareparam2"
targetRef=
"end"
>
<sequenceFlow
id=
"gateway-prepareparam2_prepareparam3"
sourceRef=
"gateway-prepareparam2"
targetRef=
"prepareparam3"
>
<conditionExpression
language=
"http://www.jboss.org/drools/rule"
>
<![CDATA[
$ibizorderdetailgetunitandpricedefault:IBIZOrderDetail();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct);
eval((RuleUtils.test($ibizorderdetailgetunitandpricedefault.get("unitprice"),"GT","100")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow
id=
"deaction1_prepareparam2"
sourceRef=
"deaction1"
targetRef=
"prepareparam2"
>
</sequenceFlow>
<sequenceFlow
id=
"deaction1_throwexception"
sourceRef=
"deaction1"
targetRef=
"throwexception"
>
</sequenceFlow>
<sequenceFlow
id=
"prepareparam3_deaction2"
sourceRef=
"prepareparam3"
targetRef=
"deaction2"
>
</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();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct);
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();
$ibizorderdetailgetunitandpriceorder:IBIZOrder();
$ibizorderdetailgetunitandpriceproduct:IBIZUNIProduct();
eval($ibizorderdetailgetunitandpricedefault==ibizorderdetailgetunitandpricedefault && $ibizorderdetailgetunitandpriceorder==ibizorderdetailgetunitandpriceorder && $ibizorderdetailgetunitandpriceproduct==ibizorderdetailgetunitandpriceproduct);
eval((RuleUtils.test($ibizorderdetailgetunitandpriceorder.get("amount"),"GT","200")))
]]>
</conditionExpression>
</sequenceFlow>
<sequenceFlow
id=
"deaction2_debugparam3"
sourceRef=
"deaction2"
targetRef=
"debugparam3"
>
</sequenceFlow>
<sequenceFlow
id=
"prepareparam1_deaction1"
sourceRef=
"prepareparam1"
targetRef=
"deaction1"
>
</sequenceFlow>
<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
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.drl
浏览文件 @
da930a33
...
...
@@ -5,14 +5,11 @@ 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
.
IBIZUNIProduct
ibizorderdetailgetunitandpriceproduct
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZOrder
ibizorderdetailgetunitandpriceorder
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZOrderDetail
ibizorderdetailgetunitandpricedefault
;
global
cn
.
ibizlab
.
util
.
client
.
IBZWFFeignClient
wfClient
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderDetailService
ibizorderdetailservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderService
ibizorderservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZBOOKService
ibizbookservice
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZOrder
ibizorderdetailgetunitandpriceorder
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZUNIProduct
ibizorderdetailgetunitandpriceproduct
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZUNIProductService
ibizuniproductservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderService
ibizorderservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderDetailService
iBzSysIbizorderdetailDefaultService
;
global
cn
.
ibizlab
.
util
.
security
.
AuthenticationUser
curuser
;
...
...
@@ -26,118 +23,14 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
end
//
逻辑处理节点
[
实体处理逻辑
]
rule
"delogic1"
ruleflow
-
group
"ibizorderdetailgetunitandpricedelogic1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
直接
sql
并循环调用
]
rule
"rawsqlandloopcall1"
ruleflow
-
group
"ibizorderdetailgetunitandpricerawsqlandloopcall1"
when
then
Map
param
=
null
;
String
strSql
=
""
;
java
.
util
.
List
<
JSONObject
>
entities
=
iBzSysIbizorderdetailDefaultService
.
select
(
strSql
,
param
);//
SQL
调用
if
(
entities
.
size
()>
0
){
}
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
外部接口调用
]
rule
"subsyssamethod1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesubsyssamethod1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
获取产品价格异常
]
rule
"throwexception"
ruleflow
-
group
"ibizorderdetailgetunitandpricethrowexception"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
调试逻辑参数
]
rule
"debugparam1"
ruleflow
-
group
"ibizorderdetailgetunitandpricedebugparam1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
实体数据查询
]
rule
"dedataquery1"
ruleflow
-
group
"ibizorderdetailgetunitandpricededataquery1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
取消流程
]
rule
"cancelwf1"
ruleflow
-
group
"ibizorderdetailgetunitandpricecancelwf1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
系统逻辑处理
]
rule
"syslogic1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesyslogic1"
when
then
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
中变量值
end
//
逻辑处理节点
[
启动流程
]
rule
"startwf1"
ruleflow
-
group
"ibizorderdetailgetunitandpricestartwf1"
when
then
JSONObject
activeData
=(
JSONObject
)
JSONObject
.
toJSON
(
ibizorderdetailgetunitandpriceorder
);
Object
businessKey
=
ibizorderdetailgetunitandpriceorder
.
get
(
"ibizorderid"
);
String
appName
=
"web"
;
if
(
StringUtils
.
isEmpty
(
appName
))
throw
new
BadRequestAlertException
(
"无法获取流程应用名称,请检查[订单]实体是否已经添加到应用"
,
"StartWF"
,
""
);
if
(
ObjectUtils
.
isEmpty
(
businessKey
))
throw
new
BadRequestAlertException
(
"启动流程失败,逻辑参数[order]中未包含实体业务主键"
,
"StartWF"
,
""
);
wfClient
.
wfstart
(
"DemoSys"
,
appName
,
"ibizorders"
,
String
.
valueOf
(
businessKey
),
activeData
);
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
填充单位和单价
]
...
...
@@ -147,101 +40,91 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
ibizorderdetailgetunitandpricedefault
.
set
(
"unit"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unit"
));
ibizorderdetailgetunitandpricedefault
.
set
(
"unitprice"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unitprice"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
服务插件
]
rule
"sfplugin1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesfplugin1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandprice
defaul
t
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandprice
produc
t
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
直接
web
调用
]
rule
"
rawwebcall
1"
ruleflow
-
group
"ibizorderdetailgetunitandprice
rawwebcall
1"
//
逻辑处理节点
[
获取商品信息
]
rule
"
deaction
1"
ruleflow
-
group
"ibizorderdetailgetunitandprice
deaction
1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizuniproductservice
.
get
(
ibizorderdetailgetunitandpriceproduct
.
getIbizuniproductid
()),
ibizorderdetailgetunitandpriceproduct
);
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
实体通知
]
rule
"de
notify1
"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
notify1
"
//
逻辑处理节点
[
调试逻辑参数
]
rule
"de
bugparam3
"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
bugparam3
"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
直接
sql
调用
]
rule
"
rawsqlcall1
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
rawsqlcall1
"
//
逻辑处理节点
[
设置
orderid
]
rule
"
prepareparam3
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam3
"
when
then
Map
param
=
null
;
String
strSql
=
""
;
iBzSysIbizorderdetailDefaultService
.
execute
(
strSql
,
param
);//
SQL
调用
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
ibizorderdetailgetunitandpriceorder
.
set
(
"ibizorderid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizorderid"
));
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
执行脚本代码
]
rule
"
rawsfcode1
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
rawsfcode1
"
//
逻辑处理节点
[
获取订单信息
]
rule
"
deaction2
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
deaction2
"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizorderservice
.
get
(
ibizorderdetailgetunitandpriceorder
.
getIbizorderid
()),
ibizorderdetailgetunitandpriceorder
);
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
结束返回
]
rule
"
end
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
end
"
//
逻辑处理节点
[
大于
100
处理
]
rule
"
debugparam1
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
debugparam1
"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
实体数据集
]
rule
"
dedataset1
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
dedataset1
"
//
逻辑处理节点
[
获取订单信息异常
]
rule
"
throwexception2
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
throwexception2
"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
获取商品信息
]
rule
"de
action1
"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
action1
"
//
逻辑处理节点
[
大于
200
处理
]
rule
"de
bugparam2
"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
bugparam2
"
when
then
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizuniproductservice
.
get
(
ibizorderdetailgetunitandpriceproduct
.
getIbizuniproductid
()),
ibizorderdetailgetunitandpriceproduct
);
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
系统数据库表操作
]
rule
"
sysdbtableaction
1"
ruleflow
-
group
"ibizorderdetailgetunitandprice
sysdbtableaction
1"
//
逻辑处理节点
[
获取商品
id
]
rule
"
prepareparam
1"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam
1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
ibizorderdetailgetunitandpriceproduct
.
set
(
"ibizuniproductid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizuniproductid"
));
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
end
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
da930a33
...
...
@@ -20,18 +20,6 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -43,6 +31,18 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
da930a33
...
...
@@ -2680,7 +2680,7 @@
"name"
:
"通过商品ID获取单价及单位"
,
"getPSDELogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
32
5
,
"leftPos"
:
14
5
,
"logicNodeType"
:
"BEGIN"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin"
,
"name"
:
"开始"
,
...
...
@@ -2696,200 +2696,46 @@
}
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin"
,
"topPos"
:
80
,
"topPos"
:
216
,
"parallelOutput"
:
true
},
{
"codeName"
:
"DELOGIC1"
,
"getDstPSAppDELogic"
:
{
"modelref"
:
true
,
"id"
:
"CountMoney"
},
"getDstPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
},
"getDstPSDELogic"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
},
"leftPos"
:
710
,
"logicNodeType"
:
"DELOGIC"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1"
,
"name"
:
"实体处理逻辑"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DELOGIC1"
,
"getRetPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"topPos"
:
774
},
{
"codeName"
:
"RAWSQLANDLOOPCALL1"
,
"leftPos"
:
730
,
"logicNodeType"
:
"RAWSQLANDLOOPCALL"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLANDLOOPCALL1"
,
"name"
:
"直接SQL并循环调用"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLANDLOOPCALL1"
,
"topPos"
:
1130
},
{
"codeName"
:
"SUBSYSSAMETHOD1"
,
"leftPos"
:
204
,
"logicNodeType"
:
"SUBSYSSAMETHOD"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SUBSYSSAMETHOD1"
,
"name"
:
"外部接口调用"
,
"getPSSubSysServiceAPI"
:
"未指定外部服务接口"
,
"getPSSubSysServiceAPIDE"
:
"未指定外部服务接口方法"
,
"getPSSubSysServiceAPIDEMethod"
:
"未指定外部服务接口方法"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SUBSYSSAMETHOD1"
,
"topPos"
:
682
},
{
"codeName"
:
"Throwexception"
,
"errorCode"
:
0
,
"errorInfo"
:
"获取产品价格异常"
,
"leftPos"
:
449
,
"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"
:
490
,
"logicNodeType"
:
"DEBUGPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1"
,
"name"
:
"调试逻辑参数"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM1"
,
"topPos"
:
1170
},
{
"codeName"
:
"DEDATAQUERY1"
,
"leftPos"
:
340
,
"logicNodeType"
:
"DEDATAQUERY"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY1"
,
"name"
:
"实体数据查询"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATAQUERY1"
,
"topPos"
:
590
},
{
"codeName"
:
"CANCELWF1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos"
:
616
,
"logicNodeType"
:
"CANCELWF"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1"
,
"name"
:
"取消流程"
,
"getPSAppWF"
:
{
"modelref"
:
true
,
"id"
:
"ODSP"
},
"getPSDEWF"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/CANCELWF1"
,
"topPos"
:
920
},
{
"codeName"
:
"SYSLOGIC1"
,
"leftPos"
:
555
,
"logicNodeType"
:
"SYSLOGIC"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSLOGIC1"
,
"name"
:
"系统逻辑处理"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSLOGIC1"
,
"topPos"
:
639
},
{
"codeName"
:
"Prepareparam1"
,
"leftPos"
:
313
,
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
775
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam
1
"
,
"name"
:
"
获取商品ID
"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam
2
"
,
"name"
:
"
填充单位和单价
"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam1"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"IBIZUNIPRODUCTID"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
"id"
:
"PREPAREPARAM3"
},
"name"
:
"Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"IBIZUNIPRODUCTID"
,
"getSrcPSDELogicParam"
:
{
"name"
:
"其他处理"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"UNITPRICE"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"STARTWF1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos"
:
430
,
"logicNodeType"
:
"STARTWF"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/STARTWF1"
,
"name"
:
"启动流程"
,
"getPSAppWF"
:
{
"modelref"
:
true
,
"id"
:
"ODSP"
},
"getPSDEWF"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP/PSWFDES/IBIZOrder.json"
},
"getPSWorkflow"
:
{
"modelref"
:
true
,
"path"
:
"PSWORKFLOWS/ODSP.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/STARTWF1"
,
"topPos"
:
920
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
846
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"End"
"logicType"
:
"SINGLE"
,
"name"
:
"Default[UNITPRICE] 大于(>) 100"
,
"paramValue"
:
"100"
}
]
},
"name"
:
"连接3897"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
...
...
@@ -2925,172 +2771,281 @@
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2"
,
"topPos"
:
2
8
4
,
"topPos"
:
2
2
4
,
"parallelOutput"
:
true
},
{
"codeName"
:
"SFPLUGIN1"
,
"leftPos"
:
230
,
"logicNodeType"
:
"SFPLUGIN"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SFPLUGIN1"
,
"name"
:
"服务插件"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SFPLUGIN1"
,
"topPos"
:
1150
},
{
"codeName"
:
"RAWWEBCALL1"
,
"codeName"
:
"Deaction1"
,
"getDstPSAppDEAction"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getDstPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
},
"getDstPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Defaul
t"
"id"
:
"
Produc
t"
},
"leftPos"
:
460
,
"logicNodeType"
:
"RAWWEBCALL"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWWEBCALL1"
,
"name"
:
"直接Web调用"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWWEBCALL1"
,
"requestMethod"
:
"GET"
,
"requestPath"
:
"/aa/bb"
,
"topPos"
:
790
},
{
"codeName"
:
"DENOTIFY1"
,
"leftPos"
:
313
,
"logicNodeType"
:
"DENOTIFY"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DENOTIFY1"
,
"name"
:
"实体通知"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DENOTIFY1"
,
"topPos"
:
1054
},
{
"codeName"
:
"RAWSQLCALL1"
,
"leftPos"
:
752
,
"logicNodeType"
:
"RAWSQLCALL"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLCALL1"
,
"name"
:
"直接SQL调用"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSQLCALL1"
,
"topPos"
:
1021
},
{
"code"
:
"//"
,
"codeName"
:
"RAWSFCODE1"
,
"leftPos"
:
505
,
"logicNodeType"
:
"RAWSFCODE"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSFCODE1"
,
"name"
:
"执行脚本代码"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/RAWSFCODE1"
,
"topPos"
:
1054
},
{
"codeName"
:
"End"
,
"leftPos"
:
1025
,
"logicNodeType"
:
"END"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/End"
,
"name"
:
"结束返回"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/End"
,
"getReturnParam"
:
{
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"id"
:
"Default"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos"
:
555
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
377
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
}
},
{
"codeName"
:
"DEDATASET1"
,
"getDstPSAppDEDataSet"
:
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault
"
"id"
:
"Throwexception
"
},
"getDstPSAppDataEntity"
:
{
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
"
"id"
:
"Deaction1
"
},
"getDstPSDEDataSet"
:
{
"catchLink"
:
true
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"DEBUGPARAM3"
,
"leftPos"
:
1220
,
"logicNodeType"
:
"DEBUGPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3"
,
"name"
:
"调试逻辑参数"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEBUGPARAM3"
,
"topPos"
:
58
},
{
"codeName"
:
"PREPAREPARAM3"
,
"leftPos"
:
775
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3"
,
"name"
:
"设置orderid"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"DEACTION2
"
},
"name"
:
"连接名称"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"PREPAREPARAM3"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"IBIZORDERID"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default
"
"id"
:
"Order
"
},
"getDstPSDataEntity"
:
{
"name"
:
"Default[IBIZORDERID] ==> Order[IBIZORDERID]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"IBIZORDERID"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
"
"id"
:
"Default
"
},
"leftPos"
:
616
,
"logicNodeType"
:
"DEDATASET"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1"
,
"name"
:
"实体数据集"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/DEDATASET1"
,
"topPos"
:
498
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/PREPAREPARAM3"
,
"topPos"
:
-37
},
{
"codeName"
:
"D
eaction1
"
,
"codeName"
:
"D
EACTION2
"
,
"getDstPSAppDEAction"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getDstPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZ
UNIProduct
.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZ
Order
.json"
},
"getDstPSDEAction"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
/PSDEACTIONS/Get.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
Order
/PSDEACTIONS/Get.json"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Product
"
"id"
:
"
Order
"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
Order
.json"
},
"leftPos"
:
555
,
"leftPos"
:
971
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/D
eaction1
"
,
"name"
:
"获取
商品
信息"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/D
EACTION2
"
,
"name"
:
"获取
订单
信息"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
Prepareparam
2"
"id"
:
"
THROWEXCEPTION
2"
},
"name"
:
"
连接
"
,
"name"
:
"
异常
"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
"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"
:
"
Throwexception
"
"id"
:
"
DEBUGPARAM2
"
},
"name"
:
"异常"
,
"name"
:
">200"
,
"getPSDELogicLinkGroupCond"
:
{
"groupOP"
:
"AND"
,
"logicType"
:
"GROUP"
,
"name"
:
"连接条件组"
,
"getPSDELogicLinkConds"
:
[
{
"condOP"
:
"GT"
,
"dstFieldName"
:
"AMOUNT"
,
"getDstLogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"logicType"
:
"SINGLE"
,
"name"
:
"Order[AMOUNT] 大于(>) 200"
,
"paramValue"
:
"200"
}
]
},
"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
},
{
"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"
:
"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"
:
"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"
:
"Prepareparam1"
,
"leftPos"
:
313
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1"
,
"name"
:
"获取商品ID"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
},
"catchLink"
:
true
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam1"
}
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1"
,
"topPos"
:
223
,
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"IBIZUNIPRODUCTID"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"name"
:
"Default[IBIZUNIPRODUCTID] ==> Product[IBIZUNIPRODUCTID]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"IBIZUNIPRODUCTID"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1"
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"codeName"
:
"SYSDBTABLEACTION1"
,
"leftPos"
:
245
,
"logicNodeType"
:
"SYSDBTABLEACTION"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSDBTABLEACTION1"
,
"name"
:
"系统数据库表操作"
,
"getPSSysDBScheme"
:
"未指定数据库体系"
,
"getPSSysDBTable"
:
"未指定数据表"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/SYSDBTABLEACTION1"
,
"topPos"
:
821
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"
Produc
t"
,
"logicName"
:
"
商品
"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/
Produc
t"
,
"name"
:
"
商品
"
,
"codeName"
:
"
Defaul
t"
,
"logicName"
:
"
传入变量
"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/
Defaul
t"
,
"name"
:
"
传入变量
"
,
"getParamPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZ
UNIProduct
.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZ
OrderDetail
.json"
},
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
OrderDetail
.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Product"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"Order"
,
...
...
@@ -3108,20 +3063,19 @@
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order"
,
"entityParam"
:
true
},
{
"codeName"
:
"
Defaul
t"
,
"logicName"
:
"
传入变量
"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/
Defaul
t"
,
"name"
:
"
传入变量
"
,
"codeName"
:
"
Produc
t"
,
"logicName"
:
"
商品
"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/
Produc
t"
,
"name"
:
"
商品
"
,
"getParamPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZ
OrderDetail
.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZ
UNIProduct
.json"
},
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
OrderDetail
.json"
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZ
UNIProduct
.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default"
,
"default"
:
true
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Product"
,
"entityParam"
:
true
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
da930a33
...
...
@@ -100,18 +100,6 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -123,6 +111,18 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
da930a33
...
...
@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
53
-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
75
-14"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
da930a33
...
...
@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
53
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
75
-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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录