Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
cae28ff3
提交
cae28ff3
编写于
2月 09, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MoneyQ 发布系统代码 [后台服务,演示应用]
上级
0f931ed3
变更
14
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
1398 行增加
和
242 行删除
+1398
-242
get-unit-and-price-logic-base.ts
...service/ibizorder-detail/get-unit-and-price-logic-base.ts
+224
-22
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
IBIZOrderDetail.json
...odel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
+278
-42
GetUnitAndPrice.json
...AENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json
+278
-42
GetUnitAndPrice.json.bpmn
...TIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.bpmn
+55
-3
GetUnitAndPrice.json.drl
...ITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.drl
+175
-9
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+24
-24
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZOrderDetail.json
...odel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
+306
-42
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+24
-24
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
浏览文件 @
cae28ff3
...
...
@@ -57,6 +57,7 @@ export default class GetUnitAndPriceLogicBase {
public
initParams
(
opts
:
any
){
this
.
paramsMap
.
set
(
'Product'
,{});
this
.
paramsMap
.
set
(
'Default'
,
opts
);
this
.
paramsMap
.
set
(
'Order'
,{});
}
...
...
@@ -87,6 +88,24 @@ export default class GetUnitAndPriceLogicBase {
return
true
;
}
/**
* 计算3节点结果
*
* @param params 传入参数
*/
public
compute3Cond
(
params
:
any
):
boolean
{
return
true
;
}
/**
* 计算4节点结果
*
* @param params 传入参数
*/
public
compute4Cond
(
params
:
any
):
boolean
{
return
true
;
}
/**
* 执行逻辑
*
...
...
@@ -110,27 +129,6 @@ export default class GetUnitAndPriceLogicBase {
}
}
/**
* 填充单位和单价
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executePrepareparam2
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 准备参数节点
let
tempDstParam0Context
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
context
?
this
.
paramsMap
.
get
(
'Default'
).
context
:{};
let
tempDstParam0Data
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
data
?
this
.
paramsMap
.
get
(
'Default'
).
data
:{};
let
tempSrcParam0Data
:
any
=
this
.
paramsMap
.
get
(
'Product'
).
data
?
this
.
paramsMap
.
get
(
'Product'
).
data
:{};
Object
.
assign
(
tempDstParam0Data
,{
unitprice
:
tempSrcParam0Data
[
'unitprice'
]});
this
.
paramsMap
.
set
(
'Default'
,{
data
:
tempDstParam0Data
,
context
:
tempDstParam0Context
});
let
tempDstParam1Context
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
context
?
this
.
paramsMap
.
get
(
'Default'
).
context
:{};
let
tempDstParam1Data
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
data
?
this
.
paramsMap
.
get
(
'Default'
).
data
:{};
let
tempSrcParam1Data
:
any
=
this
.
paramsMap
.
get
(
'Product'
).
data
?
this
.
paramsMap
.
get
(
'Product'
).
data
:{};
Object
.
assign
(
tempDstParam1Data
,{
unit
:
tempSrcParam1Data
[
'unit'
]});
this
.
paramsMap
.
set
(
'Default'
,{
data
:
tempDstParam1Data
,
context
:
tempDstParam1Context
});
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 获取商品信息
*
...
...
@@ -150,6 +148,138 @@ export default class GetUnitAndPriceLogicBase {
if
(
this
.
compute1Cond
(
params
)){
return
this
.
executePrepareparam2
(
context
,
params
,
isloading
);
}
if
(
this
.
compute2Cond
(
params
)){
return
this
.
executeThrowexception
(
context
,
params
,
isloading
);
}
}
}
/**
* 实体数据集
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDEDATASET1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DEDATASET暂未支持
console
.
log
(
"DEDATASET暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 实体处理逻辑
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDELOGIC1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DELOGIC暂未支持
console
.
log
(
"DELOGIC暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 实体数据查询
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDEDATAQUERY1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DEDATAQUERY暂未支持
console
.
log
(
"DEDATAQUERY暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 启动流程
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSTARTWF1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 开始流程节点
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 外部接口调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSUBSYSSAMETHOD1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SUBSYSSAMETHOD暂未支持
console
.
log
(
"SUBSYSSAMETHOD暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 获取产品价格异常
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeThrowexception
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 异常捕获节点
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 系统逻辑处理
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSYSLOGIC1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SYSLOGIC暂未支持
console
.
log
(
"SYSLOGIC暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 执行脚本代码
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeRAWSFCODE1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// RAWSFCODE暂未支持
console
.
log
(
"RAWSFCODE暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 系统数据库表操作
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSYSDBTABLEACTION1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SYSDBTABLEACTION暂未支持
console
.
log
(
"SYSDBTABLEACTION暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 填充单位和单价
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executePrepareparam2
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// 准备参数节点
let
tempDstParam0Context
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
context
?
this
.
paramsMap
.
get
(
'Default'
).
context
:{};
let
tempDstParam0Data
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
data
?
this
.
paramsMap
.
get
(
'Default'
).
data
:{};
let
tempSrcParam0Data
:
any
=
this
.
paramsMap
.
get
(
'Product'
).
data
?
this
.
paramsMap
.
get
(
'Product'
).
data
:{};
Object
.
assign
(
tempDstParam0Data
,{
unit
:
tempSrcParam0Data
[
'unit'
]});
this
.
paramsMap
.
set
(
'Default'
,{
data
:
tempDstParam0Data
,
context
:
tempDstParam0Context
});
let
tempDstParam1Context
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
context
?
this
.
paramsMap
.
get
(
'Default'
).
context
:{};
let
tempDstParam1Data
:
any
=
this
.
paramsMap
.
get
(
'Default'
).
data
?
this
.
paramsMap
.
get
(
'Default'
).
data
:{};
let
tempSrcParam1Data
:
any
=
this
.
paramsMap
.
get
(
'Product'
).
data
?
this
.
paramsMap
.
get
(
'Product'
).
data
:{};
Object
.
assign
(
tempDstParam1Data
,{
unitprice
:
tempSrcParam1Data
[
'unitprice'
]});
this
.
paramsMap
.
set
(
'Default'
,{
data
:
tempDstParam1Data
,
context
:
tempDstParam1Context
});
if
(
this
.
compute3Cond
(
params
)){
return
this
.
executeEnd
(
context
,
params
,
isloading
);
}
}
...
...
@@ -167,10 +297,82 @@ export default class GetUnitAndPriceLogicBase {
Object
.
assign
(
tempDstParam0Context
,{
ibizuniproduct
:
tempSrcParam0Data
[
'ibizuniproductid'
]});
Object
.
assign
(
tempDstParam0Data
,{
ibizuniproductid
:
tempSrcParam0Data
[
'ibizuniproductid'
]});
this
.
paramsMap
.
set
(
'Product'
,{
data
:
tempDstParam0Data
,
context
:
tempDstParam0Context
});
if
(
this
.
compute
2
Cond
(
params
)){
if
(
this
.
compute
4
Cond
(
params
)){
return
this
.
executeDeaction1
(
context
,
params
,
isloading
);
}
}
/**
* 结束返回
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeEnd
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// END暂未支持
console
.
log
(
"END暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 服务插件
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeSFPLUGIN1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// SFPLUGIN暂未支持
console
.
log
(
"SFPLUGIN暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 取消流程
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeCANCELWF1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// CANCELWF暂未支持
console
.
log
(
"CANCELWF暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 直接Web调用
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeRAWWEBCALL1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// RAWWEBCALL暂未支持
console
.
log
(
"RAWWEBCALL暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* 实体通知
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeDENOTIFY1
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// DENOTIFY暂未支持
console
.
log
(
"DENOTIFY暂未支持"
);
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
;
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
cae28ff3
...
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
cae28ff3
...
...
@@ -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
9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetailSGridView"
+
(
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
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
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
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
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
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
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
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
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
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
cae28ff3
...
...
@@ -3638,44 +3638,6 @@
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin"
,
"topPos"
:
80
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
760
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"UNITPRICE"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
},
{
"dstFieldName"
:
"UNIT"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNIT] ==> Default[UNIT]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNIT"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"topPos"
:
320
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Deaction1"
,
"getDstPSDEAction"
:
{
...
...
@@ -3690,7 +3652,7 @@
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos"
:
5
00
,
"leftPos"
:
5
55
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
...
...
@@ -3704,13 +3666,197 @@
"modelref"
:
true
,
"id"
:
"Deaction1"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Throwexception"
},
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
},
"catchLink"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"topPos"
:
240
,
"topPos"
:
223
,
"parallelOutput"
:
true
},
{
"codeName"
:
"DEDATASET1"
,
"getDstPSDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"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
},
{
"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"
:
"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"
:
"STARTWF1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos"
:
430
,
"logicNodeType"
:
"STARTWF"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1"
,
"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/STARTWF1"
,
"topPos"
:
920
},
{
"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
,
"logicNodeType"
:
"THROWEXCEPTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception"
,
"name"
:
"获取产品价格异常"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception"
,
"topPos"
:
422
},
{
"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
},
{
"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"
:
"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
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
846
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"End"
},
"name"
:
"连接3897"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"UNIT"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNIT] ==> Default[UNIT]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNIT"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
},
{
"dstFieldName"
:
"UNITPRICE"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"topPos"
:
284
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam1"
,
"leftPos"
:
260
,
"leftPos"
:
313
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1"
,
"name"
:
"获取商品ID"
,
...
...
@@ -3741,8 +3887,87 @@
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1"
,
"topPos"
:
160
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"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"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
377
},
{
"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"
:
"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"
:
"RAWWEBCALL1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"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"
:
"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
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Product"
,
...
...
@@ -3767,6 +3992,17 @@
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"Order"
,
"logicName"
:
"订单"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order"
,
"name"
:
"订单"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order"
,
"entityParam"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice"
,
"getStartPSDELogicNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json
浏览文件 @
cae28ff3
...
...
@@ -25,44 +25,6 @@
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Begin"
,
"topPos"
:
80
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
760
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"UNITPRICE"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
},
{
"dstFieldName"
:
"UNIT"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNIT] ==> Default[UNIT]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNIT"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"topPos"
:
320
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Deaction1"
,
"getDstPSDEAction"
:
{
...
...
@@ -77,7 +39,7 @@
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos"
:
5
00
,
"leftPos"
:
5
55
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
...
...
@@ -91,13 +53,197 @@
"modelref"
:
true
,
"id"
:
"Deaction1"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Throwexception"
},
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
},
"catchLink"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Deaction1"
,
"topPos"
:
240
,
"topPos"
:
223
,
"parallelOutput"
:
true
},
{
"codeName"
:
"DEDATASET1"
,
"getDstPSDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"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
},
{
"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"
:
"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"
:
"STARTWF1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Order"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"leftPos"
:
430
,
"logicNodeType"
:
"STARTWF"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/STARTWF1"
,
"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/STARTWF1"
,
"topPos"
:
920
},
{
"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
,
"logicNodeType"
:
"THROWEXCEPTION"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception"
,
"name"
:
"获取产品价格异常"
,
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Throwexception"
,
"topPos"
:
422
},
{
"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
},
{
"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"
:
"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
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
846
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"End"
},
"name"
:
"连接3897"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"UNIT"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNIT] ==> Default[UNIT]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNIT"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
},
{
"dstFieldName"
:
"UNITPRICE"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam2"
,
"topPos"
:
284
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam1"
,
"leftPos"
:
260
,
"leftPos"
:
313
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1"
,
"name"
:
"获取商品ID"
,
...
...
@@ -128,8 +274,87 @@
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicnodes/Prepareparam1"
,
"topPos"
:
160
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"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"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
377
},
{
"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"
:
"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"
:
"RAWWEBCALL1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"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"
:
"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
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Product"
,
...
...
@@ -154,6 +379,17 @@
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"Order"
,
"logicName"
:
"订单"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order"
,
"name"
:
"订单"
,
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice/psdelogicparams/Order"
,
"entityParam"
:
true
}
],
"rTMOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZORDERDETAIL/psdelogics/GetUnitAndPrice"
,
"getStartPSDELogicNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.bpmn
浏览文件 @
cae28ff3
...
...
@@ -7,22 +7,74 @@
<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=
""
name=
"ibizorderdetailgetunitandpricedefault"
type=
"entity"
/>
<tns:metaData
express=
"new cn.ibizlab.core.sample.domain.IBIZOrder()"
name=
"ibizorderdetailgetunitandpriceorder"
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.IIBIZBOOKService))"
name=
"ibizbookservice"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))"
name=
"ibizorderdetailservice"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderService))"
name=
"ibizorderservice"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.util.security.SpringContextHolder).getBean(T(cn.ibizlab.core.sample.service.IIBIZOrderDetailService))"
name=
"iBzSysIbizorderdetailDefaultService"
type=
"service"
/>
<tns:metaData
express=
"T(cn.ibizlab.util.security.AuthenticationUser).getAuthenticationUser()"
name=
"curuser"
type=
"session"
/>
<tns:global
identifier=
"ibizorderdetailgetunitandpriceproduct"
type=
"cn.ibizlab.core.sample.domain.IBIZUNIProduct"
/>
<tns:global
identifier=
"ibizorderdetailgetunitandpricedefault"
type=
"cn.ibizlab.core.sample.domain.IBIZOrderDetail"
/>
<tns:global
identifier=
"ibizorderdetailgetunitandpriceorder"
type=
"cn.ibizlab.core.sample.domain.IBIZOrder"
/>
</extensionElements>
<startEvent
id=
"begin"
isInterrupting=
"true"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpriceprepareparam2"
id=
"prepareparam2"
implementation=
"http://www.jboss.org/drools/rule"
name=
"填充单位和单价"
/>
<endEvent
id=
"prepareparam2_end"
name=
"end"
/>
<sequenceFlow
id=
"prepareparam2_end_line"
sourceRef=
"prepareparam2"
targetRef=
"prepareparam2_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricedeaction1"
id=
"deaction1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"获取商品信息"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricededataset1"
id=
"dedataset1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"实体数据集"
/>
<endEvent
id=
"dedataset1_end"
name=
"end"
/>
<sequenceFlow
id=
"dedataset1_end_line"
sourceRef=
"dedataset1"
targetRef=
"dedataset1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpricedelogic1"
id=
"delogic1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"实体处理逻辑"
/>
<endEvent
id=
"delogic1_end"
name=
"end"
/>
<sequenceFlow
id=
"delogic1_end_line"
sourceRef=
"delogic1"
targetRef=
"delogic1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"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=
"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=
"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=
"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=
"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=
"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"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpriceprepareparam2"
id=
"prepareparam2"
implementation=
"http://www.jboss.org/drools/rule"
name=
"填充单位和单价"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailgetunitandpriceprepareparam1"
id=
"prepareparam1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"获取商品ID"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"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=
"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=
"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=
"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=
"ibizorderdetailgetunitandpricedebugparam1"
id=
"debugparam1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"调试逻辑参数"
/>
<endEvent
id=
"debugparam1_end"
name=
"end"
/>
<sequenceFlow
id=
"debugparam1_end_line"
sourceRef=
"debugparam1"
targetRef=
"debugparam1_end"
/>
<sequenceFlow
id=
"begin_prepareparam1"
sourceRef=
"begin"
targetRef=
"prepareparam1"
>
</sequenceFlow>
<sequenceFlow
id=
"deaction1_prepareparam2"
sourceRef=
"deaction1"
targetRef=
"prepareparam2"
>
</sequenceFlow>
<sequenceFlow
id=
"deaction1_throwexception"
sourceRef=
"deaction1"
targetRef=
"throwexception"
>
</sequenceFlow>
<sequenceFlow
id=
"prepareparam2_end"
sourceRef=
"prepareparam2"
targetRef=
"end"
>
</sequenceFlow>
<sequenceFlow
id=
"prepareparam1_deaction1"
sourceRef=
"prepareparam1"
targetRef=
"deaction1"
>
</sequenceFlow>
</process>
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.drl
浏览文件 @
cae28ff3
...
...
@@ -7,7 +7,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
import
cn
.
ibizlab
.
util
.
errors
.
BadRequestAlertException
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZUNIProduct
ibizorderdetailgetunitandpriceproduct
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZOrderDetail
ibizorderdetailgetunitandpricedefault
;
global
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZOrder
ibizorderdetailgetunitandpriceorder
;
global
cn
.
ibizlab
.
util
.
client
.
IBZWFFeignClient
wfClient
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZUNIProductService
ibizuniproductservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZBOOKService
ibizbookservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderDetailService
ibizorderdetailservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderService
ibizorderservice
;
global
cn
.
ibizlab
.
core
.
sample
.
service
.
IIBIZOrderDetailService
iBzSysIbizorderdetailDefaultService
;
global
cn
.
ibizlab
.
util
.
security
.
AuthenticationUser
curuser
;
...
...
@@ -21,25 +26,125 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
end
//
逻辑处理节点
[
填充单位和单价
]
rule
"
prepareparam2
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam2
"
//
逻辑处理节点
[
获取商品信息
]
rule
"
deaction1
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
deaction1
"
when
then
ibizorderdetailgetunitandpricedefault
.
set
(
"unitprice"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unitprice"
));
ibizorderdetailgetunitandpricedefault
.
set
(
"unit"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unit"
));
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizuniproductservice
.
get
(
ibizorderdetailgetunitandpriceproduct
.
getIbizuniproductid
()),
ibizorderdetailgetunitandpriceproduct
);
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
获取商品信息
]
rule
"deaction1"
ruleflow
-
group
"ibizorderdetailgetunitandpricedeaction1"
//
逻辑处理节点
[
实体数据集
]
rule
"dedataset1"
ruleflow
-
group
"ibizorderdetailgetunitandpricededataset1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
实体处理逻辑
]
rule
"delogic1"
ruleflow
-
group
"ibizorderdetailgetunitandpricedelogic1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
实体数据查询
]
rule
"dedataquery1"
ruleflow
-
group
"ibizorderdetailgetunitandpricededataquery1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
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
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
外部接口调用
]
rule
"subsyssamethod1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesubsyssamethod1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
获取产品价格异常
]
rule
"throwexception"
ruleflow
-
group
"ibizorderdetailgetunitandpricethrowexception"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
系统逻辑处理
]
rule
"syslogic1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesyslogic1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
执行脚本代码
]
rule
"rawsfcode1"
ruleflow
-
group
"ibizorderdetailgetunitandpricerawsfcode1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
系统数据库表操作
]
rule
"sysdbtableaction1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesysdbtableaction1"
when
then
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizuniproductservice
.
get
(
ibizorderdetailgetunitandpriceproduct
.
getIbizuniproductid
()),
ibizorderdetailgetunitandpriceproduct
);
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
填充单位和单价
]
rule
"prepareparam2"
ruleflow
-
group
"ibizorderdetailgetunitandpriceprepareparam2"
when
then
ibizorderdetailgetunitandpricedefault
.
set
(
"unit"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unit"
));
ibizorderdetailgetunitandpricedefault
.
set
(
"unitprice"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unitprice"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
获取商品
id
]
...
...
@@ -50,4 +155,65 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
ibizorderdetailgetunitandpriceproduct
.
set
(
"ibizuniproductid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizuniproductid"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
结束返回
]
rule
"end"
ruleflow
-
group
"ibizorderdetailgetunitandpriceend"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
服务插件
]
rule
"sfplugin1"
ruleflow
-
group
"ibizorderdetailgetunitandpricesfplugin1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
取消流程
]
rule
"cancelwf1"
ruleflow
-
group
"ibizorderdetailgetunitandpricecancelwf1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
直接
web
调用
]
rule
"rawwebcall1"
ruleflow
-
group
"ibizorderdetailgetunitandpricerawwebcall1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
实体通知
]
rule
"denotify1"
ruleflow
-
group
"ibizorderdetailgetunitandpricedenotify1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
调试逻辑参数
]
rule
"debugparam1"
ruleflow
-
group
"ibizorderdetailgetunitandpricedebugparam1"
when
then
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
end
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
cae28ff3
...
...
@@ -12,30 +12,6 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -71,6 +47,30 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
cae28ff3
...
...
@@ -20,13 +20,13 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"
图书描述
"
,
"codeName"
:
"
subtext
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
subtext
"
,
"mOSFilePath"
:
"psdetreecols/
subtext
"
,
"name"
:
"
subtext
"
,
"rTMOSFilePath"
:
"psdetreecols/
subtext
"
,
"dataItemName"
:
"
author
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"name"
:
"
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
@@ -44,13 +44,13 @@
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"caption"
:
"
图书描述
"
,
"codeName"
:
"
subtext
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"name"
:
"
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"dataItemName"
:
"
subtext
"
,
"mOSFilePath"
:
"psdetreecols/
subtext
"
,
"name"
:
"
subtext
"
,
"rTMOSFilePath"
:
"psdetreecols/
subtext
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
cae28ff3
...
...
@@ -2698,44 +2698,6 @@
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Begin"
,
"topPos"
:
80
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
760
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"UNITPRICE"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
},
{
"dstFieldName"
:
"UNIT"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNIT] ==> Default[UNIT]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNIT"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2"
,
"topPos"
:
320
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Deaction1"
,
"getDstPSAppDEAction"
:
{
...
...
@@ -2758,7 +2720,7 @@
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZUNIProduct.json"
},
"leftPos"
:
5
00
,
"leftPos"
:
5
55
,
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1"
,
"name"
:
"获取商品信息"
,
...
...
@@ -2772,13 +2734,217 @@
"modelref"
:
true
,
"id"
:
"Deaction1"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Throwexception"
},
"name"
:
"异常"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Deaction1"
},
"catchLink"
:
true
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Deaction1"
,
"topPos"
:
240
,
"topPos"
:
223
,
"parallelOutput"
:
true
},
{
"codeName"
:
"DEDATASET1"
,
"getDstPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getDstPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"getDstPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json"
},
"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
},
{
"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"
:
"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"
:
"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"
:
"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
,
"logicNodeType"
:
"THROWEXCEPTION"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception"
,
"name"
:
"获取产品价格异常"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Throwexception"
,
"topPos"
:
422
},
{
"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
},
{
"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"
:
"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
},
{
"codeName"
:
"Prepareparam2"
,
"leftPos"
:
846
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2"
,
"name"
:
"填充单位和单价"
,
"getPSDELogicLinks"
:
[
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"End"
},
"name"
:
"连接3897"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Prepareparam2"
}
}
],
"getPSDELogicNodeParams"
:
[
{
"dstFieldName"
:
"UNIT"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNIT] ==> Default[UNIT]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNIT"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
},
{
"dstFieldName"
:
"UNITPRICE"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"name"
:
"Product[UNITPRICE] ==> Default[UNITPRICE]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"UNITPRICE"
,
"getSrcPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Product"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam2"
,
"topPos"
:
284
,
"parallelOutput"
:
true
},
{
"codeName"
:
"Prepareparam1"
,
"leftPos"
:
260
,
"leftPos"
:
313
,
"logicNodeType"
:
"PREPAREPARAM"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1"
,
"name"
:
"获取商品ID"
,
...
...
@@ -2809,8 +2975,91 @@
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicnodes/Prepareparam1"
,
"topPos"
:
160
,
"topPos"
:
224
,
"parallelOutput"
:
true
},
{
"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"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
377
},
{
"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"
:
"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"
:
"RAWWEBCALL1"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"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"
:
"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
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Product"
,
...
...
@@ -2843,6 +3092,21 @@
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"Order"
,
"logicName"
:
"订单"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order"
,
"name"
:
"订单"
,
"getParamPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getParamPSDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice/psappdelogicparams/Order"
,
"entityParam"
:
true
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/IBIZOrderDetail/psappdelogics/GetUnitAndPrice"
,
"getStartPSDELogicNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
cae28ff3
...
...
@@ -46,30 +46,6 @@
"id"
:
"GANTT"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -105,6 +81,30 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
cae28ff3
...
...
@@ -100,13 +100,13 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"
图书描述
"
,
"codeName"
:
"
subtext
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
subtext
"
,
"mOSFilePath"
:
"psdetreecols/
subtext
"
,
"name"
:
"
subtext
"
,
"rTMOSFilePath"
:
"psdetreecols/
subtext
"
,
"dataItemName"
:
"
author
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"name"
:
"
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
@@ -124,13 +124,13 @@
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"caption"
:
"
图书描述
"
,
"codeName"
:
"
subtext
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"name"
:
"
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"dataItemName"
:
"
subtext
"
,
"mOSFilePath"
:
"psdetreecols/
subtext
"
,
"name"
:
"
subtext
"
,
"rTMOSFilePath"
:
"psdetreecols/
subtext
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
cae28ff3
...
...
@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
26
-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
49
-14"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
cae28ff3
...
...
@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
26
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
49
-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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录