|
|
@@ -113,8 +113,8 @@ public class SceneDrawServiceImpl implements ISceneDrawService {
|
|
|
int i = 0;
|
|
|
for (JSONObject jsonObject : data) {
|
|
|
jsonObject.put("createTime", Calendar.getInstance().getTimeInMillis() + i++);
|
|
|
- String type = jsonObject.getString("type");
|
|
|
- if(StrUtil.isNotEmpty(type) && type.equalsIgnoreCase("ai")){
|
|
|
+ String sourceType = jsonObject.getString("sourceType");
|
|
|
+ if(StrUtil.isNotEmpty(sourceType) && sourceType.equalsIgnoreCase("ai")){
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("sid", jsonObject.getString("sid"));
|
|
|
item.put("edit", CommonStatus.YES.code());
|