|
@@ -78,13 +78,16 @@ public class PersonInfoController {
|
|
|
MessageResult<PersonInfo> msgResult = new MessageResult<>();
|
|
|
|
|
|
try {
|
|
|
+ Date now = new Date();
|
|
|
+
|
|
|
personInfo.setId(UUID.randomUUID().toString());
|
|
|
personInfo.setDelFlag(false);
|
|
|
personInfo.setCreateBy(subject);
|
|
|
- personInfo.setCreateTime(new Date());
|
|
|
+ personInfo.setCreateTime(now);
|
|
|
DES3 des3 = new DES3();
|
|
|
personInfo.setPassword(des3.encrypt(jwtSecret, "123456"));
|
|
|
personInfo.setStatus("0");
|
|
|
+ personInfo.setApplicationCheckTime(now);
|
|
|
|
|
|
int affectCount = personInfoService.insert(personInfo);
|
|
|
|
|
@@ -311,6 +314,14 @@ public class PersonInfoController {
|
|
|
|
|
|
map.put("checkTime", checkTime);
|
|
|
|
|
|
+ //申请认证时间
|
|
|
+ String applicationCheckTime = "";
|
|
|
+ if (personInfo.getApplicationCheckTime() != null) {
|
|
|
+ applicationCheckTime = sdf.format(personInfo.getApplicationCheckTime());
|
|
|
+ }
|
|
|
+
|
|
|
+ map.put("applicationCheckTime", applicationCheckTime);
|
|
|
+
|
|
|
mapList.add(map);
|
|
|
}
|
|
|
|
|
@@ -411,7 +422,7 @@ public class PersonInfoController {
|
|
|
personInfo.setIntention("1");//求职中
|
|
|
personInfo.setJobStatus("1");//显示简历
|
|
|
personInfo.setCheckTime(now);
|
|
|
-
|
|
|
+ personInfo.setApplicationCheckTime(now);
|
|
|
|
|
|
//是否填写关联企业
|
|
|
if (StringUtils.isNotEmpty(enterpriseName)) {
|
|
@@ -525,7 +536,7 @@ public class PersonInfoController {
|
|
|
//表头
|
|
|
Row rowTitle = sheet.createRow(0);
|
|
|
|
|
|
- String[] titles = new String[]{"序号", "姓名", "联系电话", "身份证号", "性别", "年龄", "最后登录时间", "认证状态","认证时间"};
|
|
|
+ String[] titles = new String[]{"序号", "姓名", "联系电话", "身份证号", "性别", "年龄", "最后登录时间", "认证状态", "认证时间"};
|
|
|
|
|
|
for (int i = 0; i < titles.length; i++) {
|
|
|
Cell cell = rowTitle.createCell(i);
|
|
@@ -546,6 +557,7 @@ public class PersonInfoController {
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("age"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("lastLoginTime"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("statusN"), ""));
|
|
|
+ row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("applicationCheckTime"), ""));
|
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("checkTime"), ""));
|
|
|
}
|
|
|
|