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
ed33942b
Commit
ed33942b
authored
Jul 10, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.6-预入职相关_导出优化
parent
c1c233e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
TPreEmpMainMapper.java
...cloud/plus/v1/yifu/archives/mapper/TPreEmpMainMapper.java
+9
-0
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+7
-0
TPreEmpMainMapper.xml
...hives-biz/src/main/resources/mapper/TPreEmpMainMapper.xml
+22
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpMainMapper.java
View file @
ed33942b
...
@@ -67,4 +67,13 @@ public interface TPreEmpMainMapper extends BaseMapper<TPreEmpMain> {
...
@@ -67,4 +67,13 @@ public interface TPreEmpMainMapper extends BaseMapper<TPreEmpMain> {
TPreEmpMain
getTPreEmpMainByCardAndDeptNo
(
@Param
(
"empIdCard"
)
String
empIdCard
,
@Param
(
"deptNo"
)
String
deptNo
);
TPreEmpMain
getTPreEmpMainByCardAndDeptNo
(
@Param
(
"empIdCard"
)
String
empIdCard
,
@Param
(
"deptNo"
)
String
deptNo
);
// 以下都是清空临时表的数据
void
deleteBadByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
void
deleteContactByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
void
deleteDisabilityByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
void
deleteEducationByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
void
deleteFamilyByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
void
deleteEmployeeByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
void
deleteProjectByMainId
(
@Param
(
"preMainId"
)
String
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
ed33942b
...
@@ -151,6 +151,13 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -151,6 +151,13 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
if
(
main
!=
null
&&
CommonConstants
.
FIVE_STRING
.
equals
(
main
.
getStatus
()))
{
if
(
main
!=
null
&&
CommonConstants
.
FIVE_STRING
.
equals
(
main
.
getStatus
()))
{
// 清空信息
// 清空信息
if
(
Common
.
isNotNull
(
main
.
getId
()))
{
if
(
Common
.
isNotNull
(
main
.
getId
()))
{
baseMapper
.
deleteBadByMainId
(
main
.
getId
());
baseMapper
.
deleteContactByMainId
(
main
.
getId
());
baseMapper
.
deleteDisabilityByMainId
(
main
.
getId
());
baseMapper
.
deleteEducationByMainId
(
main
.
getId
());
baseMapper
.
deleteFamilyByMainId
(
main
.
getId
());
baseMapper
.
deleteEmployeeByMainId
(
main
.
getId
());
baseMapper
.
deleteProjectByMainId
(
main
.
getId
());
tPreEmpWorkRecordingService
.
deleteByMainId
(
main
.
getId
());
tPreEmpWorkRecordingService
.
deleteByMainId
(
main
.
getId
());
tPreEmpProfessionalService
.
deleteProfessionalByMainId
(
main
.
getId
());
tPreEmpProfessionalService
.
deleteProfessionalByMainId
(
main
.
getId
());
tAttaInfoService
.
deleteByDomainId
(
main
.
getId
());
tAttaInfoService
.
deleteByDomainId
(
main
.
getId
());
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpMainMapper.xml
View file @
ed33942b
...
@@ -508,4 +508,26 @@
...
@@ -508,4 +508,26 @@
limit 1
limit 1
</select>
</select>
<delete
id=
"deleteBadByMainId"
>
delete from t_pre_emp_bad_record where PRE_MAIN_ID = #{preMainId}
</delete>
<delete
id=
"deleteContactByMainId"
>
delete from t_pre_emp_contact_info where PRE_MAIN_ID = #{preMainId}
</delete>
<delete
id=
"deleteDisabilityByMainId"
>
delete from t_pre_emp_disability_info where PRE_MAIN_ID = #{preMainId}
</delete>
<delete
id=
"deleteEducationByMainId"
>
delete from t_pre_emp_education where PRE_MAIN_ID = #{preMainId}
</delete>
<delete
id=
"deleteFamilyByMainId"
>
delete from t_pre_emp_family where PRE_MAIN_ID = #{preMainId}
</delete>
<delete
id=
"deleteEmployeeByMainId"
>
delete from t_pre_employee_info where PRE_MAIN_ID = #{preMainId}
</delete>
<delete
id=
"deleteProjectByMainId"
>
delete from t_pre_employee_project where PRE_MAIN_ID = #{preMainId}
</delete>
</mapper>
</mapper>
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