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
57a9d78c
Commit
57a9d78c
authored
Jun 24, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.12-保存档案
parent
7b58ec80
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
219 additions
and
131 deletions
+219
-131
TGzEmpContactInfoMapper.java
...plus/v1/yifu/archives/mapper/TGzEmpContactInfoMapper.java
+5
-0
TGzEmpEducationMapper.java
...d/plus/v1/yifu/archives/mapper/TGzEmpEducationMapper.java
+5
-0
TGzEmpFamilyMapper.java
...loud/plus/v1/yifu/archives/mapper/TGzEmpFamilyMapper.java
+5
-0
TGzEmpWorkMapper.java
.../cloud/plus/v1/yifu/archives/mapper/TGzEmpWorkMapper.java
+5
-0
TGzEmpInfoServiceImpl.java
.../v1/yifu/archives/service/impl/TGzEmpInfoServiceImpl.java
+167
-131
TGzEmpContactInfoMapper.xml
...biz/src/main/resources/mapper/TGzEmpContactInfoMapper.xml
+8
-0
TGzEmpEducationMapper.xml
...s-biz/src/main/resources/mapper/TGzEmpEducationMapper.xml
+8
-0
TGzEmpFamilyMapper.xml
...ives-biz/src/main/resources/mapper/TGzEmpFamilyMapper.xml
+8
-0
TGzEmpWorkMapper.xml
...chives-biz/src/main/resources/mapper/TGzEmpWorkMapper.xml
+8
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpContactInfoMapper.java
View file @
57a9d78c
...
...
@@ -24,6 +24,8 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 瓜子紧急联系人
*
...
...
@@ -39,6 +41,9 @@ public interface TGzEmpContactInfoMapper extends BaseMapper<TGzEmpContactInfo> {
*/
IPage
<
TGzEmpContactInfo
>
getTGzEmpContactInfoPage
(
Page
<
TGzEmpContactInfo
>
page
,
@Param
(
"tGzEmpContactInfo"
)
TGzEmpContactInfo
tGzEmpContactInfo
);
// 获取附属信息——保存到人员档案时使用 hgw
TGzEmpContactInfo
getOneByEmpId
(
@Param
(
"empId"
)
String
empId
);
// 保存是先删后增 hgw 2025-6-20 11:06:38
int
deleteByEmpId
(
@Param
(
"empId"
)
String
empId
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpEducationMapper.java
View file @
57a9d78c
...
...
@@ -24,6 +24,8 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 瓜子教育经历
*
...
...
@@ -39,6 +41,9 @@ public interface TGzEmpEducationMapper extends BaseMapper<TGzEmpEducation> {
*/
IPage
<
TGzEmpEducation
>
getTGzEmpEducationPage
(
Page
<
TGzEmpEducation
>
page
,
@Param
(
"tGzEmpEducation"
)
TGzEmpEducation
tGzEmpEducation
);
// 获取附属信息——保存到人员档案时使用 hgw
TGzEmpEducation
getOneByEmpId
(
@Param
(
"empId"
)
String
empId
);
// 保存是先删后增 hgw 2025-6-20 11:06:38
int
deleteByEmpId
(
@Param
(
"empId"
)
String
empId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpFamilyMapper.java
View file @
57a9d78c
...
...
@@ -24,6 +24,8 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 瓜子家庭成员
*
...
...
@@ -40,6 +42,9 @@ public interface TGzEmpFamilyMapper extends BaseMapper<TGzEmpFamily> {
*/
IPage
<
TGzEmpFamily
>
getTGzEmpFamilyPage
(
Page
<
TGzEmpFamily
>
page
,
@Param
(
"tGzEmpFamily"
)
TGzEmpFamily
tGzEmpFamily
);
// 获取附属信息——保存到人员档案时使用 hgw
List
<
TGzEmpFamily
>
getListByEmpId
(
@Param
(
"empId"
)
String
empId
);
// 保存是先删后增 hgw 2025-6-20 11:06:38
int
deleteByEmpId
(
@Param
(
"empId"
)
String
empId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpWorkMapper.java
View file @
57a9d78c
...
...
@@ -24,6 +24,8 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 瓜子工作经历
*
...
...
@@ -40,6 +42,9 @@ public interface TGzEmpWorkMapper extends BaseMapper<TGzEmpWork> {
*/
IPage
<
TGzEmpWork
>
getTGzEmpWorkPage
(
Page
<
TGzEmpWork
>
page
,
@Param
(
"tGzEmpWork"
)
TGzEmpWork
tGzEmpWork
);
// 获取附属信息——保存到人员档案时使用 hgw
List
<
TGzEmpWork
>
getListByEmpId
(
@Param
(
"empId"
)
String
empId
);
// 保存是先删后增 hgw 2025-6-20 11:06:38
int
deleteByEmpId
(
@Param
(
"empId"
)
String
empId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpInfoServiceImpl.java
View file @
57a9d78c
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpContactInfoMapper.xml
View file @
57a9d78c
...
...
@@ -107,6 +107,14 @@
</where>
</select>
<!--获取附属信息——保存到人员档案时使用 只有一个-->
<select
id=
"getOneByEmpId"
resultMap=
"tGzEmpContactInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_contact_info a
where a.del_flag = '0' and a.emp_id = #{empId} order by a.create_time desc limit 1
</select>
<!-- 删除 -->
<delete
id=
"deleteByEmpId"
>
delete FROM t_gz_emp_contact_info where emp_id = #{empId}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpEducationMapper.xml
View file @
57a9d78c
...
...
@@ -137,6 +137,14 @@
</where>
</select>
<!--获取附属信息——保存到人员档案时使用—— 教育经历只有一个最高的-->
<select
id=
"getOneByEmpId"
resultMap=
"tGzEmpEducationMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_education a
where a.del_flag = '0' and a.emp_id = #{empId} order by a.create_time desc limit 1
</select>
<!-- 删除 -->
<delete
id=
"deleteByEmpId"
>
delete FROM t_gz_emp_education where emp_id = #{empId}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpFamilyMapper.xml
View file @
57a9d78c
...
...
@@ -117,6 +117,14 @@
</where>
</select>
<!--获取附属信息——保存到人员档案时使用-->
<select
id=
"getListByEmpId"
resultMap=
"tGzEmpFamilyMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_family a
where a.del_flag = '0' and a.emp_id = #{empId}
</select>
<!-- 删除 -->
<delete
id=
"deleteByEmpId"
>
delete FROM t_gz_emp_family where emp_id = #{empId}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpWorkMapper.xml
View file @
57a9d78c
...
...
@@ -117,6 +117,14 @@
</where>
</select>
<!--获取附属信息——保存到人员档案时使用-->
<select
id=
"getListByEmpId"
resultMap=
"tGzEmpWorkMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_work a
where a.del_flag = '0' and a.emp_id = #{empId}
</select>
<!-- 删除 -->
<delete
id=
"deleteByEmpId"
>
delete FROM t_gz_emp_work where emp_id = #{empId}
...
...
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