站点新增 停车费率描述字段

This commit is contained in:
Lemon
2023-09-11 08:58:33 +08:00
parent ed1699b9ab
commit 660e666f93
7 changed files with 34 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ public class PileStationInfo extends BaseEntity {
/**
* 停车费率描述
*/
private String parkFreeDescribe;
private String parkFeeDescribe;
/**
* 充电站国家代码

View File

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

View File

@@ -174,4 +174,9 @@ public class PileStationVO {
*/
private BigDecimal servicePrice;
/**
* 停车费率描述
*/
private String parkFeeDescribe;
}

View File

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