| | |
| | | wq.eq(TjRules::getProId, proId); |
| | | wq.lt(TjRules::getAgeLt, MatchUtils.getAgeByIdCard(byId.getCusIdcard())); |
| | | wq.gt(TjRules::getAgeGt, MatchUtils.getAgeByIdCard(byId.getCusIdcard())); |
| | | wq.in(TjRules::getSex, 0, byId.getCusSex()); |
| | | // wq.in(TjRules::getSex, 0, byId.getCusSex()); |
| | | final List<TjRules> list = tjRulesService.list(wq); |
| | | if (list==null){ |
| | | return AjaxResult.success(res); |
| | |
| | | |
| | | } |
| | | } |
| | | if (res!=null && res.size() > 0) { |
| | | if (!res.isEmpty()) { |
| | | //建议赋值 |
| | | for (TjRules re : res) { |
| | | LambdaQueryWrapper<TjRuleAdvice> wq1 = new LambdaQueryWrapper<>(); |