会员等级展示

This commit is contained in:
zhaotianfeng 2024-09-20 15:59:50 +08:00
parent 2cd0fea776
commit 184f74e94b
2 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,8 @@ public class CustomerMainRespVO extends CustomerMain {
List<BusiLabel> labelList;
/**车辆品牌型号数组*/
List<String> brandAndModel;
/**会员名称 */
private String levelName;
/**是否车主0否1是*/
private String isOwner;

View File

@ -36,10 +36,12 @@
main.inviter AS inviter,
main.inviter_type AS inviterType,
main.status AS status,
group_concat(item.ser_content) AS serContents
group_concat(item.ser_content) AS serContents,
memberLevel.name AS levelName
FROM
base_customer_main main
LEFT JOIN base_customer_item item ON main.id = item.cus_id AND item.deleted = 0
LEFT JOIN dl_member_level memberLevel ON main.member_level_id = memberLevel.id
<where>
main.deleted = 0
<if test="entity.cusName != null and entity.cusName != ''">