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
a4340b23
Commit
a4340b23
authored
Apr 25, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成分组历史
parent
15f850b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletion
+23
-1
TaskPushHisMapper.java
...src/main/java/com/hungraim/ltc/dao/TaskPushHisMapper.java
+14
-0
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+8
-0
ChAprTaskPushHis.java
...hungraim/ltc/pojo/entity/assessment/ChAprTaskPushHis.java
+1
-1
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/TaskPushHisMapper.java
0 → 100644
View file @
a4340b23
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.assessment.ChAprTaskPushHis
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* @author czz
*/
@Mapper
@Repository
public
interface
TaskPushHisMapper
extends
BaseMapper
<
ChAprTaskPushHis
>
{
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
a4340b23
...
...
@@ -11,6 +11,7 @@ import com.hungraim.ltc.pojo.vo.assessment.*;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.SerialNumberUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -37,6 +38,8 @@ public class TaskServiceImpl implements TaskService {
@Autowired
private
TaskPushMapper
taskPushMapper
;
@Autowired
private
TaskPushHisMapper
taskPushHisMapper
;
@Autowired
private
CfgSrvDisableLevelMapper
cfgSrvDisableLevelMapper
;
@Override
...
...
@@ -180,7 +183,12 @@ public class TaskServiceImpl implements TaskService {
taskPush
.
setEmpId
(
Long
.
parseLong
(
empId
));
taskPush
.
setStatus
((
short
)
1
);
taskPush
.
setIsManual
((
short
)
1
);
//生成分组历史
ChAprTaskPushHis
pushHis
=
new
ChAprTaskPushHis
();
BeanUtils
.
copyProperties
(
taskPush
,
pushHis
);
//插入分组数据
taskPushMapper
.
insert
(
taskPush
);
taskPushHisMapper
.
insert
(
pushHis
);
}
return
Result
.
success
();
}
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/assessment/ChAprTaskPushHis.java
View file @
a4340b23
...
...
@@ -21,7 +21,7 @@ public class ChAprTaskPushHis implements Serializable {
/**
* 任务推送ID(年月日+串码6)
*/
@TableId
(
type
=
IdType
.
INPUT
)
@TableId
(
value
=
"his_task_push_id"
,
type
=
IdType
.
INPUT
)
private
Long
hisTaskPushId
;
/**
...
...
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