| | |
| | | import com.iailab.framework.common.util.object.ConvertUtils; |
| | | import com.iailab.module.model.api.mcs.dto.ScheduleSuggestReqDTO; |
| | | import com.iailab.module.model.api.mcs.dto.ScheduleSuggestRespDTO; |
| | | import com.iailab.module.model.api.mcs.dto.StAlarmAndSuggestReqVO; |
| | | import com.iailab.module.model.api.mcs.dto.StAlarmAndSuggestRespVO; |
| | | import com.iailab.module.model.common.enums.ScheduleSuggestStatusEnum; |
| | | import com.iailab.module.model.mcs.sche.dao.StScheduleSuggestDao; |
| | | import com.iailab.module.model.mcs.sche.entity.StScheduleSchemeEntity; |
| | | import com.iailab.module.model.mcs.sche.entity.StScheduleSuggestEntity; |
| | | import com.iailab.module.model.mcs.sche.service.StScheduleSuggestService; |
| | | import com.iailab.module.model.mcs.sche.vo.StScheduleSuggestPageReqVO; |
| | |
| | | queryWrapper.eq("schedule_time", predictTime); |
| | | return baseDao.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public Boolean updateSuggestStatus(StAlarmAndSuggestReqVO reqVO) { |
| | | StScheduleSuggestEntity entity = new StScheduleSuggestEntity(); |
| | | entity.setId(reqVO.getId()); |
| | | entity.setStatus(reqVO.getStatus()); |
| | | entity.setHandleTime(new Date()); |
| | | baseDao.updateById(entity); |
| | | return true; |
| | | } |
| | | } |