|
@@ -59,7 +59,7 @@ public class RecruitmentDemandService {
|
|
|
//招聘类型
|
|
//招聘类型
|
|
|
private static final Map<String, Integer> RECRUITMENTTYPE_MAP = createRecruitmentType();
|
|
private static final Map<String, Integer> RECRUITMENTTYPE_MAP = createRecruitmentType();
|
|
|
|
|
|
|
|
- private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
|
|
|
|
|
|
|
+// private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
|
|
|
// 缓存工号到用户ID的映射(避免重复查询)
|
|
// 缓存工号到用户ID的映射(避免重复查询)
|
|
|
private static final Map<String, Integer> jobNumberToUserIdCache = new ConcurrentHashMap<>();
|
|
private static final Map<String, Integer> jobNumberToUserIdCache = new ConcurrentHashMap<>();
|
|
|
|
|
|
|
@@ -239,12 +239,14 @@ public class RecruitmentDemandService {
|
|
|
// 日期字段
|
|
// 日期字段
|
|
|
Date applyDate = demandInfo.getApplyDate();
|
|
Date applyDate = demandInfo.getApplyDate();
|
|
|
if (applyDate != null) {
|
|
if (applyDate != null) {
|
|
|
- params.put("createDate", DATE_FORMAT.format(applyDate));
|
|
|
|
|
|
|
+ SimpleDateFormat dfmt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
|
|
|
|
|
+ params.put("createDate", dfmt.format(applyDate));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
Date arrivalDate = demandInfo.getArrivalDate();
|
|
Date arrivalDate = demandInfo.getArrivalDate();
|
|
|
if (arrivalDate != null) {
|
|
if (arrivalDate != null) {
|
|
|
- params.put("arivalTime", DATE_FORMAT.format(arrivalDate));
|
|
|
|
|
|
|
+ SimpleDateFormat dfmt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
|
|
|
|
|
+ params.put("arivalTime", dfmt.format(arrivalDate));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 值映射字段
|
|
// 值映射字段
|