Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
99f1cd5b
提交
99f1cd5b
编写于
2月 10, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MoneyQ 发布系统代码 [后台服务,演示应用]
上级
6d3674f1
变更
15
展开全部
显示空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
804 行增加
和
394 行删除
+804
-394
get-unit-and-price-logic-base.ts
...service/ibizorder-detail/get-unit-and-price-logic-base.ts
+128
-72
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+52
-22
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
+5
-0
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
IBIZOrderDetail.json
...odel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
+166
-75
GetUnitAndPrice.json
...AENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json
+166
-75
GetUnitAndPrice.json.bpmn
...TIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.bpmn
+40
-14
GetUnitAndPrice.json.drl
...ITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.drl
+43
-23
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZOrderDetail.json
...odel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
+166
-75
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
浏览文件 @
99f1cd5b
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
99f1cd5b
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
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
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
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
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
99f1cd5b
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
99f1cd5b
...
@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
...
@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
99f1cd5b
...
@@ -70,6 +70,11 @@ export default class Usr4Model {
...
@@ -70,6 +70,11 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
dataType
:
'QUERYPARAM'
},
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
{
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
99f1cd5b
...
@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetailSGridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetailSGridView
9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
});
return
;
return
;
}
}
...
@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
});
return
;
return
;
}
}
...
@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
!
arg
){
if
(
!
arg
){
...
@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
});
return
;
return
;
}
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
99f1cd5b
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json
浏览文件 @
99f1cd5b
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.bpmn
浏览文件 @
99f1cd5b
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDELOGICS/GetUnitAndPrice.json.drl
浏览文件 @
99f1cd5b
...
@@ -23,12 +23,11 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
...
@@ -23,12 +23,11 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
then
then
end
end
//
逻辑处理节点
[
设置
orderid
]
//
逻辑处理节点
[
大于
200
处理
]
rule
"
prepareparam3
"
rule
"
debugparam2
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam3
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
debugparam2
"
when
when
then
then
ibizorderdetailgetunitandpriceorder
.
set
(
"ibizorderid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizorderid"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
...
@@ -55,35 +54,31 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
...
@@ -55,35 +54,31 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
end
//
逻辑处理节点
[
获取订单信息
]
//
逻辑处理节点
[
调试逻辑参数
]
rule
"de
action2
"
rule
"de
bugparam4
"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
action2
"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
bugparam4
"
when
when
then
then
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizorderservice
.
get
(
ibizorderdetailgetunitandpriceorder
.
getIbizorderid
()),
ibizorderdetailgetunitandpriceorder
);
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
end
//
逻辑处理节点
[
填充单位和单价
]
//
逻辑处理节点
[
调试逻辑参数
]
rule
"
prepareparam2
"
rule
"
debugparam5
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam2
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
debugparam5
"
when
when
then
then
ibizorderdetailgetunitandpricedefault
.
set
(
"unit"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unit"
));
ibizorderdetailgetunitandpricedefault
.
set
(
"unitprice"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unitprice"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
end
//
逻辑处理节点
[
获取
商品
id
]
//
逻辑处理节点
[
获取
产品价格异常
]
rule
"
prepareparam1
"
rule
"
throwexception
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam1
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
throwexception
"
when
when
then
then
ibizorderdetailgetunitandpriceproduct
.
set
(
"ibizuniproductid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizuniproductid"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
...
@@ -99,11 +94,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
...
@@ -99,11 +94,12 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
end
//
逻辑处理节点
[
大于
200
处理
]
//
逻辑处理节点
[
获取订单信息
]
rule
"de
bugparam
2"
rule
"de
action
2"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
bugparam
2"
ruleflow
-
group
"ibizorderdetailgetunitandpricede
action
2"
when
when
then
then
cn
.
ibizlab
.
util
.
helper
.
CachedBeanCopier
.
copy
(
ibizorderservice
.
get
(
ibizorderdetailgetunitandpriceorder
.
getIbizorderid
()),
ibizorderdetailgetunitandpriceorder
);
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
...
@@ -119,11 +115,35 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
...
@@ -119,11 +115,35 @@ package cn.ibizlab.sample.logic.ibizorderdetaillogic.getunitandprice;
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
end
//
逻辑处理节点
[
获取产品价格异常
]
//
逻辑处理节点
[
设置
orderid
]
rule
"
throwexception
"
rule
"
prepareparam3
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
throwexception
"
ruleflow
-
group
"ibizorderdetailgetunitandprice
prepareparam3
"
when
when
then
then
ibizorderdetailgetunitandpriceorder
.
set
(
"ibizorderid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizorderid"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
填充单位和单价
]
rule
"prepareparam2"
ruleflow
-
group
"ibizorderdetailgetunitandpriceprepareparam2"
when
then
ibizorderdetailgetunitandpricedefault
.
set
(
"unit"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unit"
));
ibizorderdetailgetunitandpricedefault
.
set
(
"unitprice"
,
ibizorderdetailgetunitandpriceproduct
.
get
(
"unitprice"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
end
//
逻辑处理节点
[
获取商品
id
]
rule
"prepareparam1"
ruleflow
-
group
"ibizorderdetailgetunitandpriceprepareparam1"
when
then
ibizorderdetailgetunitandpriceproduct
.
set
(
"ibizuniproductid"
,
ibizorderdetailgetunitandpricedefault
.
get
(
"ibizuniproductid"
));
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceproduct
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpriceorder
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
update
(
ibizorderdetailgetunitandpricedefault
);//
更新
fact
中变量值
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
99f1cd5b
...
@@ -31,18 +31,6 @@
...
@@ -31,18 +31,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
},
{
"caption"
:
"作者"
,
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"codeName"
:
"author"
,
...
@@ -55,6 +43,18 @@
...
@@ -55,6 +43,18 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json
浏览文件 @
99f1cd5b
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
99f1cd5b
...
@@ -111,18 +111,6 @@
...
@@ -111,18 +111,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
},
{
"caption"
:
"作者"
,
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"codeName"
:
"author"
,
...
@@ -135,6 +123,18 @@
...
@@ -135,6 +123,18 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
99f1cd5b
...
@@ -393,7 +393,7 @@
...
@@ -393,7 +393,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
8
1-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
10
1-14"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
99f1cd5b
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</createView>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
8
1-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
10
1-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDERDETAIL"
>
<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 ]]>
<![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>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录