Commit 813df2ab authored by huyuchen's avatar huyuchen

huyc 项目档案代码提交

parent 062bf3e6
...@@ -296,8 +296,7 @@ public class TEmployeeProject extends BaseEntity { ...@@ -296,8 +296,7 @@ public class TEmployeeProject extends BaseEntity {
/** /**
* 近3个月发薪(0否;1是) * 近3个月发薪(0否;1是)
*/ */
@Schema(description = "近3个月发薪(0否;1是)") @Schema(description = "近3个月发薪(0无;1是;2否)")
@TableField(exist = false)
private Integer salaryStatus; private Integer salaryStatus;
/** /**
...@@ -320,4 +319,11 @@ public class TEmployeeProject extends BaseEntity { ...@@ -320,4 +319,11 @@ public class TEmployeeProject extends BaseEntity {
@Schema(description = "档案-县") @Schema(description = "档案-县")
@TableField(exist = false) @TableField(exist = false)
private Integer fileTown; private Integer fileTown;
/**
* 员工合同状态(字典)
*/
@Schema(description = "员工合同状态(字典)0初始状态")
private Integer contractStatus;
} }
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
<result property="insuranceStatus" column="INSURANCE_STATUS"/> <result property="insuranceStatus" column="INSURANCE_STATUS"/>
<result property="socialStatus" column="SOCIAL_STATUS"/> <result property="socialStatus" column="SOCIAL_STATUS"/>
<result property="fundStatus" column="FUND_STATUS"/> <result property="fundStatus" column="FUND_STATUS"/>
<result property="contractStatus" column="CONTRACT_STATUS"/>
</resultMap> </resultMap>
<resultMap id="tEmployeeProjectExportMap" type="com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeProjectExportVO"> <resultMap id="tEmployeeProjectExportMap" type="com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeProjectExportVO">
...@@ -111,6 +112,7 @@ ...@@ -111,6 +112,7 @@
<result property="fundStatus" column="FUND_STATUS"/> <result property="fundStatus" column="FUND_STATUS"/>
<result property="createName" column="CREATE_NAME"/> <result property="createName" column="CREATE_NAME"/>
<result property="createTime" column="CREATE_TIME"/> <result property="createTime" column="CREATE_TIME"/>
<result property="contractStatus" column="CONTRACT_STATUS"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
...@@ -154,6 +156,7 @@ ...@@ -154,6 +156,7 @@
a.UPDATE_BY, a.UPDATE_BY,
a.UPDATE_TIME, a.UPDATE_TIME,
a.REMARK, a.REMARK,
a.CONTRACT_STATUS,
b.EMP_PHONE, b.EMP_PHONE,
b.INSURANCE_STATUS, b.INSURANCE_STATUS,
b.SOCIAL_STATUS, b.SOCIAL_STATUS,
...@@ -161,7 +164,7 @@ ...@@ -161,7 +164,7 @@
b.FILE_PROVINCE, b.FILE_PROVINCE,
b.FILE_CITY, b.FILE_CITY,
b.FILE_TOWN, b.FILE_TOWN,
b.SALARY_STATUS a.SALARY_STATUS
</sql> </sql>
<sql id="Base_Export_List"> <sql id="Base_Export_List">
...@@ -186,6 +189,7 @@ ...@@ -186,6 +189,7 @@
a.ENJOIN_DATE, a.ENJOIN_DATE,
a.TRY_PERIOD, a.TRY_PERIOD,
a.PROJECT_SOURCE, a.PROJECT_SOURCE,
a.CONTRACT_STATUS,
b.STATUS AS PROSTATUS, b.STATUS AS PROSTATUS,
b.CREATE_NAME AS PROCREATE_NAME, b.CREATE_NAME AS PROCREATE_NAME,
b.CREATE_TIME AS PROCREATE_TIME, b.CREATE_TIME AS PROCREATE_TIME,
...@@ -196,7 +200,7 @@ ...@@ -196,7 +200,7 @@
b.FILE_PROVINCE, b.FILE_PROVINCE,
b.FILE_CITY, b.FILE_CITY,
b.FILE_TOWN, b.FILE_TOWN,
b.SALARY_STATUS, a.SALARY_STATUS,
b.VALIDITY_START, b.VALIDITY_START,
b.VALIDITY_END, b.VALIDITY_END,
b.EMP_MARRI_STATUS, b.EMP_MARRI_STATUS,
...@@ -338,6 +342,9 @@ ...@@ -338,6 +342,9 @@
<if test="tEmployeeProject.remark != null and tEmployeeProject.remark.trim() != ''"> <if test="tEmployeeProject.remark != null and tEmployeeProject.remark.trim() != ''">
AND a.REMARK = #{tEmployeeProject.remark} AND a.REMARK = #{tEmployeeProject.remark}
</if> </if>
<if test="tEmployeeProject.contractStatus != null">
AND a.CONTRACT_STATUS = #{tEmployeeProject.contractStatus}
</if>
<if test="tEmployeeProject.empPhone != null and tEmployeeProject.empPhone.trim() != ''"> <if test="tEmployeeProject.empPhone != null and tEmployeeProject.empPhone.trim() != ''">
AND b.EMP_PHONE = #{tEmployeeProject.empPhone} AND b.EMP_PHONE = #{tEmployeeProject.empPhone}
</if> </if>
...@@ -351,7 +358,7 @@ ...@@ -351,7 +358,7 @@
AND b.FUND_STATUS = #{tEmployeeProject.fundStatus} AND b.FUND_STATUS = #{tEmployeeProject.fundStatus}
</if> </if>
<if test="tEmployeeProject.salaryStatus != null"> <if test="tEmployeeProject.salaryStatus != null">
AND b.SALARY_STATUS = #{tEmployeeProject.salaryStatus} AND a.SALARY_STATUS = #{tEmployeeProject.salaryStatus}
</if> </if>
<if test="tEmployeeProject.fileProvince != null"> <if test="tEmployeeProject.fileProvince != null">
AND b.FILE_PROVINCE = #{tEmployeeProject.fileProvince} AND b.FILE_PROVINCE = #{tEmployeeProject.fileProvince}
...@@ -442,6 +449,9 @@ ...@@ -442,6 +449,9 @@
<if test="tEmployeeProject.remark != null and tEmployeeProject.remark.trim() != ''"> <if test="tEmployeeProject.remark != null and tEmployeeProject.remark.trim() != ''">
AND a.REMARK = #{tEmployeeProject.remark} AND a.REMARK = #{tEmployeeProject.remark}
</if> </if>
<if test="tEmployeeProject.contractStatus != null">
AND a.CONTRACT_STATUS = #{tEmployeeProject.contractStatus}
</if>
<if test="tEmployeeProject.empPhone != null and tEmployeeProject.empPhone.trim() != ''"> <if test="tEmployeeProject.empPhone != null and tEmployeeProject.empPhone.trim() != ''">
AND b.EMP_PHONE = #{tEmployeeProject.empPhone} AND b.EMP_PHONE = #{tEmployeeProject.empPhone}
</if> </if>
...@@ -455,7 +465,7 @@ ...@@ -455,7 +465,7 @@
AND b.FUND_STATUS = #{tEmployeeProject.fundStatus} AND b.FUND_STATUS = #{tEmployeeProject.fundStatus}
</if> </if>
<if test="tEmployeeProject.salaryStatus != null"> <if test="tEmployeeProject.salaryStatus != null">
AND b.SALARY_STATUS = #{tEmployeeProject.salaryStatus} AND a.SALARY_STATUS = #{tEmployeeProject.salaryStatus}
</if> </if>
<if test="tEmployeeProject.fileProvince != null"> <if test="tEmployeeProject.fileProvince != null">
AND b.FILE_PROVINCE = #{tEmployeeProject.fileProvince} AND b.FILE_PROVINCE = #{tEmployeeProject.fileProvince}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment