feat(entity): 添加客户实体真实姓名字段
- 在CreditMpCustomer实体中新增realName属性 - 为realName字段添加Schema注解描述 - 在关联查询SQL中加入real_name字段映射 - 更新表字段映射配置支持新字段
This commit is contained in:
@@ -95,6 +95,10 @@ public class CreditMpCustomer implements Serializable {
|
||||
@TableField(exist = false)
|
||||
private String avatar;
|
||||
|
||||
@Schema(description = "真实姓名")
|
||||
@TableField(exist = false)
|
||||
private String realName;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*, u.nickname AS nickname, u.avatar AS avatar, u.phone AS phone
|
||||
SELECT a.*, u.nickname AS nickname, u.avatar AS avatar, u.phone AS phone, u.real_name AS realName
|
||||
FROM credit_mp_customer a
|
||||
LEFT JOIN gxwebsoft_core.sys_user u ON u.user_id = a.user_id
|
||||
<where>
|
||||
|
||||
Reference in New Issue
Block a user