|
|
|
@@ -654,9 +654,10 @@ public class WxCUserTagsServiceImpl implements WxCUserTagsService { |
|
|
|
for (WxCUserBasicChild child:list) { |
|
|
|
if(child.getBirthdate() != null){ |
|
|
|
Calendar cal = Calendar.getInstance(); |
|
|
|
logger.info("--------"+child.getBirthdate()); |
|
|
|
if (cal.after(child.getBirthdate())) { |
|
|
|
int age = DateUtils.getAge(child.getBirthdate()); |
|
|
|
logger.info("--------"+age); |
|
|
|
logger.info("--------"+child.getBirthdate()); |
|
|
|
if(age < 1){ |
|
|
|
if(!tags.contains(EnumTag.ID_166)){ |
|
|
|
tags.add(EnumTag.ID_166); |
|
|
|
|