|
@@ -56,29 +56,28 @@ public class SopExecutionPlanServiceImpl extends ServiceImpl<SopExecutionPlanMap
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public void deleteSopExecutionPlanListByIds(List<Long> ids) {
|
|
|
|
|
|
|
+ public void deleteSopExecutionPlanListByIds(List<Long> ids) {
|
|
|
// 删除
|
|
// 删除
|
|
|
sopExecutionPlanMapper.deleteByIds(ids);
|
|
sopExecutionPlanMapper.deleteByIds(ids);
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public SopExecutionPlanRespVO getSopExecutionPlan(Long id) {
|
|
public SopExecutionPlanRespVO getSopExecutionPlan(Long id) {
|
|
|
SopExecutionPlanDO sopExecutionPlanDO = sopExecutionPlanMapper.selectById(id);
|
|
SopExecutionPlanDO sopExecutionPlanDO = sopExecutionPlanMapper.selectById(id);
|
|
|
SopExecutionPlanRespVO bean = BeanUtils.toBean(sopExecutionPlanDO, SopExecutionPlanRespVO.class);
|
|
SopExecutionPlanRespVO bean = BeanUtils.toBean(sopExecutionPlanDO, SopExecutionPlanRespVO.class);
|
|
|
- Date date = new Date();
|
|
|
|
|
// 分类处理
|
|
// 分类处理
|
|
|
- /*if (createReqVO.getFrequencyUnit().equals(0)) {
|
|
|
|
|
|
|
+ if (bean.getFrequencyUnit().equals(0)) {
|
|
|
// 处理年的数据
|
|
// 处理年的数据
|
|
|
- String yyyymmdd = DateUtil.format(date, "yyyy-MM-dd");
|
|
|
|
|
|
|
+ String yyyymmdd = SuperDateUtils.getYYYYMMDD();
|
|
|
List<String> adjacentDatesYearDay = SuperDateUtils.getAdjacentDatesYearDay(
|
|
List<String> adjacentDatesYearDay = SuperDateUtils.getAdjacentDatesYearDay(
|
|
|
- SuperDateUtils.getYYYYMMDD(),
|
|
|
|
|
- createReqVO.getEndTime(),
|
|
|
|
|
- createReqVO.getFrequency(),
|
|
|
|
|
- createReqVO.getTimePoint(),
|
|
|
|
|
|
|
+ yyyymmdd,
|
|
|
|
|
+ bean.getEndTime(),
|
|
|
|
|
+ bean.getFrequency(),
|
|
|
|
|
+ bean.getTimePoint(),
|
|
|
10);
|
|
10);
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return bean;
|
|
return bean;
|
|
|
}
|
|
}
|
|
|
|
|
|