Quellcode durchsuchen

招聘信息,求职信息增加创建时间

yanliming vor 6 Tagen
Ursprung
Commit
ec482d3803

+ 0 - 3
web/src/main/java/com/jpsoft/employment/modules/base/controller/EnterpriseInfoController.java

@@ -313,9 +313,6 @@ public class EnterpriseInfoController {
             row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("name"), ""));
             row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("address"), ""));
             row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("contactsPersonId"), ""));
-            row.createCell(colIndex++).setCellValue(com.jpsoft.employment.modules.common.utils.StringUtils.strValue(map.get("contactsPhone"), ""));
-            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("checkTime"), ""));
         }
 
         ByteArrayOutputStream output = new ByteArrayOutputStream();

+ 3 - 0
web/src/main/java/com/jpsoft/employment/modules/base/controller/RecruitInformationInfoController.java

@@ -347,6 +347,8 @@ public class RecruitInformationInfoController {
 
             List<Map> mapList = new ArrayList<>();
 
+            SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm");
+
             for (RecruitInformationInfo recruitInformationInfo : page) {
                 Map map = new HashMap();
 
@@ -385,6 +387,7 @@ public class RecruitInformationInfoController {
                 map.put("browseNumber", recruitInformationInfo.getBrowseNumber());
                 map.put("ageRequirement", recruitInformationInfo.getAgeRequirement());
                 map.put("isTopping", recruitInformationInfo.getIsTopping());
+                map.put("createTime", sdf.format(recruitInformationInfo.getCreateTime()));
 
                 String statusN;
                 if ("1".equals(recruitInformationInfo.getStatus())) {