Commit 05ea1b62 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.5.5' into MVP1.5.5

parents 9b1b3181 6c406d6c
...@@ -198,4 +198,9 @@ public class DispatchEmpVo implements Serializable { ...@@ -198,4 +198,9 @@ public class DispatchEmpVo implements Serializable {
@Schema(description ="项目状态(0正常;1已减项)") @Schema(description ="项目状态(0正常;1已减项)")
private Integer projectStatus; private Integer projectStatus;
/**
* 通信地址
*/
private String contactAddress;
} }
...@@ -51,4 +51,6 @@ public class UpProjectSocialFundVo implements Serializable { ...@@ -51,4 +51,6 @@ public class UpProjectSocialFundVo implements Serializable {
String empName; String empName;
String deptName; String deptName;
String detailId; String detailId;
String contactAddress;
String highEducation;
} }
...@@ -25,6 +25,8 @@ public class UpdateEmpVo implements Serializable { ...@@ -25,6 +25,8 @@ public class UpdateEmpVo implements Serializable {
// 备注 // 备注
String remarkTemp; String remarkTemp;
// 通信地址
String contactAddress;
// type 0 审核通过 2.审核不通过 // type 0 审核通过 2.审核不通过
String type; String type;
......
...@@ -2211,9 +2211,11 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T ...@@ -2211,9 +2211,11 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
employeeInfo = baseMapper.selectOne(Wrappers.<TEmployeeInfo>query().lambda() employeeInfo = baseMapper.selectOne(Wrappers.<TEmployeeInfo>query().lambda()
.eq(TEmployeeInfo::getDeleteFlag,CommonConstants.ZERO_STRING) .eq(TEmployeeInfo::getDeleteFlag,CommonConstants.ZERO_STRING)
.eq(TEmployeeInfo::getEmpIdcard,vo.getEmpIdCard()) .eq(TEmployeeInfo::getEmpIdcard,vo.getEmpIdCard())
.eq(TEmployeeInfo::getStatus,CommonConstants.ZERO_INT)
.last(CommonConstants.LAST_ONE_SQL)); .last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(employeeInfo)){ if (Common.isNotNull(employeeInfo)){
if(Common.isNotNull(vo.getContactAddress())) {
employeeInfo.setContactAddress(vo.getContactAddress());
}
employeeInfo.setStatus(CommonConstants.ONE_INT); employeeInfo.setStatus(CommonConstants.ONE_INT);
baseMapper.updateById(employeeInfo); baseMapper.updateById(employeeInfo);
} }
...@@ -2368,9 +2370,38 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T ...@@ -2368,9 +2370,38 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
employeeInfo = new TEmployeeInfo(); employeeInfo = new TEmployeeInfo();
BeanUtil.copyProperties(empAdd, employeeInfo); BeanUtil.copyProperties(empAdd, employeeInfo);
employeeInfo.setEmpCode(getCode()); employeeInfo.setEmpCode(getCode());
employeeInfo.setContactAddress(employeeInfo.getContactAddress()); employeeInfo.setContactAddress(empAdd.getContactAddress());
if(empAdd.getHignEducation().equals("文盲")) {
employeeInfo.setHignEducation("1");
}
if(empAdd.getHignEducation().equals("小学")) {
employeeInfo.setHignEducation("2");
}
if(empAdd.getHignEducation().equals("初中")) {
employeeInfo.setHignEducation("3");
}
if(empAdd.getHignEducation().equals("高中")) {
employeeInfo.setHignEducation("4");
}
if(empAdd.getHignEducation().equals("大专")) {
employeeInfo.setHignEducation("5");
}
if(empAdd.getHignEducation().equals("本科")) {
employeeInfo.setHignEducation("6");
}
if(empAdd.getHignEducation().equals("硕士")) {
employeeInfo.setHignEducation("7");
}
if(empAdd.getHignEducation().equals("技工")) {
employeeInfo.setHignEducation("9");
}
if(empAdd.getHignEducation().equals("职高")) {
employeeInfo.setHignEducation("10");
}
if(empAdd.getHignEducation().equals("中专")) {
employeeInfo.setHignEducation("11");
}
employeeInfo.setIsCollege(CommonConstants.ONE_INT); employeeInfo.setIsCollege(CommonConstants.ONE_INT);
employeeInfo.setHignEducation(employeeInfo.getHignEducation());
employeeInfo.setStatus(CommonConstants.ZERO_INT); employeeInfo.setStatus(CommonConstants.ZERO_INT);
date = IdCardUtil.getBirthdate(employeeInfo.getEmpIdcard()); date = IdCardUtil.getBirthdate(employeeInfo.getEmpIdcard());
if (Common.isNotNull(date)) { if (Common.isNotNull(date)) {
......
...@@ -1396,6 +1396,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap ...@@ -1396,6 +1396,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if (Common.isNotNull(vo.getFundStatus())) { if (Common.isNotNull(vo.getFundStatus())) {
employee.setFundStatus(Integer.parseInt(vo.getFundStatus())); employee.setFundStatus(Integer.parseInt(vo.getFundStatus()));
} }
if (Common.isNotNull(vo.getHighEducation())) {
employee.setHignEducation(vo.getHighEducation());
}
if (Common.isNotNull(vo.getFileProvince())) { if (Common.isNotNull(vo.getFileProvince())) {
employee.setFileProvince(Integer.parseInt(vo.getFileProvince())); employee.setFileProvince(Integer.parseInt(vo.getFileProvince()));
} }
...@@ -1410,6 +1413,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap ...@@ -1410,6 +1413,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if (Common.isNotNull(vo.getMobile())) { if (Common.isNotNull(vo.getMobile())) {
employee.setEmpPhone(vo.getMobile()); employee.setEmpPhone(vo.getMobile());
} }
employee.setIsCollege(CommonConstants.ONE_INT);
tEmployeeInfoMapper.updateSocialInfoById(employee); tEmployeeInfoMapper.updateSocialInfoById(employee);
} }
TEmployeeProject project = baseMapper.selectOne(Wrappers.<TEmployeeProject>query().lambda() TEmployeeProject project = baseMapper.selectOne(Wrappers.<TEmployeeProject>query().lambda()
......
...@@ -873,7 +873,7 @@ ...@@ -873,7 +873,7 @@
select select
a.ID,a.EMP_CODE,a.EMP_NAME, a.ID,a.EMP_CODE,a.EMP_NAME,
a.EMP_IDCARD,a.EMP_NATIONAL,a.EMP_PHONE,a.ID_PROVINCE,a.ID_CITY, a.EMP_IDCARD,a.EMP_NATIONAL,a.EMP_PHONE,a.ID_PROVINCE,a.ID_CITY,
a.ID_TOWN,a.EMP_REGIS_TYPE,a.FILE_PROVINCE,a.FILE_CITY,a.FILE_TOWN,a.HIGN_EDUCATION,a.FILE_STATUS, a.ID_TOWN,a.EMP_REGIS_TYPE,a.FILE_PROVINCE,a.FILE_CITY,a.FILE_TOWN,a.HIGN_EDUCATION,a.FILE_STATUS,a.CONTACT_ADDRESS,
b.CONTRACT_NAME,b.CONTRACT_TYPE, b.CONTRACT_NAME,b.CONTRACT_TYPE,
b.CONTRACT_START,b.CONTRACT_END,b.CONTRACT_TERM,b.CONTRACT_SUB_NAME,b.CONTRACT_ID, b.CONTRACT_START,b.CONTRACT_END,b.CONTRACT_TERM,b.CONTRACT_SUB_NAME,b.CONTRACT_ID,
...@@ -882,7 +882,7 @@ ...@@ -882,7 +882,7 @@
c.UNIT_NO,c.DEPT_ID,c.DEPT_NAME,c.DEPT_NO,c.POST,c.EMP_NO,c.PROJECT_STATUS,c.EMP_NATRUE c.UNIT_NO,c.DEPT_ID,c.DEPT_NAME,c.DEPT_NO,c.POST,c.EMP_NO,c.PROJECT_STATUS,c.EMP_NATRUE
from ( from (
select e.ID,e.EMP_CODE,e.EMP_NAME,e.EMP_IDCARD,e.EMP_NATIONAL,e.EMP_PHONE,e.ID_PROVINCE,e.ID_CITY, select e.ID,e.EMP_CODE,e.EMP_NAME,e.EMP_IDCARD,e.EMP_NATIONAL,e.EMP_PHONE,e.ID_PROVINCE,e.ID_CITY,
e.ID_TOWN,e.EMP_REGIS_TYPE,e.FILE_PROVINCE,e.FILE_CITY,e.FILE_TOWN,e.HIGN_EDUCATION,e.FILE_STATUS e.ID_TOWN,e.EMP_REGIS_TYPE,e.FILE_PROVINCE,e.FILE_CITY,e.FILE_TOWN,e.HIGN_EDUCATION,e.FILE_STATUS,e.CONTACT_ADDRESS
from t_employee_info e from t_employee_info e
where 1=1 and e.DELETE_FLAG = '0' where 1=1 and e.DELETE_FLAG = '0'
<if test="checkVo != null"> <if test="checkVo != null">
...@@ -1139,6 +1139,9 @@ ...@@ -1139,6 +1139,9 @@
<if test="tEmployeeInfo.id != null">a.id=a.id,</if> <if test="tEmployeeInfo.id != null">a.id=a.id,</if>
<if test="tEmployeeInfo.socialStatus != null">SOCIAL_STATUS=#{tEmployeeInfo.socialStatus},</if> <if test="tEmployeeInfo.socialStatus != null">SOCIAL_STATUS=#{tEmployeeInfo.socialStatus},</if>
<if test="tEmployeeInfo.fundStatus != null">FUND_STATUS=#{tEmployeeInfo.fundStatus},</if> <if test="tEmployeeInfo.fundStatus != null">FUND_STATUS=#{tEmployeeInfo.fundStatus},</if>
<if test="tEmployeeInfo.hignEducation != null">HIGN_EDUCATION=#{tEmployeeInfo.hignEducation},</if>
<if test="tEmployeeInfo.contactAddress != null">CONTACT_ADDRESS=#{tEmployeeInfo.contactAddress},</if>
<if test="tEmployeeInfo.isCollege != null">IS_COLLEGE='1',</if>
<if test="tEmployeeInfo.fileProvince != null">a.FILE_PROVINCE=#{tEmployeeInfo.fileProvince},</if> <if test="tEmployeeInfo.fileProvince != null">a.FILE_PROVINCE=#{tEmployeeInfo.fileProvince},</if>
<if test="tEmployeeInfo.fileCity != null">a.FILE_CITY=#{tEmployeeInfo.fileCity},</if> <if test="tEmployeeInfo.fileCity != null">a.FILE_CITY=#{tEmployeeInfo.fileCity},</if>
<if test="tEmployeeInfo.fileCity != null"> <if test="tEmployeeInfo.fileCity != null">
......
...@@ -281,7 +281,7 @@ public class ArchivesDaprUtil { ...@@ -281,7 +281,7 @@ public class ArchivesDaprUtil {
* @Param type 0 审核通过 1 审核不通过 * @Param type 0 审核通过 1 审核不通过
* @return * @return
**/ **/
public R<Boolean> updateEmpInfo(String empIdCard, String projectNo, String contractId,String type,String remarkTemp, YifuUser user){ public R<Boolean> updateEmpInfo(String empIdCard,String contactAddress, String projectNo, String contractId,String type,String remarkTemp, YifuUser user){
if (Common.isEmpty(empIdCard) if (Common.isEmpty(empIdCard)
|| Common.isEmpty(projectNo) || Common.isEmpty(projectNo)
|| Common.isEmpty(type)){ || Common.isEmpty(type)){
...@@ -295,6 +295,7 @@ public class ArchivesDaprUtil { ...@@ -295,6 +295,7 @@ public class ArchivesDaprUtil {
vo.setType(type); vo.setType(type);
vo.setCreateBy(user.getId()); vo.setCreateBy(user.getId());
vo.setCreateName(user.getNickname()); vo.setCreateName(user.getNickname());
vo.setContactAddress(contactAddress);
R<Boolean> res = HttpDaprUtil.invokeMethodPost( R<Boolean> res = HttpDaprUtil.invokeMethodPost(
daprArchivesProperties.getAppUrl(),daprArchivesProperties.getAppId() daprArchivesProperties.getAppUrl(),daprArchivesProperties.getAppId()
,"/temployeeinfo/inner/updateEmpInfo" , JSON.toJSONString(vo), Boolean.class, SecurityConstants.FROM_IN); ,"/temployeeinfo/inner/updateEmpInfo" , JSON.toJSONString(vo), Boolean.class, SecurityConstants.FROM_IN);
......
...@@ -769,4 +769,5 @@ public class TDispatchInfo extends BaseEntity { ...@@ -769,4 +769,5 @@ public class TDispatchInfo extends BaseEntity {
@TableField(exist = false) @TableField(exist = false)
private String socialFailureType; private String socialFailureType;
private String contactAddress;
} }
...@@ -92,6 +92,12 @@ public class FundHandleExportVo implements Serializable { ...@@ -92,6 +92,12 @@ public class FundHandleExportVo implements Serializable {
@ExcelProperty("身份证所在地" ) @ExcelProperty("身份证所在地" )
private String idCardAddress; private String idCardAddress;
@ExcelAttribute(name = "通信地址")
@Schema(description = "通信地址" )
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("通信地址" )
private String contactAddress;
/** /**
* 创建人姓名 * 创建人姓名
*/ */
......
...@@ -160,6 +160,15 @@ public class SocialHandleExportVo implements Serializable { ...@@ -160,6 +160,15 @@ public class SocialHandleExportVo implements Serializable {
@ExcelProperty("身份证所在地" ) @ExcelProperty("身份证所在地" )
private String idCardAddress; private String idCardAddress;
/**
* 通信地址
*/
@ExcelAttribute(name = "通信地址")
@Schema(description = "通信地址" )
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("通信地址" )
private String contactAddress;
/** /**
* 户口性质 * 户口性质
*/ */
......
...@@ -94,6 +94,12 @@ public class TDispatchAuditExportVo { ...@@ -94,6 +94,12 @@ public class TDispatchAuditExportVo {
@ExcelProperty("身份证所在地" ) @ExcelProperty("身份证所在地" )
private String idCardAddress; private String idCardAddress;
@ExcelAttribute(name = "通信地址")
@Schema(description = "通信地址" )
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("通信地址" )
private String contactAddress;
@ExcelAttribute(name = "社保户", maxLength = 50) @ExcelAttribute(name = "社保户", maxLength = 50)
@Schema(description = "社保户") @Schema(description = "社保户")
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
......
...@@ -502,7 +502,6 @@ public class TDispatchImportVo extends RowIndex implements Serializable { ...@@ -502,7 +502,6 @@ public class TDispatchImportVo extends RowIndex implements Serializable {
private String dispatchId; private String dispatchId;
/** /**
* 订单ID * 订单ID
*/ */
......
...@@ -866,6 +866,7 @@ ...@@ -866,6 +866,7 @@
a.FUND_REDUCE_DATE, a.FUND_REDUCE_DATE,
a.LEAVE_DATE, a.LEAVE_DATE,
a.REDUCE_REASON, a.REDUCE_REASON,
a.CONTACT_ADDRESS,
b.SOCIAL_START_DATE, b.SOCIAL_START_DATE,
b.PAYMENT_TYPE, b.PAYMENT_TYPE,
b.RECORD_BASE, b.RECORD_BASE,
...@@ -1159,6 +1160,7 @@ ...@@ -1159,6 +1160,7 @@
a.ID_CARD_ADDRESS, a.ID_CARD_ADDRESS,
a.CREATE_NAME, a.CREATE_NAME,
a.PROVIDENT_HOUSEHOLD_NAME, a.PROVIDENT_HOUSEHOLD_NAME,
a.CONTACT_ADDRESS,
f.PROVIDENT_START, f.PROVIDENT_START,
f.UNIT_PROVIDENG_CARDINAL, f.UNIT_PROVIDENG_CARDINAL,
a.FUND_REDUCE_DATE, a.FUND_REDUCE_DATE,
......
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