mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-11 17:48:09 +08:00
计费模板表新增 status 字段
This commit is contained in:
@@ -36,6 +36,11 @@ public class PileBillingTemplate extends BaseEntity {
|
|||||||
@Excel(name = "模板名称")
|
@Excel(name = "模板名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模板状态(0-未启用;1-启用)
|
||||||
|
*/
|
||||||
|
private String status;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 车辆类型(1-电动汽车;2-电动自行车)
|
* 车辆类型(1-电动汽车;2-电动自行车)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
<result property="id" column="id"/>
|
<result property="id" column="id"/>
|
||||||
<result property="templateCode" column="template_code"/>
|
<result property="templateCode" column="template_code"/>
|
||||||
<result property="name" column="name"/>
|
<result property="name" column="name"/>
|
||||||
|
<result property="status" column="status"/>
|
||||||
<result property="remark" column="remark"/>
|
<result property="remark" column="remark"/>
|
||||||
<result property="type" column="type"/>
|
<result property="type" column="type"/>
|
||||||
<result property="stationId" column="station_id"/>
|
<result property="stationId" column="station_id"/>
|
||||||
@@ -20,7 +21,7 @@
|
|||||||
|
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
<!--@mbg.generated PileBillingTemplate-->
|
<!--@mbg.generated PileBillingTemplate-->
|
||||||
id, template_code, name, remark, type, station_id, public_flag,
|
id, template_code, name, status, remark, type, station_id, public_flag,
|
||||||
create_time, update_by, update_time, del_flag
|
create_time, update_by, update_time, del_flag
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
@@ -119,6 +120,9 @@
|
|||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
name,
|
name,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="status != null">
|
||||||
|
status,
|
||||||
|
</if>
|
||||||
<if test="remark != null">
|
<if test="remark != null">
|
||||||
remark,
|
remark,
|
||||||
</if>
|
</if>
|
||||||
@@ -193,6 +197,9 @@
|
|||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
name = #{name},
|
name = #{name},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="status != null">
|
||||||
|
status = #{status},
|
||||||
|
</if>
|
||||||
<if test="remark != null">
|
<if test="remark != null">
|
||||||
remark = #{remark},
|
remark = #{remark},
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user