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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
// =================================================================================== //
|
||||
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ 由对方平台实现此接口,我方平台调用的通知接口 ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ //
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user