|
|
@ -127,8 +127,8 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public boolean removeStation(String ids) { |
|
|
|
public boolean removeStation(String ids) { |
|
|
|
if(this.deleteLogic(Func.toLongList(ids,","))) { |
|
|
|
if(this.deleteLogic(Func.toLongList(",",ids))) { |
|
|
|
Func.toLongList(ids,",").forEach(id -> { |
|
|
|
Func.toLongList(",",ids).forEach(id -> { |
|
|
|
StationEntity stationEntity = this.getById(id); |
|
|
|
StationEntity stationEntity = this.getById(id); |
|
|
|
// 删除数据平台项目
|
|
|
|
// 删除数据平台项目
|
|
|
|
Result<ProjectVO> existProject = projectClient.getProjectByPid(stationEntity.getCode()); |
|
|
|
Result<ProjectVO> existProject = projectClient.getProjectByPid(stationEntity.getCode()); |
|
|
|