@ -23,4 +23,10 @@ public class LingShanSpecialCrowdListResultDTO {
@JsonFormat(pattern = "yyyy-MM-dd")
private Date updatedTime;
private Integer gender;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date birthday;
private Integer age;
}
@ -16,6 +16,9 @@
, s.CREATED_TIME
, s.UPDATED_TIME
, s.SPECIAL_RQLB SPECIAL_TYPES_STR
, r.GENDER
, r.BIRTHDAY
, year(now()) - year(r.BIRTHDAY) as age
from ic_resi_user r
inner join ic_special s on (r.ID = s.IC_RESI_USER and s.DEL_FLAG = 0)
where