mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 站点管理配置下发二维码地址
This commit is contained in:
@@ -38,6 +38,11 @@ public class PileStationInfo extends BaseEntity {
|
||||
|
||||
private String deptId;
|
||||
|
||||
/**
|
||||
* 二维码前缀
|
||||
*/
|
||||
private String qrcodePrefix;
|
||||
|
||||
/**
|
||||
* 是否独立报桩(0-否;1-是)
|
||||
*/
|
||||
|
||||
@@ -17,6 +17,8 @@ import lombok.NoArgsConstructor;
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class QueryStationDTO extends BaseEntity {
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 站点名称
|
||||
*/
|
||||
@@ -61,4 +63,9 @@ public class QueryStationDTO extends BaseEntity {
|
||||
* 是否对外开放(0-否;1-是)
|
||||
*/
|
||||
private String publicFlag;
|
||||
|
||||
/**
|
||||
* 站点二维码前缀
|
||||
*/
|
||||
private String qrcodePrefix;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,9 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
vo.setId(pileStationInfo.getId().toString());
|
||||
vo.setAreaCode(pileStationInfo.getAreaCode());
|
||||
vo.setAddress(pileStationInfo.getAddress());
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getQrcodePrefix())) {
|
||||
vo.setQrcodePrefix(pileStationInfo.getQrcodePrefix());
|
||||
}
|
||||
vo.setMerchantId(pileStationInfo.getMerchantId().toString());
|
||||
// vo.setMerchantName(pileStationInfo.getmer());
|
||||
vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
|
||||
|
||||
@@ -44,6 +44,11 @@ public class PileStationVO {
|
||||
*/
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 二维码前缀
|
||||
*/
|
||||
private String qrcodePrefix;
|
||||
|
||||
/**
|
||||
* 充电设备数量
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user