| | |
| | | public static final String TAXES_FILE = "TAXES_FILE"; |
| | | public static final String APPLY_FILE ="APPLY_FILE" ; |
| | | public static final String SETTLE_FILE ="SETTLE_FILE" ; |
| | | public static final String DU_FILE ="DU_FILE" ; |
| | | public static final String SIGN_DONE_NOTIFY_URL = "SIGN_DONE_NOTIFY_URL"; |
| | | |
| | | /** |
| | |
| | | Integer sex = 1; |
| | | if (matcher.matches()) { |
| | | int genderCode = Integer.parseInt(idCard.substring(16, 17)); // 从第17位开始提取性别编码(奇数为男性,偶数为女性) |
| | | |
| | | if ((genderCode % 2 == 1)) { |
| | | if ((genderCode % 2 == 1) ) { |
| | | sex = 1; |
| | | } else { |
| | | sex = 2; |
| | |
| | | } |
| | | return solutions.getPrice().multiply(new BigDecimal(cycle)); |
| | | } |
| | | |
| | | public static BigDecimal countDetailFee(int timeUnit ,BigDecimal price,Date startDate, Date endDate){ |
| | | //查询保险实际周期 |
| | | Integer cycle = DateUtil.calculateBetween(endDate,startDate,timeUnit); |