粉丝表添加父节点的信息
This commit is contained in:
@@ -52,6 +52,22 @@ public class LbFanManagement implements Serializable {
|
||||
@Schema(description = "手机号")
|
||||
private String mobile;
|
||||
|
||||
@TableField("p_name")
|
||||
@Schema(description = "父姓名")
|
||||
private String pName;
|
||||
|
||||
@TableField("pid")
|
||||
@Schema(description = "父ID")
|
||||
private Long pid;
|
||||
|
||||
@TableField("p_phone")
|
||||
@Schema(description = "父手机号")
|
||||
private String pPhone;
|
||||
|
||||
@TableField("token")
|
||||
@Schema(description = "登录 token")
|
||||
private String token;
|
||||
|
||||
@TableField("created_at")
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
@@ -387,6 +387,15 @@ public class LbFanManagementServiceImpl
|
||||
if (entity.getMobile() != null) {
|
||||
entity.setMobile(entity.getMobile().trim());
|
||||
}
|
||||
if (entity.getPName() != null) {
|
||||
entity.setPName(entity.getPName().trim());
|
||||
}
|
||||
if (entity.getPPhone() != null) {
|
||||
entity.setPPhone(entity.getPPhone().trim());
|
||||
}
|
||||
if (entity.getToken() != null) {
|
||||
entity.setToken(entity.getToken().trim());
|
||||
}
|
||||
}
|
||||
|
||||
private LocalDateTime parseDateTime(String text) {
|
||||
|
||||
Reference in New Issue
Block a user