|
@@ -47,6 +47,7 @@ public class MerchantAuthServiceImpl extends ServiceImpl<MerchantAuthMapper, Mer
|
|
|
AssertUtils.available(count <= 0, "商家认证已存在");
|
|
|
merchantAuth.setApplicationTime(new Date());
|
|
|
merchantAuth.setApplicant(userId);
|
|
|
+ merchantAuth.setReviewStatus("2");
|
|
|
this.save(merchantAuth);
|
|
|
MerchantModifyParam param1 = new MerchantModifyParam();
|
|
|
param1.setName(param.getStoreName());
|
|
@@ -74,6 +75,7 @@ public class MerchantAuthServiceImpl extends ServiceImpl<MerchantAuthMapper, Mer
|
|
|
public void updateMerchantAuth(@NonNull Long id, @NonNull MerchantAuthModifyParam param) {
|
|
|
MerchantAuth merchantAuth = AssertUtils.available(this.getById(id), "商家认证不存在");
|
|
|
MerchantAuthCopier.INSTANCE.copying(param, merchantAuth);
|
|
|
+ merchantAuth.setReviewStatus("2");
|
|
|
this.updateById(merchantAuth);
|
|
|
MerchantModifyParam param1 = new MerchantModifyParam();
|
|
|
param1.setName(param.getStoreName());
|