mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
后管页面新增 停车平台配置
This commit is contained in:
@@ -4,6 +4,8 @@ import com.jsowell.pile.domain.ThirdPartyPlatformConfig;
|
||||
import com.jsowell.pile.domain.ThirdpartyParkingConfig;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
@@ -53,4 +55,10 @@ public interface ThirdpartyParkingConfigMapper {
|
||||
* @return update count
|
||||
*/
|
||||
int updateByPrimaryKey(ThirdpartyParkingConfig record);
|
||||
|
||||
/**
|
||||
* 查询基本信息列表(调用时需分页)
|
||||
* @return
|
||||
*/
|
||||
List<ThirdpartyParkingConfig> selectInfoList();
|
||||
}
|
||||
@@ -2,6 +2,8 @@ package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.ThirdpartyParkingConfig;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 第三方停车平台Service
|
||||
*
|
||||
@@ -50,4 +52,9 @@ public interface IThirdPartyParkingConfigService {
|
||||
* @return update count
|
||||
*/
|
||||
int updateByPrimaryKey(ThirdpartyParkingConfig record);
|
||||
|
||||
/**
|
||||
* 查询基本信息列表(调用时需分页)
|
||||
*/
|
||||
List<ThirdpartyParkingConfig> selectInfoList();
|
||||
}
|
||||
|
||||
@@ -130,6 +130,9 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
vo.setId(pileStationInfo.getId().toString());
|
||||
vo.setAreaCode(pileStationInfo.getAreaCode());
|
||||
vo.setAddress(pileStationInfo.getAddress());
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkingId())) {
|
||||
vo.setParkingId(pileStationInfo.getParkingId());
|
||||
}
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getQrcodePrefix())) {
|
||||
vo.setQrcodePrefix(pileStationInfo.getQrcodePrefix());
|
||||
}
|
||||
|
||||
@@ -6,6 +6,8 @@ import com.jsowell.pile.service.IThirdPartyParkingConfigService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
@@ -49,4 +51,12 @@ public class ThirdPartyParkingConfigServiceImpl implements IThirdPartyParkingCon
|
||||
return thirdpartyParkingConfigMapper.updateByPrimaryKey(record);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询基本信息列表(调用时需分页)
|
||||
*/
|
||||
@Override
|
||||
public List<ThirdpartyParkingConfig> selectInfoList() {
|
||||
return thirdpartyParkingConfigMapper.selectInfoList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -34,6 +34,11 @@ public class PileStationVO {
|
||||
*/
|
||||
private String deptId;
|
||||
|
||||
/**
|
||||
* 停车平台id
|
||||
*/
|
||||
private String parkingId;
|
||||
|
||||
/**
|
||||
* 省市辖区编码
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user