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:
@@ -81,7 +81,7 @@ public class PileStationInfo extends BaseEntity {
|
||||
/**
|
||||
* 停车费率描述
|
||||
*/
|
||||
private String parkFreeDescribe;
|
||||
private String parkFeeDescribe;
|
||||
|
||||
/**
|
||||
* 充电站国家代码
|
||||
|
||||
@@ -142,6 +142,9 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
|
||||
vo.setParkingNumber(pileStationInfo.getParkingNumber());
|
||||
}
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkFeeDescribe())) {
|
||||
vo.setParkFeeDescribe(pileStationInfo.getParkFeeDescribe());
|
||||
}
|
||||
vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
|
||||
vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus()));
|
||||
vo.setStationType(pileStationInfo.getStationType());
|
||||
|
||||
@@ -174,4 +174,9 @@ public class PileStationVO {
|
||||
*/
|
||||
private BigDecimal servicePrice;
|
||||
|
||||
/**
|
||||
* 停车费率描述
|
||||
*/
|
||||
private String parkFeeDescribe;
|
||||
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<result property="capacity" column="capacity" />
|
||||
<result property="publicParking" column="public_parking" />
|
||||
<result property="parkingNumber" column="parking_number" />
|
||||
<result property="parkFreeDescribe" column="park_free_descirbe" />
|
||||
<result property="parkFeeDescribe" column="park_fee_describe" />
|
||||
<result property="countryCode" column="country_code" />
|
||||
<result property="areaCode" column="area_code" />
|
||||
<result property="address" column="address" />
|
||||
@@ -82,7 +82,7 @@
|
||||
<if test="capacity != null "> and capacity = #{capacity}</if>
|
||||
<if test="publicParking != null and publicParking != ''"> and public_parking = #{publicParking}</if>
|
||||
<if test="parkingNumber != null and parkingNumber != ''"> and parking_number = #{parkingNumber}</if>
|
||||
<if test="parkFreeDescribe != null and parkFreeDescribe != ''"> and park_fee_describe = #{parkFreeDescribe}</if>
|
||||
<if test="parkFeeDescribe != null and parkFeeDescribe != ''"> and park_fee_describe = #{parkFeeDescribe}</if>
|
||||
<if test="countryCode != null and countryCode != ''"> and country_code = #{countryCode}</if>
|
||||
<if test="areaCode != null and areaCode != ''"> and area_code = #{areaCode}</if>
|
||||
<if test="address != null and address != ''"> and address like concat('%', #{address}, '%')</if>
|
||||
@@ -140,7 +140,7 @@
|
||||
<if test="capacity != null">capacity,</if>
|
||||
<if test="publicParking != null">public_parking,</if>
|
||||
<if test="parkingNumber != null">parking_number,</if>
|
||||
<if test="parkFreeDescribe != null">park_fee_describe,</if>
|
||||
<if test="parkFeeDescribe != null">park_fee_describe,</if>
|
||||
<if test="countryCode != null">country_code,</if>
|
||||
<if test="areaCode != null">area_code,</if>
|
||||
<if test="address != null">address,</if>
|
||||
@@ -194,7 +194,7 @@
|
||||
<if test="capacity != null">#{capacity},</if>
|
||||
<if test="publicParking != null">#{publicParking},</if>
|
||||
<if test="parkingNumber != null">#{parkingNumber},</if>
|
||||
<if test="parkFreeDescribe != null">#{parkFreeDescribe},</if>
|
||||
<if test="parkFeeDescribe != null">#{parkFeeDescribe},</if>
|
||||
<if test="countryCode != null">#{countryCode},</if>
|
||||
<if test="areaCode != null">#{areaCode},</if>
|
||||
<if test="address != null">#{address},</if>
|
||||
@@ -251,7 +251,7 @@
|
||||
<if test="capacity != null">capacity = #{capacity},</if>
|
||||
<if test="publicParking != null">public_parking = #{publicParking},</if>
|
||||
<if test="parkingNumber != null">parking_number = #{parkingNumber},</if>
|
||||
<if test="parkFreeDescribe != null">park_fee_describe = #{parkFreeDescribe},</if>
|
||||
<if test="parkFeeDescribe != null">park_fee_describe = #{parkFeeDescribe},</if>
|
||||
<if test="countryCode != null">country_code = #{countryCode},</if>
|
||||
<if test="areaCode != null">area_code = #{areaCode},</if>
|
||||
<if test="address != null">address = #{address},</if>
|
||||
|
||||
@@ -85,6 +85,12 @@ public class AMapStationInfo {
|
||||
@JsonProperty(value = "StationStatus")
|
||||
private Integer stationStatus;
|
||||
|
||||
/**
|
||||
* 停车费率描述
|
||||
*/
|
||||
@JsonProperty(value = "ParkFee")
|
||||
private String parkFee;
|
||||
|
||||
/**
|
||||
* 营业状态
|
||||
* 0:完全对外
|
||||
|
||||
@@ -163,6 +163,10 @@ public class AMapServiceImpl implements AMapService {
|
||||
aMapInfo.setOperatorName(Constants.JSOWELL);
|
||||
aMapInfo.setStationName(stationInfo.getStationName());
|
||||
aMapInfo.setCountryCode(stationInfo.getCountryCode());
|
||||
if (StringUtils.isNotBlank(stationInfo.getParkFeeDescribe())) {
|
||||
// 停车费率描述
|
||||
aMapInfo.setParkFee(stationInfo.getParkFeeDescribe());
|
||||
}
|
||||
aMapInfo.setAreaCode(stationInfo.getAreaCode());
|
||||
aMapInfo.setServiceTel(stationInfo.getStationTel());
|
||||
aMapInfo.setAddress(stationInfo.getAddress());
|
||||
|
||||
@@ -216,6 +216,14 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item prop="parkFeeDescribe" label="停车费率描述">
|
||||
<el-input
|
||||
v-model="station.parkFeeDescribe"
|
||||
required="true"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-button
|
||||
@@ -254,6 +262,7 @@ export default {
|
||||
stationTel: "",
|
||||
matchCars: "",
|
||||
parkingNumber: "",
|
||||
parkFeeDescribe: "",
|
||||
selectMatchCars: [],
|
||||
publicFlag: "",
|
||||
openFlag: "",
|
||||
@@ -486,6 +495,7 @@ export default {
|
||||
},
|
||||
// 修改充电站信息
|
||||
async subUpdate() {
|
||||
console.log("this.station", this.station);
|
||||
await updateStation(this.station);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user