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
585a3131
Commit
585a3131
authored
May 31, 2022
by
季圣华
Browse files
解决商品库存报表查询bug
parent
ad4b2265
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml
View file @
585a3131
...
...
@@ -31,7 +31,7 @@
</resultMap>
<resultMap
id=
"InitialStockWithMaterialMap"
type=
"com.jsh.erp.datasource.entities.MaterialInitialStockWithMaterial"
>
<result
column=
"material
I
d"
jdbcType=
"BIGINT"
property=
"materialId"
/>
<result
column=
"material
_i
d"
jdbcType=
"BIGINT"
property=
"materialId"
/>
<result
column=
"number"
jdbcType=
"DECIMAL"
property=
"number"
/>
</resultMap>
...
...
@@ -537,7 +537,7 @@
</update>
<select
id=
"getInitialStockWithMaterial"
resultMap=
"InitialStockWithMaterialMap"
>
select material_id, ifnull(sum(mis.number),0)
select material_id, ifnull(sum(mis.number),0)
number
from jsh_material_initial_stock mis
where 1=1
<if
test=
"depotList.size()>0"
>
...
...
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