| | |
| | | package com.moon.server.service.data; |
| | | |
| | | import com.moon.server.entity.all.StaticData; |
| | | import com.moon.server.entity.data.PublishEntity; |
| | | import com.moon.server.entity.shujian.CreateLayerEntity; |
| | | import com.moon.server.entity.shujian.CreateServiceEntity; |
| | | import com.moon.server.entity.shujian.DeleteEntity; |
| | | import com.moon.server.helper.StringHelper; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | @Service |
| | | public class ShuJianService { |
| | | private final static Log log = LogFactory.getLog(ShuJianService.class); |
| | | |
| | | /** |
| | | * 创建数简图层 |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除数简图层 |
| | | */ |
| | | public void deleteShuJianLayer() { |
| | | // |
| | | } |
| | | |
| | | /** |
| | | * 创建数简服务 |
| | | */ |
| | | public void createShuJianService() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除数简服务 |
| | | */ |
| | | public void deleteServe(PublishEntity entity) { |
| | | if (null != entity.getLayerid()) { |
| | | deleteLayer(entity.getLayerid()); |
| | | } |
| | | if (null != entity.getServiceid()) { |
| | | deleteService(entity.getServiceid()); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 删除数简图层 |
| | | */ |
| | | public void deleteShuJianService() { |
| | | // |
| | | public void deleteLayer(Integer id) { |
| | | try { |
| | | DeleteEntity entity = new DeleteEntity(); |
| | | entity.getId_list().add(id); |
| | | |
| | | // |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 删除数简图层 |
| | | */ |
| | | public void deleteService(Integer id) { |
| | | try { |
| | | DeleteEntity entity = new DeleteEntity(); |
| | | entity.getId_list().add(id); |
| | | |
| | | // |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | } |