|  |  | 
 |  |  |         DataDictionaryCustom cashDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( | 
 |  |  |                 DataDictionaryEnum.WIN_CASH.getType(), | 
 |  |  |                 DataDictionaryEnum.WIN_CASH.getCode()); | 
 |  |  |         String scoreDicValue = scoreDic.getValue(); | 
 |  |  |         String cashDicValue = cashDic.getValue(); | 
 |  |  |         String scoreDicValue = scoreDic.getValue() == null? "0":scoreDic.getValue(); | 
 |  |  |         String cashDicValue = cashDic.getValue() == null? "0":cashDic.getValue(); | 
 |  |  |         BigDecimal totalProbability = new BigDecimal(scoreDicValue).add(new BigDecimal(cashDicValue)); | 
 |  |  |         //获取那个更大一点的几率 | 
 |  |  |         BigDecimal maxProbability = BigDecimal.ZERO; |