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
54698c66
authored
Jan 08, 2026
by
zhu.zewen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复可销毁空安瓿
parent
62e24947
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
jmai-physic/src/main/java/com/jmai/physic/dto/PhysicDestroyCreateReq.java
jmai-physic/src/main/resources/mapper/PhysicDestroyCheckMapper.xml
jmai-physic/src/main/resources/mapper/PhysicStorageAmpouleMapper.xml
jmai-physic/src/main/java/com/jmai/physic/dto/PhysicDestroyCreateReq.java
View file @
54698c66
package
com
.
jmai
.
physic
.
dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.util.Date
;
@Data
public
class
PhysicDestroyCreateReq
{
@ApiModelProperty
(
value
=
"病号"
)
private
String
sickName
;
@ApiModelProperty
(
value
=
"剩余"
)
private
String
surplus
;
@ApiModelProperty
(
value
=
"图片"
)
private
String
images
;
@ApiModelProperty
(
value
=
"销毁时间"
)
private
Date
destroyTime
;
}
jmai-physic/src/main/resources/mapper/PhysicDestroyCheckMapper.xml
View file @
54698c66
...
...
@@ -4,8 +4,13 @@
<select
id=
"selectCheckPage"
resultType=
"com.jmai.physic.vo.PhysicDestroyCheckVO"
>
select a.*,b.name as createName from physic_destroy_check a left join sys_user b on a.create_by =b.id
where a.del_flag =0 and a.status=#{req.status}
select a.*,b.name as createName
from physic_destroy_check a
left join sys_user b on a.create_by =b.id
where a.del_flag =0
<if
test=
"req.status != null and req.status != ''"
>
AND a.status=#{req.status}
</if>
<if
test=
"req.keyword != null and req.keyword != ''"
>
AND (
a.apply_name LIKE CONCAT('%', #{req.keyword}, '%')
...
...
jmai-physic/src/main/resources/mapper/PhysicStorageAmpouleMapper.xml
View file @
54698c66
...
...
@@ -47,7 +47,7 @@
a.destroy_status,
d.status AS destroyCheckStatus
FROM physic_storage_ampoule a
INNER
JOIN physic_destroy_check d ON a.order_no = d.order_no
LEFT
JOIN physic_destroy_check d ON a.order_no = d.order_no
WHERE a.del_flag = 0
AND a.accept_dept_id = #{deptId}
-- 2-移至销毁
...
...
@@ -55,7 +55,7 @@
-- 销毁状态:0-待销毁 1-已销毁
AND a.destroy_status = 0
-- 销毁状态:0-5审批中, 6-已销毁
AND
d.status != 6
AND
(d.id IS NULL OR d.status != 6)
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