公海
This commit is contained in:
@@ -277,7 +277,7 @@ public class LineServiceImpl implements LineService {
|
||||
if (lineInfo==null){
|
||||
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
|
||||
}
|
||||
if (lineInfo.getLineStatus().equals(LineStatusEnum.PUBLIC_SEAS.getCode())){
|
||||
if (!lineInfo.getLineStatus().equals(LineStatusEnum.PUBLIC_SEAS.getCode())){
|
||||
throw new ServiceException(ErrorCodeEnum.NOT_IN_PUBLIC_SEA);
|
||||
}
|
||||
if (lineInfo.getInvestmentManager().equals(changeInvestmentRequest.getInvestmentManagerId())){
|
||||
|
||||
Reference in New Issue
Block a user