mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 12:35:07 +08:00
update 会员组
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id, group_code, merchant_id, station_id, group_level, group_type, discount, create_by, create_time, update_by, update_time, del_flag
|
||||
</sql>
|
||||
|
||||
<sql id="selectMemberGroupVo">
|
||||
select id, group_code, merchant_id, station_id, group_level, group_type, discount, create_by, create_time, update_by, update_time, del_flag from member_group
|
||||
@@ -100,4 +104,21 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="queryMemberGroupList" resultType="com.jsowell.pile.vo.web.MemberGroupVO">
|
||||
select
|
||||
t1.id as id,
|
||||
t1.group_code as groupCode,
|
||||
t1.merchant_id as merchantId,
|
||||
t1.station_id as stationId,
|
||||
t1.group_level as groupLevel,
|
||||
t1.group_type as groupType,
|
||||
t1.discount as discount,
|
||||
t2.merchant_name as merchantName,
|
||||
t3.station_name as stationName
|
||||
from member_group t1
|
||||
left join pile_merchant_info t2 on t1.merchant_id = t2.id
|
||||
left join pile_station_info t3 on t3.id = t1.station_id
|
||||
where t1.del_flag = '0'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user