feat:前世今生增加实名字段

This commit is contained in:
yangqingyuan
2024-08-08 16:31:32 +08:00
parent 7a25d53a36
commit baf25eef03
2 changed files with 5 additions and 1 deletions

View File

@@ -76,4 +76,8 @@ public class EquipmentRecord implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private String nickname; private String nickname;
@ApiModelProperty(value = "用户真实名称")
@TableField(exist = false)
private String realName;
} }

View File

@@ -6,7 +6,7 @@
<sql id="selectSql"> <sql id="selectSql">
SELECT a.*, SELECT a.*,
b.merchant_name,b.merchant_code, b.merchant_name,b.merchant_code,
c.nickname,c.user_id c.nickname,c.user_id,c.real_name
FROM apps_equipment_record a FROM apps_equipment_record a
LEFT JOIN shop_merchant b ON a.merchant_code = b.merchant_code LEFT JOIN shop_merchant b ON a.merchant_code = b.merchant_code
LEFT JOIN sys_user c ON a.user_id = c.user_id LEFT JOIN sys_user c ON a.user_id = c.user_id