|  |  |  | 
|---|
|  |  |  | .eq(CompanySolution::getCompanyId,user.getCompanyId()) | 
|---|
|  |  |  | .orderByAsc(Solutions::getSortnum) | 
|---|
|  |  |  | ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //        solutionsList.forEach(i->{ | 
|---|
|  |  |  | //            //保险时间单位 与 最小投保周期时间单位 规则相同 或者 最小投保周期时间单位 规则为 天时 默认金额 | 
|---|
|  |  |  | //            if(i.getTimeUnit().equals(i.getInsureCycleUnit())||i.getInsureCycleUnit().equals(Constants.ZERO)){ | 
|---|
|  |  |  | //                i.setCyclePrice(i.getPrice()); | 
|---|
|  |  |  | //            }else{ | 
|---|
|  |  |  | //                if(i.getInsureCycleUnit().equals(Constants.ONE)){ | 
|---|
|  |  |  | //                    //最小投保周期时间单位为半月 | 
|---|
|  |  |  | //                    i.setCyclePrice(i.getPrice().multiply(new BigDecimal(15))); | 
|---|
|  |  |  | //                }else if(i.getInsureCycleUnit().equals(Constants.TWO)){ | 
|---|
|  |  |  | //                    //最小投保周期时间单位为月 则计算当月多少天 | 
|---|
|  |  |  | //                    if( ){ | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //                    } | 
|---|
|  |  |  | //                } | 
|---|
|  |  |  | //            } | 
|---|
|  |  |  | //        }); | 
|---|
|  |  |  | return solutionsList; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|