后管页面新增 停车平台配置

This commit is contained in:
Lemon
2023-08-25 15:50:23 +08:00
parent cb79523b8b
commit c08c4f4a95
10 changed files with 173 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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

View File

@@ -34,6 +34,11 @@ public class PileStationVO {
*/
private String deptId;
/**
* 停车平台id
*/
private String parkingId;
/**
* 省市辖区编码
*/