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