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
ea9e491a
Commit
ea9e491a
authored
Jun 30, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
95fb295b
813df2ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
TEmployeeProject.java
.../cloud/plus/v1/yifu/archives/entity/TEmployeeProject.java
+8
-2
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+14
-4
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmployeeProject.java
View file @
ea9e491a
...
...
@@ -296,8 +296,7 @@ public class TEmployeeProject extends BaseEntity {
/**
* 近3个月发薪(0否;1是)
*/
@Schema
(
description
=
"近3个月发薪(0否;1是)"
)
@TableField
(
exist
=
false
)
@Schema
(
description
=
"近3个月发薪(0无;1是;2否)"
)
private
Integer
salaryStatus
;
/**
...
...
@@ -320,4 +319,11 @@ public class TEmployeeProject extends BaseEntity {
@Schema
(
description
=
"档案-县"
)
@TableField
(
exist
=
false
)
private
Integer
fileTown
;
/**
* 员工合同状态(字典)
*/
@Schema
(
description
=
"员工合同状态(字典)0初始状态"
)
private
Integer
contractStatus
;
}
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
ea9e491a
...
...
@@ -52,6 +52,7 @@
<result
property=
"insuranceStatus"
column=
"INSURANCE_STATUS"
/>
<result
property=
"socialStatus"
column=
"SOCIAL_STATUS"
/>
<result
property=
"fundStatus"
column=
"FUND_STATUS"
/>
<result
property=
"contractStatus"
column=
"CONTRACT_STATUS"
/>
</resultMap>
<resultMap
id=
"tEmployeeProjectExportMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeProjectExportVO"
>
...
...
@@ -111,6 +112,7 @@
<result
property=
"fundStatus"
column=
"FUND_STATUS"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"contractStatus"
column=
"CONTRACT_STATUS"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
@@ -154,6 +156,7 @@
a.UPDATE_BY,
a.UPDATE_TIME,
a.REMARK,
a.CONTRACT_STATUS,
b.EMP_PHONE,
b.INSURANCE_STATUS,
b.SOCIAL_STATUS,
...
...
@@ -161,7 +164,7 @@
b.FILE_PROVINCE,
b.FILE_CITY,
b.FILE_TOWN,
b
.SALARY_STATUS
a
.SALARY_STATUS
</sql>
<sql
id=
"Base_Export_List"
>
...
...
@@ -186,6 +189,7 @@
a.ENJOIN_DATE,
a.TRY_PERIOD,
a.PROJECT_SOURCE,
a.CONTRACT_STATUS,
b.STATUS AS PROSTATUS,
b.CREATE_NAME AS PROCREATE_NAME,
b.CREATE_TIME AS PROCREATE_TIME,
...
...
@@ -196,7 +200,7 @@
b.FILE_PROVINCE,
b.FILE_CITY,
b.FILE_TOWN,
b
.SALARY_STATUS,
a
.SALARY_STATUS,
b.VALIDITY_START,
b.VALIDITY_END,
b.EMP_MARRI_STATUS,
...
...
@@ -338,6 +342,9 @@
<if
test=
"tEmployeeProject.remark != null and tEmployeeProject.remark.trim() != ''"
>
AND a.REMARK = #{tEmployeeProject.remark}
</if>
<if
test=
"tEmployeeProject.contractStatus != null"
>
AND a.CONTRACT_STATUS = #{tEmployeeProject.contractStatus}
</if>
<if
test=
"tEmployeeProject.empPhone != null and tEmployeeProject.empPhone.trim() != ''"
>
AND b.EMP_PHONE = #{tEmployeeProject.empPhone}
</if>
...
...
@@ -351,7 +358,7 @@
AND b.FUND_STATUS = #{tEmployeeProject.fundStatus}
</if>
<if
test=
"tEmployeeProject.salaryStatus != null"
>
AND
b
.SALARY_STATUS = #{tEmployeeProject.salaryStatus}
AND
a
.SALARY_STATUS = #{tEmployeeProject.salaryStatus}
</if>
<if
test=
"tEmployeeProject.fileProvince != null"
>
AND b.FILE_PROVINCE = #{tEmployeeProject.fileProvince}
...
...
@@ -442,6 +449,9 @@
<if
test=
"tEmployeeProject.remark != null and tEmployeeProject.remark.trim() != ''"
>
AND a.REMARK = #{tEmployeeProject.remark}
</if>
<if
test=
"tEmployeeProject.contractStatus != null"
>
AND a.CONTRACT_STATUS = #{tEmployeeProject.contractStatus}
</if>
<if
test=
"tEmployeeProject.empPhone != null and tEmployeeProject.empPhone.trim() != ''"
>
AND b.EMP_PHONE = #{tEmployeeProject.empPhone}
</if>
...
...
@@ -455,7 +465,7 @@
AND b.FUND_STATUS = #{tEmployeeProject.fundStatus}
</if>
<if
test=
"tEmployeeProject.salaryStatus != null"
>
AND
b
.SALARY_STATUS = #{tEmployeeProject.salaryStatus}
AND
a
.SALARY_STATUS = #{tEmployeeProject.salaryStatus}
</if>
<if
test=
"tEmployeeProject.fileProvince != null"
>
AND b.FILE_PROVINCE = #{tEmployeeProject.fileProvince}
...
...
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