fix
This commit is contained in:
@@ -203,8 +203,12 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
|
||||
log.info("initiating request:{}", JSONObject.toJSONString(request));
|
||||
SigningBaseInfoDO signingBaseInfoDO = request.toSigningBaseInfoDO();
|
||||
boolean submitStatus = intentAgreementMapper.insert(signingBaseInfoDO);
|
||||
LineInfoDO lineInfoDO = lineInfoMapper.getByPartnerId(request.getPartnerId());
|
||||
if (Objects.isNull(lineInfoDO.getRegionId())){
|
||||
throw new ServiceException(ErrorCodeEnum.LINE_REGION_NOT_EXIST);
|
||||
}
|
||||
if (submitStatus) {
|
||||
LineInfoDO lineInfoDO = lineInfoMapper.getByPartnerId(request.getPartnerId());
|
||||
|
||||
if (Objects.isNull(lineInfoDO)) {
|
||||
throw new ServiceException(ErrorCodeEnum.INTERVIEW_PARTNER_NOT_EXIST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user