|
@@ -3,20 +3,17 @@ package com.fdkankan.common.util;
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
-//import com.fdkankan.base.mq.ModelingMsgProducer;
|
|
|
import com.fdkankan.common.constant.ConstantFileName;
|
|
|
import com.fdkankan.common.constant.ConstantFilePath;
|
|
|
-import com.fdkankan.common.constant.ConstantUrl;
|
|
|
import com.fdkankan.mq.message.BuildSceneMqMessage;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.joda.time.DateTime;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
-import org.springframework.util.ObjectUtils;
|
|
|
-import org.springframework.util.StringUtils;
|
|
|
|
|
|
import java.io.File;
|
|
|
import java.util.*;
|
|
|
|
|
|
+//import com.fdkankan.base.mq.ModelingMsgProducer;
|
|
|
+
|
|
|
/**
|
|
|
* 生成场景和计算场景
|
|
|
* Created by Hb_zzZ on 2019/5/8.
|
|
@@ -575,6 +572,7 @@ public class ComputerUtil {
|
|
|
Date sceneProCreateTime, Long userId, String dataSource,
|
|
|
Integer sceneStatus, Integer PayStatus, String thumb) {
|
|
|
BuildSceneMqMessage mqMsg = new BuildSceneMqMessage();
|
|
|
+ mqMsg.setSceneProId(sceneProId);
|
|
|
mqMsg.setSceneNum(projectNum);
|
|
|
mqMsg.setCameraName(cameraName);
|
|
|
mqMsg.setUnicode(unicode);
|
|
@@ -596,6 +594,7 @@ public class ComputerUtil {
|
|
|
mqMsg.setSceneStatus(sceneStatus);
|
|
|
mqMsg.setPayStatus(PayStatus);
|
|
|
mqMsg.setCreateTime(DateUtil.format(Calendar.getInstance().getTime(), DateExtUtil.dateStyle));
|
|
|
+ mqMsg.setThumb(thumb);
|
|
|
return mqMsg;
|
|
|
}
|
|
|
|