This commit is contained in:
苏竹红
2024-04-16 11:48:54 +08:00
parent bfc40bc4d2
commit 1ab170b14b

View File

@@ -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())&&!transferFlag){
throw new ServiceException(ErrorCodeEnum.NOT_IN_PUBLIC_SEA);
}
if (lineInfo.getInvestmentManager().equals(changeInvestmentRequest.getInvestmentManagerId())){