update会员计费模板

This commit is contained in:
2024-01-31 16:14:28 +08:00
parent 91aca42700
commit 8f96aed8fb
2 changed files with 13 additions and 29 deletions

View File

@@ -15,6 +15,7 @@
<result property="occupyFee" column="occupy_fee"/>
<result property="maxOccupyFee" column="max_occupy_fee"/>
<result property="publicFlag" column="public_flag"/>
<result property="memberFlag" column="memberFlag"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
@@ -25,7 +26,7 @@
<sql id="Base_Column_List">
<!--@mbg.generated PileBillingTemplate-->
id, template_code, name, status, remark, type, station_id, free_time, occupy_fee, max_occupy_fee, public_flag,
create_time, update_by, update_time, del_flag
member_flag, create_time, update_by, update_time, del_flag
</sql>
<resultMap type="com.jsowell.pile.domain.PileBillingDetail" id="PileBillingDetailResult">
@@ -123,6 +124,9 @@
<if test="publicFlag != null">
public_flag,
</if>
<if test="memberFlag != null">
member_flag,
</if>
<if test="name != null">
name,
</if>
@@ -170,6 +174,9 @@
<if test="publicFlag != null">
#{publicFlag},
</if>
<if test="memberFlag != null">
#{memberFlag},
</if>
<if test="name != null">
#{name},
</if>
@@ -330,6 +337,7 @@
t2.free_time as freeTime,
t2.occupy_fee as occupyFee,
t2.publish_time as publishTime,
t2.member_flag as memberFlag,
t3.electricity_price AS sharpElectricityPrice,
t3.service_price AS sharpServicePrice,
t3.apply_time AS sharpApplyDate,

View File

@@ -125,35 +125,11 @@
<el-table-column label="上次发布时间" prop="publishTime" />
<el-table-column label="操作" align="center" width="250">
<template slot-scope="scope">
<el-button
type="text"
size="small"
@click="issue(scope.row.templateId)"
>
发布
</el-button>
<el-button type="text" size="small" @click="outerVisible = true"
>绑定设备
</el-button>
<!-- <el-col :span="5">
<el-button type="text" size="small" @click="expDialog = true"
>费率详情页</el-button
>
</el-col> -->
<el-button
type="text"
size="small"
@click="handleUpdate(scope.row.templateId)"
>修改默认费率
</el-button>
<el-button
type="text"
size="small"
@click="delBilling(scope.row.templateId)"
>删除</el-button
>
<el-button v-if="scope.row.memberFlag === '0'" type="text" size="small" @click="issue(scope.row.templateId)">发布</el-button>
<el-button v-if="scope.row.memberFlag === '0'" type="text" size="small" @click="outerVisible = true">绑定设备</el-button>
<el-button type="text" size="small" @click="handleUpdate(scope.row.templateId)">修改默认费率</el-button>
<el-button type="text" size="small" @click="delBilling(scope.row.templateId)">删除</el-button>
</template>
</el-table-column>
</el-table>