update新增吉林省平台要求必须实现接口

This commit is contained in:
YAS\29473
2025-07-16 16:26:49 +08:00
parent be80579377
commit e3b1c50425
5 changed files with 274 additions and 2 deletions

View File

@@ -289,6 +289,14 @@ public interface ThirdPartyPlatformService extends InitializingBean {
throw new UnsupportedOperationException("This method is not yet implemented");
}
/**
* 查询充电事故信息
* query_accident_info
*/
default Map<String, String> queryAccidentInfo(QueryStationInfoDTO dto) {
throw new UnsupportedOperationException("This method is not yet implemented");
}
// =================================================================================== //
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ 由对方平台实现此接口,我方平台调用的通知接口 ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ //

View File

@@ -376,7 +376,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
.electricityType(Constants.one) //1商业用电 2普通工业用电 3大工业用电 4其他用电
.businessExpandType(Constants.one)
.videoMonitor(Constants.zero)
.equipmentOwnerName(Constants.Equipment_Owner_Name)
.equipmentOwnerName("通榆县公路客运总站(通榆县开通客运服务有限公司)")
.supplyType(Constants.one)
.build();
@@ -1587,7 +1587,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
* @param dto
* @return
*/
@Override
/* @Override
public Map<String, String> queryParkingLock(QueryParkingLockDTO dto) {
JSONObject result = new JSONObject();
ThirdPartySecretInfoVO thirdPartySecretInfoVO = getJiLinSecretInfo();
@@ -1618,6 +1618,47 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
} finally {
return ThirdPartyPlatformUtils.generateResultMap(result, thirdPartySecretInfoVO);
}
}*/
/**
* 查询补贴发放信息
* @param dto
* @return
*/
@Override
public Map<String,String> querySubsidyGrantInfo (QueryStationInfoDTO dto){
int pageNo = dto.getPageNo()== null? 1 : dto.getPageNo();
int pageSize = dto.getPageSize() == null ? 10 : dto.getPageSize();
ThirdPartySecretInfoVO thirdPartySecretInfoVO = getJiLinSecretInfo();
JSONObject result = new JSONObject();
List<SubsidyGrantInfo> subsidyGrantInfos = new ArrayList<>();
result.put("PageNo", pageNo);
result.put("PageSize", pageSize);
result.put("ItemSize", 0);
result.put("SubsidyGrantInfos", subsidyGrantInfos);
return ThirdPartyPlatformUtils.generateResultMap(result, thirdPartySecretInfoVO);
}
@Override
public Map<String,String> queryAccidentInfo (QueryStationInfoDTO dto){
int pageNo = dto.getPageNo()== null? 1 : dto.getPageNo();
int pageSize = dto.getPageSize() == null ? 10 : dto.getPageSize();
ThirdPartySecretInfoVO thirdPartySecretInfoVO = getJiLinSecretInfo();
JSONObject result = new JSONObject();
List<EquipmentAccidentInfo> equipmentAccidentInfos = new ArrayList<>();
result.put("PageNo", pageNo);
result.put("PageSize", pageSize);
result.put("ItemSize", 0);
result.put("EquipmentAccidentInfo", equipmentAccidentInfos);
return ThirdPartyPlatformUtils.generateResultMap(result, thirdPartySecretInfoVO);
}