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
221ae0a9
Commit
221ae0a9
authored
Jun 14, 2019
by
qiankunpingtai
Browse files
处理可能存在的sql注入问题
parent
0d6c24d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/mapper_xml/DepotItemMapperEx.xml
View file @
221ae0a9
...
...
@@ -170,7 +170,7 @@
select ifnull(sum(BasicNumber),0) as BasicNumber from jsh_depothead dh
INNER JOIN jsh_depotitem di on dh.id=di.HeaderId and ifnull(di.delete_Flag,'0') !='1'
where dh.type='入库'
and di.MaterialId =
$
{mId} and di.DepotId =
$
{depotId}
and di.MaterialId =
#
{mId} and di.DepotId =
#
{depotId}
and ifnull(dh.delete_Flag,'0') !='1'
</select>
...
...
@@ -179,7 +179,7 @@
INNER JOIN jsh_depotitem di on dh.id=di.HeaderId and ifnull(di.delete_Flag,'0') !='1'
where dh.type='出库'
and dh.SubType!='调拨'
and di.MaterialId =
$
{mId} and di.DepotId =
$
{depotId}
and di.MaterialId =
#
{mId} and di.DepotId =
#
{depotId}
and ifnull(dh.delete_Flag,'0') !='1'
</select>
...
...
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