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
0d91c4b2
Commit
0d91c4b2
authored
Apr 17, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.6.3' into MVP1.6.3
parents
002b9430
fb30e295
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
2 deletions
+32
-2
EmpProjectDispatchVo.java
.../cloud/plus/v1/yifu/archives/vo/EmpProjectDispatchVo.java
+6
-0
TEmployeeProjectMapper.java
.../plus/v1/yifu/archives/mapper/TEmployeeProjectMapper.java
+2
-0
TEmployeeProjectService.java
...lus/v1/yifu/archives/service/TEmployeeProjectService.java
+2
-1
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+4
-0
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+5
-0
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+5
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+8
-1
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpProjectDispatchVo.java
View file @
0d91c4b2
...
...
@@ -197,4 +197,10 @@ public class EmpProjectDispatchVo implements Serializable {
*/
@Schema
(
description
=
"试用期(单位月)"
)
private
String
tryPeriod
;
/**
* 是否更新岗位信息
*/
@Schema
(
description
=
"是否更新岗位信息"
)
private
Boolean
postUpdate
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TEmployeeProjectMapper.java
View file @
0d91c4b2
...
...
@@ -116,4 +116,6 @@ public interface TEmployeeProjectMapper extends BaseMapper<TEmployeeProject> {
int
updateChangeById
(
@Param
(
"project"
)
TEmployeeProject
project
);
void
updateContractStatus
(
@Param
(
"empId"
)
String
empId
,
@Param
(
"deptId"
)
String
deptId
,
@Param
(
"status"
)
int
status
);
int
updatePostByEmpDeptNo
(
@Param
(
"deptNo"
)
String
deptNo
,
@Param
(
"post"
)
String
post
,
@Param
(
"empIdcard"
)
String
empIdcard
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmployeeProjectService.java
View file @
0d91c4b2
...
...
@@ -26,7 +26,6 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeProject;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
org.apache.ibatis.annotations.Param
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
...
...
@@ -261,4 +260,6 @@ public interface TEmployeeProjectService extends IService<TEmployeeProject> {
void
updateChangeById
(
TEmployeeProject
oldEmpProject
);
void
updateContractStatus
(
String
empId
,
String
deptId
,
int
status
);
void
updatePostByEmpDeptNo
(
String
deptNo
,
String
post
,
String
empIdcard
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
0d91c4b2
...
...
@@ -2429,6 +2429,10 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
EmpAddDispatchVo
emp
;
for
(
Map
.
Entry
<
String
,
EmpProjectDispatchVo
>
entry
:
projectsMap
.
entrySet
())
{
projectAdd
=
entry
.
getValue
();
if
(
Common
.
isNotNull
(
projectAdd
.
getPostUpdate
())
&&
projectAdd
.
getPostUpdate
()){
tEmployeeProjectService
.
updatePostByEmpDeptNo
(
projectAdd
.
getDeptNo
(),
projectAdd
.
getPost
(),
projectAdd
.
getEmpIdcard
());
continue
;
}
try
{
if
(
Common
.
isNotNull
(
projectAdd
))
{
project
=
new
TEmployeeProject
();
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
0d91c4b2
...
...
@@ -1861,6 +1861,11 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
baseMapper
.
updateContractStatus
(
empId
,
deptId
,
status
);
}
@Override
public
void
updatePostByEmpDeptNo
(
String
deptNo
,
String
post
,
String
empIdcard
)
{
baseMapper
.
updatePostByEmpDeptNo
(
deptNo
,
post
,
empIdcard
);
}
/**
* @param tEmployeeContractInfo
* @Description: 保存审核操作记录
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
0d91c4b2
...
...
@@ -1067,4 +1067,9 @@
set CONTRACT_STATUS = #{status}
WHERE a.EMP_ID=#{empId} and a.DEPT_ID=#{deptId}
</update>
<update
id=
"updatePostByEmpDeptNo"
>
update t_employee_project a
set POST = #{psot}
WHERE a.DEPT_NO=#{deptNo} and a.POST is null and a.EMP_IDCARD=#{empIdcard} and a.DELETE_FLAG ='0'
</update>
</mapper>
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
0d91c4b2
...
...
@@ -1594,7 +1594,14 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
&&
Common
.
isNotNull
(
empVo
.
getDeptNo
())
&&
Common
.
isEmpty
(
empVo
.
getContractType
()))
{
if
(
Common
.
isEmpty
(
empVo
.
getPost
())
&&
Common
.
isNotNull
(
excel
.
getPost
())){
EmpProjectDispatchVo
project
=
new
EmpProjectDispatchVo
();
project
.
setEmpNo
(
empVo
.
getDeptNo
());
project
.
setPost
(
excel
.
getPost
());
project
.
setEmpIdcard
(
empVo
.
getEmpIdcard
());
project
.
setPostUpdate
(
true
);
projects
.
put
(
excel
.
getEmpIdcard
()+
CommonConstants
.
DOWN_LINE_STRING
+
excel
.
getSettleDomainCode
(),
project
);
}
// 初始化合同
initContractInfo
(
contracts
,
excel
,
empVo
,
setInfoVo
,
user
);
}
...
...
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