新增计费模板描述字段

This commit is contained in:
2024-02-20 16:49:21 +08:00
parent e6bfafa686
commit 9b6d8b959d
7 changed files with 45 additions and 16 deletions

View File

@@ -230,9 +230,10 @@
<select id="queryStationList" resultType="com.jsowell.pile.vo.base.MemberGroupStationVO">
SELECT
t1.id,
t1.station_name,
t2.remark
t1.id as stationId,
t1.station_name as stationName,
t2.template_code as templateCode,
t2.template_desc as templateDesc
FROM
pile_station_info t1
JOIN pile_billing_template t2 ON t2.station_id = t1.id AND t2.del_flag = '0' AND t2.member_flag = '1'

View File

@@ -9,6 +9,7 @@
<result property="name" column="name"/>
<result property="status" column="status"/>
<result property="remark" column="remark"/>
<result property="templateDesc" column="template_desc"/>
<result property="type" column="type"/>
<result property="stationId" column="station_id"/>
<result property="freeTime" column="free_time"/>
@@ -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,
id, template_code, name, status, remark, template_desc, type, station_id, free_time, occupy_fee, max_occupy_fee, public_flag,
member_flag, create_time, update_by, update_time, del_flag
</sql>
@@ -136,6 +137,9 @@
<if test="remark != null">
remark,
</if>
<if test="templateDesc != null">
template_desc,
</if>
<if test="type != null">
type,
</if>
@@ -186,6 +190,9 @@
<if test="remark != null">
#{remark},
</if>
<if test="templateDesc != null">
#{templateDesc},
</if>
<if test="type != null">
#{type},
</if>
@@ -237,6 +244,9 @@
<if test="remark != null">
remark = #{remark},
</if>
<if test="templateDesc != null">
template_desc = #{templateDesc},
</if>
<if test="type != null">
type = #{type},
</if>