Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
1479637b
提交
1479637b
编写于
11月 07, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MoneyQ 发布系统代码 [后台服务,演示应用]
上级
663659db
变更
15
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
19 行增加
和
181 行删除
+19
-181
count-money-logic-base.ts
...eb/src/service/ibizorder-detail/count-money-logic-base.ts
+0
-24
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
usr4-dataview-base.vue
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
+4
-4
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+0
-5
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+7
-21
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+0
-15
IBIZOrderDetail.json
...odel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
+0
-20
CountMoney.json
...PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json
+0
-20
CountMoney.json.bpmn
...AENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json.bpmn
+0
-5
CountMoney.json.drl
...TAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json.drl
+0
-17
IBIZOrderDetail.json
...odel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
+0
-20
IBIZOrderDetailCountMoneyRule.drl
...rc/main/resources/rules/IBIZOrderDetailCountMoneyRule.drl
+0
-17
IBIZOrderDetailCountMoneyRuleFlow.bpmn
...in/resources/rules/IBIZOrderDetailCountMoneyRuleFlow.bpmn
+0
-5
未找到文件。
app_Web/src/service/ibizorder-detail/count-money-logic-base.ts
浏览文件 @
1479637b
...
...
@@ -67,15 +67,6 @@ export default class CountMoneyLogicBase {
return
true
;
}
/**
* 计算1节点结果
*
* @param params 传入参数
*/
public
compute1Cond
(
params
:
any
):
boolean
{
return
true
;
}
/**
* 执行逻辑
*
...
...
@@ -97,9 +88,6 @@ export default class CountMoneyLogicBase {
if
(
this
.
compute0Cond
(
params
)){
return
this
.
executeRawsqlcall1
(
context
,
params
,
isloading
);
}
if
(
this
.
compute1Cond
(
params
)){
return
this
.
executeRawsqlcall2
(
context
,
params
,
isloading
);
}
}
/**
...
...
@@ -114,17 +102,5 @@ export default class CountMoneyLogicBase {
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
/**
* fad
*
* @param context 应用上下文
* @param params 传入参数
*/
private
async
executeRawsqlcall2
(
context
:
any
,
params
:
any
,
isloading
:
boolean
){
// RAWSQLCALL暂未支持
console
.
log
(
"RAWSQLCALL暂未支持"
);
return
this
.
paramsMap
.
get
(
this
.
defaultParamName
).
data
;
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
1479637b
...
...
@@ -663,7 +663,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
Usr5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
1479637b
...
...
@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
1479637b
...
...
@@ -649,7 +649,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -728,7 +728,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -837,7 +837,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
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
);
...
...
@@ -845,7 +845,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
1479637b
...
...
@@ -69,11 +69,6 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
1479637b
...
...
@@ -522,7 +522,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -638,7 +638,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -733,7 +733,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_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
);
...
...
@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
1479637b
...
...
@@ -291,7 +291,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
SF1
GridViewBase
* @memberof IBIZOrder
Pickup
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -413,20 +413,6 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -959,7 +945,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1054,7 +1040,7 @@ export default class MainBase 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
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1160,7 +1146,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
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2077,7 +2063,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
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.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
);
...
...
@@ -2085,7 +2071,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
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
@@ -2152,7 +2138,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
1479637b
...
...
@@ -104,21 +104,6 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
1479637b
...
...
@@ -2732,16 +2732,6 @@
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Rawsqlcall2"
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"parallelOutput"
:
true
},
{
...
...
@@ -2773,16 +2763,6 @@
}
],
"sql"
:
"select (?*?) as AMOUNT from dual"
,
"fillDstLogicParam"
:
true
},
{
"codeName"
:
"Rawsqlcall2"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"logicNodeType"
:
"RAWSQLCALL"
,
"name"
:
"fad"
,
"fillDstLogicParam"
:
true
,
"parallelOutput"
:
true
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Default"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json
浏览文件 @
1479637b
...
...
@@ -18,16 +18,6 @@
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Rawsqlcall2"
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"parallelOutput"
:
true
},
{
...
...
@@ -59,16 +49,6 @@
}
],
"sql"
:
"select (?*?) as AMOUNT from dual"
,
"fillDstLogicParam"
:
true
},
{
"codeName"
:
"Rawsqlcall2"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"logicNodeType"
:
"RAWSQLCALL"
,
"name"
:
"fad"
,
"fillDstLogicParam"
:
true
,
"parallelOutput"
:
true
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Default"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json.bpmn
浏览文件 @
1479637b
...
...
@@ -14,12 +14,7 @@
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailcountmoneyrawsqlcall1"
id=
"rawsqlcall1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"统计金额"
/>
<endEvent
id=
"rawsqlcall1_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsqlcall1_end_line"
sourceRef=
"rawsqlcall1"
targetRef=
"rawsqlcall1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailcountmoneyrawsqlcall2"
id=
"rawsqlcall2"
implementation=
"http://www.jboss.org/drools/rule"
name=
"fad"
/>
<endEvent
id=
"rawsqlcall2_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsqlcall2_end_line"
sourceRef=
"rawsqlcall2"
targetRef=
"rawsqlcall2_end"
/>
<sequenceFlow
id=
"begin_rawsqlcall1"
sourceRef=
"begin"
targetRef=
"rawsqlcall1"
>
</sequenceFlow>
<sequenceFlow
id=
"begin_rawsqlcall2"
sourceRef=
"begin"
targetRef=
"rawsqlcall2"
>
</sequenceFlow>
</process>
</definitions>
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/CountMoney.json.drl
浏览文件 @
1479637b
...
...
@@ -36,21 +36,4 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.countmoney;
}
}
update
(
ibizorderdetailcountmoneydefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
fad
]
rule
"rawsqlcall2"
ruleflow
-
group
"ibizorderdetailcountmoneyrawsqlcall2"
when
then
Map
param
=
null
;
String
strSql
=
""
;
java
.
util
.
List
<
JSONObject
>
entities
=
iBzSysIbizorderdetailDefaultService
.
select
(
strSql
,
param
);//
SQL
调用
if
(
entities
.
size
()>
0
){
JSONObject
entity
=
entities
.
get
(
0
);
for
(
Map
.
Entry
entry
:
entity
.
entrySet
())
{
ibizorderdetailcountmoneydefault
.
set
(
String
.
valueOf
(
entry
.
getKey
()),
entry
.
getValue
());
}
}
update
(
ibizorderdetailcountmoneydefault
);//
更新
fact
中变量值
end
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
1479637b
...
...
@@ -774,16 +774,6 @@
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"getDstPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Rawsqlcall2"
},
"name"
:
"连接"
,
"getSrcPSDELogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"parallelOutput"
:
true
},
{
...
...
@@ -815,16 +805,6 @@
}
],
"sql"
:
"select (?*?) as AMOUNT from dual"
,
"fillDstLogicParam"
:
true
},
{
"codeName"
:
"Rawsqlcall2"
,
"getDstPSDELogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"logicNodeType"
:
"RAWSQLCALL"
,
"name"
:
"fad"
,
"fillDstLogicParam"
:
true
,
"parallelOutput"
:
true
}
],
"getPSDELogicParams"
:
[
{
"codeName"
:
"Default"
,
...
...
demo-core/src/main/resources/rules/IBIZOrderDetailCountMoneyRule.drl
浏览文件 @
1479637b
...
...
@@ -38,20 +38,3 @@ ruleflow-group "ibizorderdetailcountmoneyrawsqlcall1"
update
(
ibizorderdetailcountmoneydefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
fad
]
rule
"rawsqlcall2"
ruleflow
-
group
"ibizorderdetailcountmoneyrawsqlcall2"
when
then
Map
param
=
null
;
String
strSql
=
""
;
java
.
util
.
List
<
JSONObject
>
entities
=
iBzSysIbizorderdetailDefaultService
.
select
(
strSql
,
param
);//
SQL
调用
if
(
entities
.
size
()>
0
&&
!ObjectUtils.isEmpty(entities.get(0))){
JSONObject
entity
=
entities
.
get
(
0
);
for
(
Map
.
Entry
entry
:
entity
.
entrySet
())
{
ibizorderdetailcountmoneydefault
.
set
(
String
.
valueOf
(
entry
.
getKey
()),
entry
.
getValue
());
}
}
update
(
ibizorderdetailcountmoneydefault
);//
更新
fact
中变量值
end
demo-core/src/main/resources/rules/IBIZOrderDetailCountMoneyRuleFlow.bpmn
浏览文件 @
1479637b
...
...
@@ -14,13 +14,8 @@
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailcountmoneyrawsqlcall1"
id=
"rawsqlcall1"
implementation=
"http://www.jboss.org/drools/rule"
name=
"统计金额"
/>
<endEvent
id=
"rawsqlcall1_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsqlcall1_end_line"
sourceRef=
"rawsqlcall1"
targetRef=
"rawsqlcall1_end"
/>
<businessRuleTask
activiti:exclusive=
"true"
g:ruleFlowGroup=
"ibizorderdetailcountmoneyrawsqlcall2"
id=
"rawsqlcall2"
implementation=
"http://www.jboss.org/drools/rule"
name=
"fad"
/>
<endEvent
id=
"rawsqlcall2_end"
name=
"end"
/>
<sequenceFlow
id=
"rawsqlcall2_end_line"
sourceRef=
"rawsqlcall2"
targetRef=
"rawsqlcall2_end"
/>
<sequenceFlow
id=
"begin_rawsqlcall1"
sourceRef=
"begin"
targetRef=
"rawsqlcall1"
>
</sequenceFlow>
<sequenceFlow
id=
"begin_rawsqlcall2"
sourceRef=
"begin"
targetRef=
"rawsqlcall2"
>
</sequenceFlow>
</process>
</definitions>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录