Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
fc741337
Commit
fc741337
authored
May 26, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-05-26-1
parent
0a502c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CalculateOrderVValueListener.java
...odule/delivery/listener/CalculateOrderVValueListener.java
+3
-3
No files found.
yudao-module-delivery/yudao-module-delivery-rest/src/main/java/cn/iocoder/yudao/module/delivery/listener/CalculateOrderVValueListener.java
View file @
fc741337
...
...
@@ -52,11 +52,11 @@ public class CalculateOrderVValueListener {
int
nS
=
orderDO
.
getStatus
();
if
(
nS
>=
5
)
{
sMsg
+=
",已入仓"
;
//查询配置参数信息
//查询配置参数信息
,测试
EcwVz
temp
=
null
;
BigDecimal
CalVvalue
=
new
BigDecimal
(
0
);
if
(
orderDO
.
getTransportId
()
==
1
)
{
//海运计算V值
//海运计算V值
修改查询条件
temp
=
ecwVzService
.
getOne
(
new
LambdaQueryWrapperX
<
EcwVz
>()
.
eqIfPresent
(
EcwVz:
:
getFuhao
,
"M3"
));
if
(
temp
==
null
)
{
...
...
@@ -64,7 +64,7 @@ public class CalculateOrderVValueListener {
}
CalVvalue
=
new
BigDecimal
(
temp
.
getVz
()).
divide
(
orderDO
.
getSumVolume
());
}
else
if
(
orderDO
.
getTransportId
()
==
3
)
{
//空运计算V值
//空运计算V值
,修改查询条件
temp
=
ecwVzService
.
getOne
(
new
LambdaQueryWrapperX
<
EcwVz
>()
.
eqIfPresent
(
EcwVz:
:
getFuhao
,
"KG"
));
if
(
temp
==
null
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment