| | |
| | | package com.iailab.module.model.mcs.sche.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.baomidou.dynamic.datasource.annotation.DSTransactional; |
| | | import com.iailab.framework.common.pojo.PageResult; |
| | | import com.iailab.framework.common.service.impl.BaseServiceImpl; |
| | |
| | | entity.setSchemeId(resultVO.getSchemeId()); |
| | | entity.setScheduleTime(resultVO.getScheduleTime()); |
| | | entity.setModelId(resultVO.getModelId()); |
| | | entity.setResultCode(resultVO.getResultCode()); |
| | | entity.setResultData(JSON.toJSONString(resultVO.getResult())); |
| | | baseDao.insert(entity); |
| | | stScheduleRecordDetailService.create(entity.getId(), resultVO); |
| | | } |