|
|
@ -5,6 +5,8 @@ import com.kms.yg.znjg.domain.SySceneDirRelation; |
|
|
|
import com.kms.yg.znjg.mapper.SySceneDirRelationMapper; |
|
|
|
import com.kms.yg.znjg.service.SySceneDirRelationService; |
|
|
|
import com.kms.yxgh.base.Response; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
@ -20,6 +22,7 @@ import java.util.List; |
|
|
|
*/ |
|
|
|
@RestController |
|
|
|
@RequestMapping("/map/scene/dir") |
|
|
|
@Api(tags = "场景目录关联管理") |
|
|
|
public class SySceneDirRelationController { |
|
|
|
@Autowired |
|
|
|
private SySceneDirRelationService sySceneDirRelationService; |
|
|
@ -36,6 +39,7 @@ public class SySceneDirRelationController { |
|
|
|
* @throws Exception |
|
|
|
*/ |
|
|
|
@PostMapping(value = "/saveSceneDirRelation") |
|
|
|
@ApiOperation(value = "保存场景与地图目录的关联关系") |
|
|
|
public Response saveSceneDirRelation(String sceneId, String dirIds) throws Exception { |
|
|
|
Response responseInfo = new Response(); |
|
|
|
try { |
|
|
|