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
e1431142
Commit
e1431142
authored
Oct 29, 2019
by
季圣华
Browse files
解决销售统计报错的bug
parent
e975b414
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/mapper_xml/DepotItemMapperEx.xml
View file @
e1431142
...
...
@@ -181,7 +181,7 @@
</select>
<select
id=
"buyOrSaleNumber"
resultType=
"java.math.BigDecimal"
>
select sum(BasicNumber) as BasicNumber from jsh_depotitem di,jsh_depothead dh
select
ifnull(
sum(BasicNumber)
,0)
as BasicNumber from jsh_depotitem di,jsh_depothead dh
where di.HeaderId = dh.id
and dh.type='${type}' and dh.subType='${subType}'
and di.MaterialId =${MId}
...
...
@@ -192,7 +192,7 @@
</select>
<select
id=
"buyOrSalePrice"
resultType=
"java.math.BigDecimal"
>
select sum(AllPrice) as AllPrice from jsh_depotitem di,jsh_depothead dh
select
ifnull(
sum(AllPrice)
,0)
as AllPrice from jsh_depotitem di,jsh_depothead dh
where di.HeaderId = dh.id
and dh.type='${type}' and dh.subType='${subType}'
and di.MaterialId =${MId}
...
...
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