mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
新增 对接青海平台 推送充换电站实时功率 接口
This commit is contained in:
@@ -3,6 +3,7 @@ package com.jsowell.pile.mapper;
|
||||
import com.jsowell.pile.domain.PileMerchantInfo;
|
||||
import com.jsowell.pile.dto.QueryMerchantInfoDTO;
|
||||
import com.jsowell.pile.vo.web.MerchantSettleInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileMerchantInfoVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@@ -119,4 +120,11 @@ public interface PileMerchantInfoMapper {
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectListByFirstMerchant(@Param("firstMerchantId") String firstMerchantId);
|
||||
|
||||
/**
|
||||
* 根据站点id查询运营商基本信息
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfoVO queryMerchantInfoByStationId(String stationId);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import com.jsowell.pile.dto.CreateMerchantDTO;
|
||||
import com.jsowell.pile.dto.QueryMerchantInfoDTO;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
import com.jsowell.pile.vo.web.MerchantSettleInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileMerchantInfoVO;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -140,4 +141,11 @@ public interface PileMerchantInfoService {
|
||||
|
||||
// 查询一级运营商下属的二级运营商
|
||||
List<MerchantInfoVO> selectListByFirstMerchant(String firstMerchantId);
|
||||
|
||||
/**
|
||||
* 通过站点id查询运营商基本信息
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfoVO queryMerchantInfoByStationId(String stationId);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ import com.jsowell.pile.service.PileMerchantInfoService;
|
||||
import com.jsowell.pile.util.UserUtils;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
import com.jsowell.pile.vo.web.MerchantSettleInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileMerchantInfoVO;
|
||||
import com.jsowell.system.service.SysDeptService;
|
||||
import com.jsowell.system.service.SysUserService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -545,4 +546,14 @@ public class PileMerchantInfoServiceImpl implements PileMerchantInfoService {
|
||||
return resultList;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过站点id查询运营商基本信息
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public PileMerchantInfoVO queryMerchantInfoByStationId(String stationId) {
|
||||
return pileMerchantInfoMapper.queryMerchantInfoByStationId(stationId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.jsowell.pile.vo.web;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/4/15 10:58:58
|
||||
*/
|
||||
@Data
|
||||
public class PileMerchantInfoVO {
|
||||
|
||||
private String stationId;
|
||||
private String merchantId;
|
||||
private String merchantName;
|
||||
private String organizationCode;
|
||||
}
|
||||
Reference in New Issue
Block a user