Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/service/IPileMerchantInfoService.java

98 lines
2.4 KiB
Java
Raw Normal View History

2023-03-04 16:29:55 +08:00
package com.jsowell.pile.service;
2023-07-06 15:48:06 +08:00
import com.jsowell.common.core.domain.vo.AuthorizedDeptVO;
2023-03-04 16:29:55 +08:00
import com.jsowell.pile.domain.PileMerchantInfo;
import com.jsowell.pile.dto.CreateMerchantDTO;
2023-03-04 16:29:55 +08:00
import com.jsowell.pile.vo.base.MerchantInfoVO;
import java.util.List;
/**
* 充电桩运营商信息Service接口
*
* @author jsowell
* @date 2022-08-27
*/
public interface IPileMerchantInfoService {
/**
* 查询充电桩运营商信息
*
* @param id 充电桩运营商信息主键
* @return 充电桩运营商信息
*/
public PileMerchantInfo selectPileMerchantInfoById(Long id);
/**
* 查询充电桩运营商信息列表
*
* @param pileMerchantInfo 充电桩运营商信息
* @return 充电桩运营商信息集合
*/
2023-07-26 19:41:13 +08:00
List<PileMerchantInfo> selectPileMerchantInfoListWithAuth(PileMerchantInfo pileMerchantInfo);
2023-03-04 16:29:55 +08:00
2023-07-26 19:41:13 +08:00
List<PileMerchantInfo> selectPileMerchantInfoList(PileMerchantInfo pileMerchantInfo);
/**
2023-03-04 16:29:55 +08:00
* 新增充电桩运营商信息
*
* @param pileMerchantInfo 充电桩运营商信息
* @return 结果
*/
public int insertPileMerchantInfo(CreateMerchantDTO pileMerchantInfo);
2023-03-04 16:29:55 +08:00
/**
* 修改充电桩运营商信息
*
* @param pileMerchantInfo 充电桩运营商信息
* @return 结果
*/
public int updatePileMerchantInfo(PileMerchantInfo pileMerchantInfo);
/**
* 批量删除充电桩运营商信息
*
* @param ids 需要删除的充电桩运营商信息主键集合
* @return 结果
*/
public int deletePileMerchantInfoByIds(Long[] ids);
/**
* 删除充电桩运营商信息信息
*
* @param id 充电桩运营商信息主键
* @return 结果
*/
public int deletePileMerchantInfoById(Long id);
/**
2023-08-15 15:53:37 +08:00
* 通过微信小程序appId查询一级运营商merchantId
* @param appId 微信小程序appId
* @return 一级运营商merchantId
*/
String getFirstLevelMerchantIdByAppId(String appId);
2023-07-26 15:30:14 +08:00
2023-03-04 16:29:55 +08:00
MerchantInfoVO getMerchantInfo(String merchantId);
2023-05-13 17:41:05 +08:00
/**
* 根据运营商部门ids 查询所有站点id
* @param merchantDeptIds
* @return
*/
List<String> queryByMerchantDeptIds(List<String> merchantDeptIds);
2023-06-09 16:10:25 +08:00
PileMerchantInfo queryInfoByDeptId(String deptId);
2023-07-06 15:48:06 +08:00
/**
* 通过ids查询信息列表
* @param authorizedMap
* @return
*/
List<PileMerchantInfo> queryInfoListByIds(AuthorizedDeptVO authorizedMap);
2023-08-03 17:59:42 +08:00
/**
* 查询一级运营商列表
* @return
*/
List<PileMerchantInfo> queryFirstLevelMerchant();
2023-03-04 16:29:55 +08:00
}