多商户配置

This commit is contained in:
2023-08-15 15:53:37 +08:00
parent a64b2e56fe
commit 253a527b7b
3 changed files with 11 additions and 4 deletions

View File

@@ -65,9 +65,9 @@ public interface IPileMerchantInfoService {
public int deletePileMerchantInfoById(Long id);
/**
* 获取一级运营商merchantId
* @param appId
* @return
* 通过微信小程序appId查询一级运营商merchantId
* @param appId 微信小程序appId
* @return 一级运营商merchantId
*/
String getFirstLevelMerchantIdByAppId(String appId);

View File

@@ -26,7 +26,6 @@ import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
/**
* 充电桩运营商信息Service业务层处理
@@ -258,6 +257,11 @@ public class PileMerchantInfoServiceImpl implements IPileMerchantInfoService {
}
/**
* 通过微信小程序appId查询一级运营商merchantId
* @param appId 微信小程序appId
* @return 一级运营商merchantId
*/
@Override
public String getFirstLevelMerchantIdByAppId(String appId) {
if (StringUtils.isBlank(appId)) {