|
@@ -1,5 +1,6 @@
|
|
|
package com.gis.service.impl;
|
|
|
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
|
import com.gis.constant.ConfigConstant;
|
|
|
import com.gis.entity.SceneQueueDTO;
|
|
|
import com.gis.entity.WorkEntity;
|
|
@@ -56,6 +57,9 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
|
|
|
entity.setSnCode(sceneQueueDTO.getSnCode());
|
|
|
entity.setLocation(sceneQueueDTO.getLocation());
|
|
|
entity.setSceneSource(sceneQueueDTO.getSceneSource());
|
|
|
+ if (ObjectUtil.isNotEmpty(sceneQueueDTO.getPwd())){
|
|
|
+ entity.setPassword(sceneQueueDTO.getPwd());
|
|
|
+ }
|
|
|
this.save(entity);
|
|
|
String id = entity.getId();
|
|
|
log.info("创建对象完成: {}", id);
|