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
f069d405
Commit
f069d405
authored
Apr 01, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改定期复评插入分配记录
parent
c2453662
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
7 deletions
+30
-7
SrvSendMapper.java
...ice/src/main/java/com/hungraim/ltc/dao/SrvSendMapper.java
+16
-0
TaskMapper.java
...ervice/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
+0
-1
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+14
-2
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+0
-4
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/SrvSendMapper.java
0 → 100644
View file @
f069d405
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* @author jiaguokai
*
*/
@Mapper
@Repository
public
interface
SrvSendMapper
extends
BaseMapper
<
ChSrvSend
>
{
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
View file @
f069d405
...
...
@@ -77,7 +77,6 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
Page
<
TaskGroupInfoByPageVO
>
taskGroupInfoListByPage
(
String
aprEmpId
,
String
appointStartTime
,
String
appointEndTime
,
String
queryBeginDate
,
String
queryEndDate
,
String
groupNo
,
Integer
pageNo
,
Integer
pageSize
);
int
insertSrvSend
(
Integer
disableInfoId
);
ChDisableInfo
selectDisableBycertiCode
(
@Param
(
"certiCode"
)
String
certiCode
);
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
f069d405
...
...
@@ -15,6 +15,7 @@ import com.hungraim.ltc.pojo.entity.SysConfig.ChFndAttach;
import
com.hungraim.ltc.pojo.entity.assessment.*
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
import
com.hungraim.ltc.pojo.vo.ReportUpdateVO
;
import
com.hungraim.ltc.pojo.vo.account.AssessAccountsExportResp
;
import
com.hungraim.ltc.pojo.vo.account.AssessAccountsListResp
;
...
...
@@ -68,6 +69,9 @@ public class TaskServiceImpl implements TaskService {
private
final
ChAssessAccountsDetailMapper
chAssessDetailAccountsMapper
;
private
final
SrvSendMapper
srvSendMapper
;
...
...
@@ -216,7 +220,11 @@ public class TaskServiceImpl implements TaskService {
if
(
2
==
reportDetailVO
.
getEvaluateType
()){
ChAprTask
chAprTask
=
taskMapper
.
selectById
(
reportDetailVO
.
getTaskId
());
Integer
disableInfoId
=
chAprTask
.
getDisableInfoId
();
taskMapper
.
insertSrvSend
(
disableInfoId
);
ChSrvSend
chSrvSend
=
new
ChSrvSend
();
chSrvSend
.
setStatus
((
short
)
0
);
chSrvSend
.
setDisabInfoId
(
Long
.
valueOf
(
disableInfoId
));
chSrvSend
.
setFcd
(
new
Date
());
srvSendMapper
.
insert
(
chSrvSend
);
}
return
Result
.
success
();
}
...
...
@@ -384,7 +392,11 @@ public class TaskServiceImpl implements TaskService {
if
(
2
==
vo
.
getEvaluateType
()){
ChAprTask
chAprTask
=
taskMapper
.
selectById
(
chAprReport
.
getTaskId
());
Integer
disableInfoId
=
chAprTask
.
getDisableInfoId
();
taskMapper
.
insertSrvSend
(
disableInfoId
);
ChSrvSend
chSrvSend
=
new
ChSrvSend
();
chSrvSend
.
setStatus
((
short
)
0
);
chSrvSend
.
setDisabInfoId
(
Long
.
valueOf
(
disableInfoId
));
chSrvSend
.
setFcd
(
new
Date
());
srvSendMapper
.
insert
(
chSrvSend
);
}
//附件上传
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
f069d405
...
...
@@ -494,10 +494,6 @@
<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>
<select
id=
"selectDisableBycertiCode"
resultType=
"com.hungraim.ltc.pojo.entity.disable.ChDisableInfo"
>
...
...
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