Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hubin
long-tern-care-service
Commits
50abed8d
Commit
50abed8d
authored
Mar 15, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员退出
parent
5ecde08d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
14 deletions
+7
-14
DisableInfoMapper.java
...src/main/java/com/hungraim/ltc/dao/DisableInfoMapper.java
+2
-1
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+1
-9
DisableInfoMapper.xml
...y-service/src/main/resources/mapper/DisableInfoMapper.xml
+4
-4
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/dao/DisableInfoMapper.java
View file @
50abed8d
...
...
@@ -38,6 +38,7 @@ public interface DisableInfoMapper extends BaseMapper<ChDisableInfo> {
int
updateSrvSendById
(
ChSrvSend
chSrvSend
);
ChSrvSend
selectSrvSend
(
Integer
disableInfoId
);
int
insertSrvSend
(
Integer
disableInfoId
);
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
50abed8d
...
...
@@ -624,17 +624,9 @@ public class DisableServiceImpl implements DisableService {
}
else
{
chSrvSend
.
setStatus
((
short
)
3
);
disableInfoMapper
.
updateSrvSendById
(
chSrvSend
);
ChSrvSend
chSrvSend1
=
disableInfoMapper
.
selectSrvSend
(
disableInfoId
);
if
(
chSrvSend1
!=
null
){
chSrvSend1
.
setStatus
((
short
)
0
);
chSrvSend1
.
setFcd
(
new
Date
());
chSrvSendInfoMapper
.
insert
(
chSrvSend1
);
}
disableInfoMapper
.
insertSrvSend
(
disableInfoId
);
}
}
// 解除护理机构分配
// delete from CH_SRV_SEND where DISAB_INFO_ID = '327'
...
...
apply/apply-service/src/main/resources/mapper/DisableInfoMapper.xml
View file @
50abed8d
...
...
@@ -70,11 +70,10 @@
update CH_SRV_SEND s set s.STATUS ='3',s.end_time = #{endTime} where
s.DISAB_INFO_ID = #{disabInfoId}
</update>
<select
id=
"selectSrvSend"
resultType=
"com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend"
>
select * from CH_SRV_SEND s where s.DISAB_INFO_ID = #{disabInfoId} and ROWNUM =1 order by fcd desc
</select>
<insert
id=
"insertSrvSend"
parameterType=
"com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend"
>
<insert
id=
"insertSrvSend"
>
insert INTO ch_srv_send(SRV_SEND_ID,DISAB_INFO_ID,FCD,STATUS) values
((SELECT max(srv_send_id)+1 id from CH_SRV_SEND),#{disableInfoId},SYSDATE,0)
</insert>
</mapper>
\ No newline at end of file
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