Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huang.tao
/
jmai-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d4ed9eaa
authored
Jan 23, 2026
by
zhu.zewen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复剩余药品数量查询SQL
parent
42321050
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
jmai-physic/src/main/resources/mapper/PhysicStorageAmpouleMapper.xml
jmai-physic/src/main/resources/mapper/PhysicStorageAmpouleMapper.xml
View file @
d4ed9eaa
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
d.factory_name,
d.factory_name,
SUM(d.destroy_num) AS total_destroy_num
SUM(d.destroy_num) AS total_destroy_num
FROM physic_destroy_check_detail d
FROM physic_destroy_check_detail d
INNER JOIN physic_destroy_check c ON d.check_id = c.id AND c.del_flag = 0 AND c._dept_id = #{deptId}
INNER JOIN physic_destroy_check c ON d.check_id = c.id AND c.del_flag = 0 AND c.
apply
_dept_id = #{deptId}
WHERE d.del_flag = 0
WHERE d.del_flag = 0
GROUP BY d.physic_name, d.physic_spec, d.batch_no, d.factory_name
GROUP BY d.physic_name, d.physic_spec, d.batch_no, d.factory_name
) d ON s.physic_name = d.physic_name
) d ON s.physic_name = d.physic_name
...
...
Write
Preview
Markdown
is supported
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