mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 查询枪口状态之前先查询该站点有没有推送第三方平台(华为)
This commit is contained in:
@@ -84,5 +84,5 @@ public interface ThirdpartySnRelationMapper {
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
List<ThirdPartySnRelationVO> selectSnRelationListByParams(@Param("stationId") String stationId, @Param("pileSn") String pileSn);
|
||||
List<ThirdPartySnRelationVO> selectSnRelationListByParams(@Param("stationId") String stationId, @Param("pileSn") String pileSn, @Param("pileIds") List<Long> pileIds);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ public interface IThirdpartySnRelationService {
|
||||
*/
|
||||
public List<ThirdpartySnRelation> selectThirdpartySnRelationList(ThirdpartySnRelation thirdpartySnRelation);
|
||||
|
||||
public List<ThirdPartySnRelationVO> selectSnRelationListByParams(String stationId, String pileSn);
|
||||
public List<ThirdPartySnRelationVO> selectSnRelationListByParams(String stationId, String pileSn, List<Long> pileIds);
|
||||
|
||||
/**
|
||||
* 新增万车充--第三方平台桩编号对应关系
|
||||
|
||||
@@ -3056,7 +3056,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
}
|
||||
|
||||
// 判断该桩是否对接了类似华为平台的第三方站点
|
||||
List<ThirdPartySnRelationVO> list = snRelationService.selectSnRelationListByParams(null, orderInfo.getPileSn());
|
||||
List<ThirdPartySnRelationVO> list = snRelationService.selectSnRelationListByParams(null, orderInfo.getPileSn(), null);
|
||||
if (CollectionUtils.isNotEmpty(list)) {
|
||||
for (ThirdPartySnRelationVO vo : list) {
|
||||
String startMode = vo.getStartMode();
|
||||
|
||||
@@ -45,9 +45,9 @@ public class ThirdpartySnRelationServiceImpl implements IThirdpartySnRelationSer
|
||||
return thirdpartySnRelationMapper.selectThirdpartySnRelationList(thirdpartySnRelation);
|
||||
}
|
||||
|
||||
|
||||
public List<ThirdPartySnRelationVO> selectSnRelationListByParams(String stationId, String pileSn) {
|
||||
return thirdpartySnRelationMapper.selectSnRelationListByParams(stationId, pileSn);
|
||||
@Override
|
||||
public List<ThirdPartySnRelationVO> selectSnRelationListByParams(String stationId, String pileSn, List<Long> pileIds) {
|
||||
return thirdpartySnRelationMapper.selectSnRelationListByParams(stationId, pileSn, pileIds);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user