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
b5c0188e
Commit
b5c0188e
authored
Apr 10, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务分配
parent
9107a82a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
BuildBedController.java
...ungraim/ltc/governance/controller/BuildBedController.java
+3
-1
ChSrvSendMapper.java
...java/com/hungraim/ltc/governance/dao/ChSrvSendMapper.java
+3
-0
ChSrvSendMapper.xml
...es/com/hungraim/ltc/governance/mapper/ChSrvSendMapper.xml
+10
-0
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/BuildBedController.java
View file @
b5c0188e
...
@@ -2,6 +2,8 @@ package com.hungraim.ltc.governance.controller;
...
@@ -2,6 +2,8 @@ package com.hungraim.ltc.governance.controller;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.governance.dao.ChSrvSendMapper
;
import
com.hungraim.ltc.governance.dao.ChSrvSendMapper
;
...
@@ -280,7 +282,7 @@ public class BuildBedController {
...
@@ -280,7 +282,7 @@ public class BuildBedController {
sendService
.
insertSrvSend
(
chSrvSend
);
sendService
.
insertSrvSend
(
chSrvSend
);
}
else
{
}
else
{
chSrvSend
.
setSrvSendId
(
chrSrvVo
.
getSrvSendId
());
chSrvSend
.
setSrvSendId
(
chrSrvVo
.
getSrvSendId
());
sendService
.
update
ById
(
chSrvSend
);
chSrvSendMapper
.
updateSrvSend
ById
(
chSrvSend
);
}
}
}
}
...
...
governance/src/main/java/com/hungraim/ltc/governance/dao/ChSrvSendMapper.java
View file @
b5c0188e
...
@@ -24,4 +24,6 @@ public interface ChSrvSendMapper extends BaseMapper<ChSrvSend> {
...
@@ -24,4 +24,6 @@ public interface ChSrvSendMapper extends BaseMapper<ChSrvSend> {
Page
<
SvrSendListVo
>
selectSrvSendList
(
Page
<
SvrSendListVo
>
page
,
@Param
(
"srvOrganId"
)
Long
srvOrganId
,
@Param
(
"realName"
)
String
realName
,
@Param
(
"realTel"
)
String
realTel
,
@Param
(
"programStatus"
)
String
programStatus
);
Page
<
SvrSendListVo
>
selectSrvSendList
(
Page
<
SvrSendListVo
>
page
,
@Param
(
"srvOrganId"
)
Long
srvOrganId
,
@Param
(
"realName"
)
String
realName
,
@Param
(
"realTel"
)
String
realTel
,
@Param
(
"programStatus"
)
String
programStatus
);
int
updateSrvSendInfo
(
Long
disabInfoId
);
int
updateSrvSendInfo
(
Long
disabInfoId
);
int
updateSrvSendById
(
ChSrvSend
chSrvSend
);
}
}
\ No newline at end of file
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChSrvSendMapper.xml
View file @
b5c0188e
...
@@ -76,4 +76,13 @@
...
@@ -76,4 +76,13 @@
update CH_SRV_SEND p set p.status = '2',p.end_time = sysdate where
update CH_SRV_SEND p set p.status = '2',p.end_time = sysdate where
p.DISAB_INFO_ID = #{disabInfoId}
p.DISAB_INFO_ID = #{disabInfoId}
</update>
</update>
<update
id=
"updateSrvSendById"
parameterType=
"com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend"
>
update CH_SRV_SEND p set p.status = '1',p.SRV_MODE_ID = #{srvModeId},p.ALLOT_TIME =#{allotTime},
p.DISAB_INFO_ID =#{disabInfoId},p.STOP_TIME =#{stopTime},p.fcd = sysdate where
p.SRV_SEND_ID = #{srvSendId}
</update>
</mapper>
</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