| | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.iailab.framework.common.pojo.PageResult; |
| | | import com.iailab.framework.common.util.object.BeanUtils; |
| | | import com.iailab.module.data.api.point.DataPointApi; |
| | | import com.iailab.module.model.mcs.pre.dao.MmPredictItemDao; |
| | | import com.iailab.module.model.mcs.pre.dto.MmPredictItemDTO; |
| | | import com.iailab.module.model.mcs.pre.entity.*; |
| | |
| | | @Autowired |
| | | private MmPredictItemDao mmPredictItemDao; |
| | | |
| | | @Autowired |
| | | private DataPointApi dataPointApi; |
| | | |
| | | @Override |
| | | public PageResult<MmPredictItemRespVO> queryPage(MmPredictItemPageReqVO reqVO) { |
| | | IPage<MmPredictItemRespVO> page = mmPredictItemDao.selectPage(reqVO); |
| | |
| | | return mmPredictItemDao.queryList(params); |
| | | } |
| | | |
| | | @Override |
| | | public MmPredictItemEntity getById(String id) { |
| | | return mmPredictItemDao.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<Object[]> getHisData(String itemId, Date startTime, Date endTime) { |
| | | List<Object[]> result = new ArrayList<>(); |
| | | return result; |
| | | } |
| | | |
| | | @DSTransactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public void add(MmPredictItemDTO mmPredictItemDto) { |