|  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public static long getAgeByIdCard(String idCard){ | 
 |  |  |         int birthYear = Integer.parseInt(idCard.substring(6, 10)); | 
 |  |  |         int birthMonth = Integer.parseInt(idCard.substring(10, 12)); | 
 |  |  |         int birthDay = Integer.parseInt(idCard.substring(12, 14)); | 
 |  |  |         try{ | 
 |  |  |             LocalDate birthDate = LocalDate.of(birthYear, birthMonth, birthDay); | 
 |  |  |             LocalDate currentDate = LocalDate.now(); | 
 |  |  |             long age = ChronoUnit.YEARS.between(birthDate, currentDate); | 
 |  |  |             return age; | 
 |  |  |         try { | 
 |  |  |             int birthYear = Integer.parseInt(idCard.substring(6, 10)); | 
 |  |  |             int birthMonth = Integer.parseInt(idCard.substring(10, 12)); | 
 |  |  |             int birthDay = Integer.parseInt(idCard.substring(12, 14)); | 
 |  |  |             try{ | 
 |  |  |                 LocalDate birthDate = LocalDate.of(birthYear, birthMonth, birthDay); | 
 |  |  |                 LocalDate currentDate = LocalDate.now(); | 
 |  |  |                 long age = ChronoUnit.YEARS.between(birthDate, currentDate); | 
 |  |  |                 return age; | 
 |  |  |             }catch (Exception e){ | 
 |  |  |                 throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"身份证号码错误:"+idCard); | 
 |  |  |             } | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"身份证号码错误:"+idCard); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         } | 
 |  |  |         return 0; | 
 |  |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public  enum ApplyCollectStatus { | 
 |  |  |         DSP(0, "待审批"), | 
 |  |  |         DSP(0, "待审核"), | 
 |  |  |         DCD(1, "待出单"), | 
 |  |  |         BZZ(2, "保障中"), | 
 |  |  |         YGQ(3, "已过期"), | 
 |  |  | 
 |  |  |         WTBDCD(23, "待出单"), | 
 |  |  |         WTBYTH(24, "已退回"), | 
 |  |  |         WTBYGB(25, "已关闭"), | 
 |  |  |         WTBTBZ(26, "投保中"), | 
 |  |  |         //2024年4月25日15:17:13 修改 投保中 = 》 批改申请中 | 
 |  |  |         WTBTBZ(26, "批改申请中"), | 
 |  |  |         WTBBZZ(27, "保障中"), | 
 |  |  |         ; | 
 |  |  |         // 成员变量 | 
 |  |  | 
 |  |  |  | 
 |  |  |     public  enum NoticeType { | 
 |  |  |  | 
 |  |  |         ZERO(0, "待审批","","","待审核","待处理","处理中"), | 
 |  |  |         ZERO(0, "待审核","","","待审核","待处理","处理中"), | 
 |  |  |         ONE(1, "企业待签署","","","工种待审核","","已结案"), | 
 |  |  |         TWO(2, "待出单","待审批","待审批","","",""), | 
 |  |  |         TWO(2, "待出单","待审核","待审核","","",""), | 
 |  |  |         THREE(3, "申请退回","申请退回","申请退回","","",""), | 
 |  |  |         FOUR(4, "已退回","已退回","已退回","","","已撤销"), | 
 |  |  |         FIVE(5, "申请驳回","申请驳回","申请驳回","","",""), |