Commit c2877566 by 陶光胜

通过电话号码查询商户

parent 6ea480e8
......@@ -58,7 +58,7 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
Integer authMode = storeWidgetDTO.getAuthMode();
if(authMode == AuthModeEnum.NO.getCode()){
this.unionEnterpriseApiService.updateStoreAuthorizationStatus(AuthorizationStatusEnum.NO.getCode(),
enterpriseId, AuthorizationStatusEnum.NO.getMessage());
enterpriseId, AuthorizationStatusEnum.NO.getMessage(), null);
return ServiceResponse.success();
}
StoreSearchDTO storeSearchDTO = new StoreSearchDTO();
......@@ -68,7 +68,8 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
if(count > 0){
this.queryStoreByPage(count, storeSearchDTO, toEnterpriseId, enterpriseId);
}else {
this.unionEnterpriseApiService.updateStoreAuthorizationStatus(AuthorizationStatusEnum.SUCCESS.getCode(), enterpriseId);
this.unionEnterpriseApiService.updateStoreAuthorizationStatus(AuthorizationStatusEnum.SUCCESS.getCode(),
enterpriseId, "授权成功", null);
}
}
}
......@@ -94,9 +95,9 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
int count = this.authStoreLogService.getCount(key, 2);
if(count > 0){
this.unionEnterpriseApiService.updateStoreAuthorizationStatus
(AuthorizationStatusEnum.PARTSUCCESS.getCode(), storeDTO.getEnterpriseId(), "成功授权"+(total-count)+"条数据,失败"+count+"条");
(AuthorizationStatusEnum.PARTSUCCESS.getCode(), storeDTO.getEnterpriseId(), "成功授权"+(total-count)+"条数据,失败"+count+"条", key);
}
this.unionEnterpriseApiService.updateStoreAuthorizationStatus(AuthorizationStatusEnum.SUCCESS.getCode(), storeDTO.getEnterpriseId());
this.unionEnterpriseApiService.updateStoreAuthorizationStatus(AuthorizationStatusEnum.SUCCESS.getCode(), storeDTO.getEnterpriseId(), "授权成功", key);
}
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment