Commit e41674f2 authored by 赵啸非's avatar 赵啸非

修改假期同步

parent 8e989b63
......@@ -86,8 +86,8 @@ public class SyncHolidayTaskImpl implements ITaskExcuteService {
holidayEntity.initAttrValue();
holidayEntity.setSiteId(1L);
holidayEntity.setStartTime(DateUtil.parseDateTime(date));
holidayEntity.setEndTime(DateUtil.parseDateTime(date));
holidayEntity.setStartTime(DateUtil.parseDate(date));
holidayEntity.setEndTime(DateUtil.parseDate(date));
holidayEntity.setYear(DateUtil.year(new Date()));
String name = "法定节假日(" + value1.get("name").toString() + ")";
......
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