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
137c01ef
Commit
137c01ef
authored
Jun 14, 2019
by
double
Browse files
销售统计报表中总销售额
parent
5b2c539a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
137c01ef
...
...
@@ -584,6 +584,7 @@ public class DepotItemController {
BigDecimal
OutSumPrice
=
sumPriceBuyOrSale
(
"出库"
,
"销售"
,
diEx
.
getMId
(),
monthTime
);
BigDecimal
InSumRetailPrice
=
sumPriceBuyOrSale
(
"入库"
,
"零售退货"
,
diEx
.
getMId
(),
monthTime
);
BigDecimal
InSumPrice
=
sumPriceBuyOrSale
(
"入库"
,
"销售退货"
,
diEx
.
getMId
(),
monthTime
);
BigDecimal
OutInSumPrice
=
(
OutSumRetailPrice
.
add
(
OutSumPrice
)).
subtract
(
InSumRetailPrice
.
add
(
InSumPrice
));
item
.
put
(
"MaterialName"
,
diEx
.
getMName
());
item
.
put
(
"MaterialModel"
,
diEx
.
getMModel
());
//扩展信息
...
...
@@ -595,6 +596,7 @@ public class DepotItemController {
item
.
put
(
"InSum"
,
InSumRetail
.
add
(
InSum
));
item
.
put
(
"OutSumPrice"
,
OutSumRetailPrice
.
add
(
OutSumPrice
));
item
.
put
(
"InSumPrice"
,
InSumRetailPrice
.
add
(
InSumPrice
));
item
.
put
(
"OutInSumPrice"
,
OutInSumPrice
);
//实际销售金额
dataArray
.
add
(
item
);
}
}
...
...
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