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
3e74e733
Commit
3e74e733
authored
Apr 29, 2019
by
double
Browse files
修改库存预警sql语句
parent
535983d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/mapper_xml/DepotItemMapperEx.xml
View file @
3e74e733
...
...
@@ -487,7 +487,7 @@
<if
test=
"pid != null"
>
and di.DepotId= ${pid}
</if>
AND ifnull(dh.delete_Flag, '0') != '1'
AND ifnull(dh.delete_Flag, '0') != '1'
group by di.MaterialId
) intype ON intype.MaterialId = m.id
LEFT JOIN (
SELECT
...
...
@@ -503,7 +503,7 @@
<if
test=
"pid != null"
>
and di.DepotId= ${pid}
</if>
AND ifnull(dh.delete_Flag, '0') != '1'
AND ifnull(dh.delete_Flag, '0') != '1'
group by di.MaterialId
) outtype ON outtype.MaterialId = m.id
WHERE
1 = 1
...
...
@@ -532,7 +532,7 @@
<if
test=
"pid != null"
>
and di.DepotId= ${pid}
</if>
AND ifnull(dh.delete_Flag, '0') != '1'
AND ifnull(dh.delete_Flag, '0') != '1'
group by di.MaterialId
) intype ON intype.MaterialId = m.id
WHERE
...
...
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