|
|
|
@ -764,9 +764,9 @@ public class ImportService implements IImportService { |
|
|
|
//查找定期任务标签并关联任务
|
|
|
|
Long taskLabel = subLabelDao.getLabelByTypeAndLevel(1, 3); |
|
|
|
saveLabelTask(taskDetailId,taskLabel); |
|
|
|
//添加时间颗粒度标签并关联
|
|
|
|
Long timeLabel = subLabelDao.getLabelByTypeAndLevel(0, 4); |
|
|
|
saveLabelTask(taskDetailId,timeLabel); |
|
|
|
// //添加时间颗粒度标签并关联
|
|
|
|
// Long timeLabel = subLabelDao.getLabelByTypeAndLevel(0, 4);
|
|
|
|
// saveLabelTask(taskDetailId,timeLabel);
|
|
|
|
}catch (Exception e){ |
|
|
|
Date startDate = new Date(project.getBeginTime()); |
|
|
|
Date endDate = new Date(project.getEndTime()); |
|
|
|
@ -790,6 +790,9 @@ public class ImportService implements IImportService { |
|
|
|
if(CollectionUtil.isNotEmpty(proTaskSubList)){ |
|
|
|
sTaskDao.insertSelectiveList(proTaskSubList); |
|
|
|
} |
|
|
|
//查找定期任务标签并关联任务
|
|
|
|
Long taskLabel = subLabelDao.getLabelByTypeAndLevel(1, 3); |
|
|
|
saveLabelTask(taskDetailId,taskLabel); |
|
|
|
}catch (Exception e1){ |
|
|
|
throw new BaseException(String.valueOf(e1)); |
|
|
|
// throw new BaseException(DefaultCodeError.WBS_PROJECT_TIME_ERROR);
|
|
|
|
|