Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
cdb8bb17
Commit
cdb8bb17
authored
Jun 04, 2021
by
季圣华
Browse files
修复库存状况报表bug
parent
f6d96a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
cdb8bb17
...
@@ -395,6 +395,9 @@ public class DepotItemController {
...
@@ -395,6 +395,9 @@ public class DepotItemController {
Long
mId
=
diEx
.
getMId
();
Long
mId
=
diEx
.
getMId
();
BigDecimal
thisSum
=
depotItemService
.
getStockByParam
(
depotId
,
mId
,
null
,
endTime
,
tenantId
);
BigDecimal
thisSum
=
depotItemService
.
getStockByParam
(
depotId
,
mId
,
null
,
endTime
,
tenantId
);
BigDecimal
unitPrice
=
diEx
.
getPurchaseDecimal
();
BigDecimal
unitPrice
=
diEx
.
getPurchaseDecimal
();
if
(
unitPrice
==
null
)
{
unitPrice
=
BigDecimal
.
ZERO
;
}
thisAllPrice
=
thisAllPrice
.
add
(
thisSum
.
multiply
(
unitPrice
));
thisAllPrice
=
thisAllPrice
.
add
(
thisSum
.
multiply
(
unitPrice
));
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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