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
e7fb8ff0
Commit
e7fb8ff0
authored
Nov 03, 2022
by
季圣华
Browse files
优化库存预警报表的查询sql语句
parent
8a825a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/resources/mapper_xml/DepotItemMapperEx.xml
View file @
e7fb8ff0
...
...
@@ -601,7 +601,7 @@
and ifnull(m.delete_flag,'0') !='1'
and mis.depot_id=mcs.depot_id
and ((ifnull(mis.low_safe_stock,0)!=0 and mcs.current_number
<
ifnull(mis.low_safe_stock,0))
or (ifnull(mis.
low
_safe_stock,0)!=0 and mcs.current_number > ifnull(mis.high_safe_stock,0)))
or (ifnull(mis.
high
_safe_stock,0)!=0 and mcs.current_number > ifnull(mis.high_safe_stock,0)))
<if
test=
"materialParam != null and materialParam !=''"
>
<bind
name=
"bindKey"
value=
"'%'+materialParam+'%'"
/>
and (me.bar_code like #{bindKey} or m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
...
...
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