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