Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
fe2dca0c
Commit
fe2dca0c
authored
Nov 05, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-派单更新档案完整度监控
parent
041ffc80
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
TEmployeeInfoController.java
.../v1/yifu/archives/controller/TEmployeeInfoController.java
+1
-1
TEmployeeInfoService.java
...d/plus/v1/yifu/archives/service/TEmployeeInfoService.java
+1
-1
TCompleteMonitorServiceImpl.java
...fu/archives/service/impl/TCompleteMonitorServiceImpl.java
+3
-6
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+7
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmployeeInfoController.java
View file @
fe2dca0c
...
...
@@ -441,7 +441,7 @@ public class TEmployeeInfoController {
@Operation
(
summary
=
"通过EMP_ID查询人员档案变更日志"
,
description
=
"通过EMP_ID查询人员档案变更日志"
)
@Inner
@PostMapping
(
"/inner/updateEmpInfo"
)
public
Boolean
updateEmpInfo
(
@RequestBody
UpdateEmpVo
vo
)
{
public
Boolean
updateEmpInfo
(
@RequestBody
UpdateEmpVo
vo
)
throws
IllegalAccessException
{
return
tEmployeeInfoService
.
updateEmpInfo
(
vo
);
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmployeeInfoService.java
View file @
fe2dca0c
...
...
@@ -195,7 +195,7 @@ public interface TEmployeeInfoService extends IService<TEmployeeInfo> {
EmpDispatchAddVo
addDispatchInfo
(
EmpDispatchAddVo
addVo
);
Boolean
updateEmpInfo
(
UpdateEmpVo
vo
);
Boolean
updateEmpInfo
(
UpdateEmpVo
vo
)
throws
IllegalAccessException
;
Boolean
checkMobile
(
String
mobile
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TCompleteMonitorServiceImpl.java
View file @
fe2dca0c
...
...
@@ -10,10 +10,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.AreaMap
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TArchivesExportLimitMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TArchivesLimitMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TCompleteMonitorMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeProjectMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.utils.ExcelStyle
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.*
;
...
...
@@ -69,7 +66,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
// 员工家庭信息表
private
final
TEmpFamilyService
tEmpFamilyService
;
// 人员档案表
private
final
TEmployeeInfo
Service
tEmployeeInfoService
;
private
final
TEmployeeInfo
Mapper
tEmployeeInfoMapper
;
// 项目档案表
private
final
TEmployeeProjectService
tEmployeeProjectService
;
// 员工职业资格信息表
...
...
@@ -756,7 +753,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
List
<
TEmpFamily
>
tEmpFamily
=
tEmpFamilyService
.
getListByEmpId
(
id
);
vo
.
setTEmpFamilyList
(
tEmpFamily
);
// 人员档案表
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfo
Service
.
ge
tById
(
id
);
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfo
Mapper
.
selec
tById
(
id
);
vo
.
setTEmployeeInfo
(
tEmployeeInfo
);
// 项目档案表
TEmployeeProject
tEmployeeProject
=
tEmployeeProjectService
.
getByEmpIdAndDeptId
(
id
,
deptId
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
fe2dca0c
...
...
@@ -129,6 +129,8 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
private
final
TArchivesLimitMapper
tArchivesLimitMapper
;
private
final
AtomicInteger
updateAtomicInteger
=
new
AtomicInteger
(
0
);
private
final
TCompleteMonitorService
completeMonitorService
;
@Autowired
private
OSSUtil
ossUtil
;
...
...
@@ -2517,7 +2519,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
* @Param
**/
@Override
public
Boolean
updateEmpInfo
(
UpdateEmpVo
vo
)
{
public
Boolean
updateEmpInfo
(
UpdateEmpVo
vo
)
throws
IllegalAccessException
{
if
(
Common
.
isNotNull
(
vo
))
{
TEmployeeInfo
employeeInfo
=
null
;
TEmployeeProject
p
=
null
;
...
...
@@ -2587,6 +2589,10 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
}
//重新刷新一下项目编码对应的档案完整度监控的数据
if
(
Common
.
isNotNull
(
vo
.
getProjectNo
())
&&
CommonConstants
.
ZERO_STRING
.
equals
(
vo
.
getType
()))
{
completeMonitorService
.
updateProjectStatusByDeptNo
(
vo
.
getProjectNo
());
}
}
return
true
;
}
...
...
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