|
|
@ -147,7 +147,6 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn |
|
|
|
if (Func.isEmpty(req.getSecretKey()) || Func.isEmpty(req.getDataSource())) { |
|
|
|
if (Func.isEmpty(req.getSecretKey()) || Func.isEmpty(req.getDataSource())) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
if (super.updateById(req)) { |
|
|
|
|
|
|
|
ProjectDTO projectDTO = new ProjectDTO(); |
|
|
|
ProjectDTO projectDTO = new ProjectDTO(); |
|
|
|
projectDTO.setName(req.getName()); |
|
|
|
projectDTO.setName(req.getName()); |
|
|
|
projectDTO.setSource(1); |
|
|
|
projectDTO.setSource(1); |
|
|
@ -158,8 +157,6 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn |
|
|
|
logger.info("operational:station:buildStation:" + req.getCode(), JSON.toJSONString(result)); |
|
|
|
logger.info("operational:station:buildStation:" + req.getCode(), JSON.toJSONString(result)); |
|
|
|
return result.getCode() == ResultCode.SUCCESS.getCode() && result.isSuccess(); |
|
|
|
return result.getCode() == ResultCode.SUCCESS.getCode() && result.isSuccess(); |
|
|
|
} |
|
|
|
} |
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|