@ -156,7 +156,8 @@
ID AS "userId",
NAME,
MOBILE,
age
age,
IC_RESI_USER
FROM
(
SELECT
@ -170,14 +171,16 @@
WHEN age >= 60 AND age <= 69 THEN '2'
WHEN age >= 70 AND age <= 79 THEN '3'
ELSE '4'
END AS ageGroup
END AS ageGroup,
ID,
YEAR (FROM_DAYS(DATEDIFF(NOW(),SUBSTRING( ID_CARD, 7, 8 )))) AS age
YEAR (FROM_DAYS(DATEDIFF(NOW(),SUBSTRING( ID_CARD, 7, 8 )))) AS age,
ic_party_member
WHERE
@ -202,7 +205,8 @@
CULTURE AS education
CULTURE AS education,
@ -16,4 +16,5 @@ public class PartyMemberAgeResultDTO implements Serializable {
private String name;
private String age;
private String mobile;
private String icResiUser;
}
@ -16,4 +16,5 @@ public class PartyMemberEducationResultDTO implements Serializable {
private String education;