update qcyun停车优化

This commit is contained in:
jsowell
2026-06-24 14:39:02 +08:00
parent a92af3ea35
commit 0ec61089fc
9 changed files with 260 additions and 42 deletions

View File

@@ -26,6 +26,11 @@ public class ThirdpartyParkingConfig {
*/
private String parkingName;
/**
* 停车平台类型(1-路通云停;2-软杰;3-qcyun)
*/
private String platformType;
/**
* 停车场库appId
*/
@@ -46,6 +51,21 @@ public class ThirdpartyParkingConfig {
*/
private String couponId;
/**
* qcyun机构ID
*/
private String orgId;
/**
* qcyun车场ID
*/
private String parkId;
/**
* 平台接口地址
*/
private String apiUrl;
private Date createTime;
private String createBy;
@@ -58,4 +78,4 @@ public class ThirdpartyParkingConfig {
* 删除标识(0-正常;1-删除)
*/
private String delFlag;
}
}

View File

@@ -61,4 +61,12 @@ public interface ThirdpartyParkingConfigMapper {
* @return
*/
List<ThirdpartyParkingConfig> selectInfoList();
}
/**
* 根据站点查询绑定的停车平台配置
*
* @param stationId 站点id
* @return 停车平台配置
*/
ThirdpartyParkingConfig selectByStationId(String stationId);
}

View File

@@ -57,4 +57,12 @@ public interface ThirdPartyParkingConfigService {
* 查询基本信息列表(调用时需分页)
*/
List<ThirdpartyParkingConfig> selectInfoList();
/**
* 根据站点查询绑定的停车平台配置
*
* @param stationId 站点id
* @return 停车平台配置
*/
ThirdpartyParkingConfig selectByStationId(String stationId);
}

View File

@@ -59,4 +59,9 @@ public class ThirdPartyParkingConfigServiceImpl implements ThirdPartyParkingConf
return thirdpartyParkingConfigMapper.selectInfoList();
}
@Override
public ThirdpartyParkingConfig selectByStationId(String stationId) {
return thirdpartyParkingConfigMapper.selectByStationId(stationId);
}
}