新增加盟商 重复提交

This commit is contained in:
guohb
2024-05-31 17:02:09 +08:00
parent c6b86c4f6b
commit 84a1495c03
2 changed files with 5 additions and 0 deletions

View File

@@ -269,6 +269,9 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
if (Objects.isNull(lineInfoDO)) {
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
}
if (StringUtil.isNotBlank(lineInfoDO.getPartnerNum())){
throw new ServiceException(ErrorCodeEnum.DUPLICATE_SUBMISSION);
}
if (lineInfoDO.getPartnerNum() != null){
return new ResponseResult(200000,null,null);
}