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
b9dac00a
authored
Jan 08, 2026
by
zhu.zewen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复可销毁空安瓿
parent
54698c66
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
jmai-physic/src/main/java/com/jmai/physic/entity/PhysicAmpoule.java
jmai-physic/src/main/java/com/jmai/physic/service/impl/PhysicAmpouleServiceImpl.java
jmai-physic/src/main/resources/mapper/PhysicStorageAmpouleMapper.xml
jmai-physic/src/main/java/com/jmai/physic/entity/PhysicAmpoule.java
View file @
b9dac00a
...
...
@@ -37,7 +37,9 @@ public class PhysicAmpoule extends BaseVersionEntity {
@ApiModelProperty
(
value
=
"订单号"
)
private
String
orderNo
;
@ApiModelProperty
(
value
=
"批次结存"
)
private
Integer
batchBalance
;
@ApiModelProperty
(
value
=
"药品总结存"
)
private
Integer
physicBalance
;
@ApiModelProperty
(
value
=
"状态:0-待接受退回、1-待退回复核、100-已完成(0-99审核中)"
)
...
...
jmai-physic/src/main/java/com/jmai/physic/service/impl/PhysicAmpouleServiceImpl.java
View file @
b9dac00a
...
...
@@ -66,6 +66,8 @@ public class PhysicAmpouleServiceImpl extends AbstractService implements PhysicA
ampoule
.
setPhysicNum
(
physic
.
getPhysicNum
());
ampoule
.
setType
(
req
.
getType
());
ampoule
.
setOrderNo
(
orderNo
);
ampoule
.
setBatchBalance
(
null
);
ampoule
.
setPhysicBalance
(
null
);
ampoule
.
setStatus
(
0
);
ampoule
.
setChUser
(
null
);
ampoule
.
setFhUser
(
null
);
...
...
jmai-physic/src/main/resources/mapper/PhysicStorageAmpouleMapper.xml
View file @
b9dac00a
...
...
@@ -54,8 +54,8 @@
AND a.type = 2
-- 销毁状态:0-待销毁 1-已销毁
AND a.destroy_status = 0
-- 销毁状态:0-5审批中,
6
-已销毁
AND (d.id IS NULL OR d.status
!= 6
)
-- 销毁状态:0-5审批中,
100
-已销毁
AND (d.id IS NULL OR d.status
BETWEEN 0 AND 99
)
GROUP BY a.physic_name,a.physic_spec,a.batch_no,a.factory_name,a.accept_dept_id
</select>
</mapper>
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