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

132 lines
3.3 KiB
Java
Raw Normal View History

2023-03-04 16:29:55 +08:00
package com.jsowell.pile.service;
import com.jsowell.pile.domain.PileMerchantInfo;
import com.jsowell.pile.dto.CreateMerchantDTO;
import com.jsowell.pile.dto.QueryMerchantInfoDTO;
2023-03-04 16:29:55 +08:00
import com.jsowell.pile.vo.base.MerchantInfoVO;
import com.jsowell.pile.vo.web.MerchantSettleInfoVO;
2023-03-04 16:29:55 +08:00
import java.util.List;
/**
* 充电桩运营商信息Service接口
*
* @author jsowell
* @date 2022-08-27
*/
public interface IPileMerchantInfoService {
/**
* 查询充电桩运营商信息
*
* @param id 充电桩运营商信息主键
* @return 充电桩运营商信息
*/
public PileMerchantInfo selectPileMerchantInfoById(Long id);
2023-08-17 11:16:32 +08:00
PileMerchantInfo selectPileMerchantInfoById(String merchantId);
/**
2023-03-04 16:29:55 +08:00
* 查询充电桩运营商信息列表
*
* @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-25 16:07:15 +08:00
PileMerchantInfo getFirstLevelMerchantByAppId(String appId);
/**
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 dto
2023-07-06 15:48:06 +08:00
* @return
*/
List<MerchantSettleInfoVO> queryMerchantInfoListByAuth(QueryMerchantInfoDTO dto);
2023-08-03 17:59:42 +08:00
/**
* 查询一级运营商列表
* @return
*/
2023-08-26 14:09:04 +08:00
List<PileMerchantInfo> queryFirstLevelMerchantList();
2023-08-17 14:25:45 +08:00
String queryAppIdByMerchantId(String merchantId);
2023-08-18 09:27:22 +08:00
/**
* 通过appid获取运营商部门id
* @param appId
* @return
*/
List<String> getDeptIdsByAppId(String appId);
2023-08-25 16:07:15 +08:00
String getDelayModeByWechatAppId(String wechatAppId);
2023-08-26 14:09:04 +08:00
2023-09-01 15:45:04 +08:00
String getDelayModeByMerchantId(String merchantId);
/**
2023-08-26 14:09:04 +08:00
* 通过merchantId获取一级运营商信息
*/
PileMerchantInfo getFirstLevelMerchantByMerchantId(String merchantId);
2023-11-02 09:33:45 +08:00
/**
* 通过merchantId获取一级运营商id
*/
String getFirstLevelMerchantIdByMerchantId(String merchantId);
2023-11-10 17:13:27 +08:00
// 查询全部生效的运营商
List<MerchantInfoVO> selectAll();
// 查询一级运营商下属的二级运营商
List<MerchantInfoVO> selectListByFirstMerchant(String firstMerchantId);
2023-03-04 16:29:55 +08:00
}