| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import lombok.AllArgsConstructor; |
| | | import org.apache.logging.log4j.util.Strings; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.tool.utils.DateUtil; |
| | | import org.springblade.core.tool.utils.ObjectUtil; |
| | |
| | | futureData = baseMapper.getFutureData2(resCd, type); |
| | | } |
| | | |
| | | // futureData.forEach(arimaPredict -> { |
| | | futureData.forEach(arimaPredict -> { |
| | | // arimaPredict.setValue(JSON.parse(arimaPredict.getValue()).toString()); |
| | | // arimaPredict.setPredicts(JSON.parse(arimaPredict.getPredicts().toString())); |
| | | // }); |
| | | if (!Strings.isBlank(arimaPredict.getValue())) { |
| | | arimaPredict.setPredicts(JSON.parse(arimaPredict.getValue())); |
| | | } |
| | | }); |
| | | return futureData; |
| | | } |
| | | |