mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-09 08:27:58 +08:00
update 接口添加字段 对外展示VIP价格标识
This commit is contained in:
@@ -99,7 +99,7 @@ public class PileBillingTemplate extends BaseEntity {
|
|||||||
private String memberFlag;
|
private String memberFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对外展示标识(0-不展示; 1-展示)
|
* 对外展示VIP价格标识(0-不展示; 1-展示)
|
||||||
*/
|
*/
|
||||||
private String displayFlag;
|
private String displayFlag;
|
||||||
|
|
||||||
|
|||||||
@@ -95,4 +95,9 @@ public class CreateOrUpdateBillingTemplateDTO {
|
|||||||
|
|
||||||
// 集团编号
|
// 集团编号
|
||||||
private String groupCode;
|
private String groupCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 对外展示VIP价格标识(0-不展示; 1-展示)
|
||||||
|
*/
|
||||||
|
private String displayFlag;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -241,6 +241,7 @@ public class PileBillingTemplateServiceImpl implements PileBillingTemplateServic
|
|||||||
billingTemplate.setFreeTime(dto.getFreeTime());
|
billingTemplate.setFreeTime(dto.getFreeTime());
|
||||||
billingTemplate.setOccupyFee(dto.getOccupyFee());
|
billingTemplate.setOccupyFee(dto.getOccupyFee());
|
||||||
billingTemplate.setMaxOccupyFee(dto.getMaxOccupyFee());
|
billingTemplate.setMaxOccupyFee(dto.getMaxOccupyFee());
|
||||||
|
billingTemplate.setDisplayFlag(dto.getDisplayFlag());
|
||||||
|
|
||||||
// 查询站点信息
|
// 查询站点信息
|
||||||
PileStationInfo stationInfo = pileStationInfoService.selectPileStationInfoById(billingTemplate.getStationId());
|
PileStationInfo stationInfo = pileStationInfoService.selectPileStationInfoById(billingTemplate.getStationId());
|
||||||
@@ -315,6 +316,7 @@ public class PileBillingTemplateServiceImpl implements PileBillingTemplateServic
|
|||||||
result.setFreeTime(pileBillingTemplate.getFreeTime());
|
result.setFreeTime(pileBillingTemplate.getFreeTime());
|
||||||
result.setOccupyFee(pileBillingTemplate.getOccupyFee());
|
result.setOccupyFee(pileBillingTemplate.getOccupyFee());
|
||||||
result.setMaxOccupyFee(pileBillingTemplate.getMaxOccupyFee());
|
result.setMaxOccupyFee(pileBillingTemplate.getMaxOccupyFee());
|
||||||
|
result.setDisplayFlag(pileBillingTemplate.getDisplayFlag());
|
||||||
|
|
||||||
// 查计费模板详情
|
// 查计费模板详情
|
||||||
// List<PileBillingDetail> detailList = pileBillingTemplateMapper.queryBillingDetailByTemplateIds(new Long[]{id});
|
// List<PileBillingDetail> detailList = pileBillingTemplateMapper.queryBillingDetailByTemplateIds(new Long[]{id});
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public class BillingPriceVO {
|
|||||||
private String totalPrice;
|
private String totalPrice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对外展示标识(0-不展示; 1-展示)
|
* 对外展示VIP价格标识(0-不展示; 1-展示)
|
||||||
*/
|
*/
|
||||||
private String displayFlag;
|
private String displayFlag;
|
||||||
|
|
||||||
|
|||||||
@@ -93,6 +93,7 @@
|
|||||||
a.occupy_fee,
|
a.occupy_fee,
|
||||||
a.max_occupy_fee,
|
a.max_occupy_fee,
|
||||||
a.template_remark,
|
a.template_remark,
|
||||||
|
a.display_flag as display_flag,
|
||||||
a.type,
|
a.type,
|
||||||
a.station_id,
|
a.station_id,
|
||||||
a.create_by,
|
a.create_by,
|
||||||
@@ -254,6 +255,9 @@
|
|||||||
<if test="stationId != null">
|
<if test="stationId != null">
|
||||||
station_id = #{stationId},
|
station_id = #{stationId},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="displayFlag != null">
|
||||||
|
display_flag = #{displayFlag},
|
||||||
|
</if>
|
||||||
<if test="freeTime != null">
|
<if test="freeTime != null">
|
||||||
free_time = #{freeTime},
|
free_time = #{freeTime},
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user