新增 站点管理配置下发二维码地址

This commit is contained in:
Lemon
2023-03-31 16:19:26 +08:00
parent 310d08336f
commit c337b9f035
11 changed files with 159 additions and 9 deletions

View File

@@ -38,6 +38,11 @@ public class PileStationInfo extends BaseEntity {
private String deptId;
/**
* 二维码前缀
*/
private String qrcodePrefix;
/**
* 是否独立报桩0-否1-是)
*/

View File

@@ -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;
}

View File

@@ -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());

View File

@@ -44,6 +44,11 @@ public class PileStationVO {
*/
private String address;
/**
* 二维码前缀
*/
private String qrcodePrefix;
/**
* 充电设备数量
*/