|
@@ -64,6 +64,9 @@ public class MerchantAuthServiceImpl extends ServiceImpl<MerchantAuthMapper, Mer
|
|
|
MerchantAuth merchantAuth = this.lambdaQuery()
|
|
|
.eq(MerchantAuth::getApplicant, userId).one();
|
|
|
MerchantAuthDTO merchantAuthDTO = MerchantAuthCopier.INSTANCE.copying(merchantAuth);
|
|
|
+ if (merchantAuthDTO == null){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
merchantAuthDTO.setMerchant(this.merchantService.getMerchantByUserId(userId));
|
|
|
return merchantAuthDTO;
|
|
|
}
|