| | |
| | | jsonValue = JsonUtils2.getJsonValueByPath(jsonObject, "data/reliabDistribType".split("/")); |
| | | if (jsonValue != null && StringUtils.isNotBlank(jsonValue.toString())) { |
| | | productImg.setReliabDistribType(Integer.valueOf(jsonValue.toString())); |
| | | if (3==productImg.getReliabDistribType()) { |
| | | // 二项分布 |
| | | jsonValue = JsonUtils2.getJsonValueByPath(jsonObject, "data/simulatTimes".split("/")); |
| | | if (jsonValue != null && StringUtils.isNotBlank(jsonValue.toString())) { |
| | | productImg.setBinomialTotalNum(Integer.valueOf(jsonValue.toString())); |
| | | modelNode.setBinomialTotalNum(Integer.valueOf(jsonValue.toString())); |
| | | } |
| | | jsonValue = JsonUtils2.getJsonValueByPath(jsonObject, "data/successTimes".split("/")); |
| | | if (jsonValue != null && StringUtils.isNotBlank(jsonValue.toString())) { |
| | | productImg.setBinomialSuccessNum(Integer.valueOf(jsonValue.toString())); |
| | | modelNode.setBinomialSuccessNum(Integer.valueOf(jsonValue.toString())); |
| | | } |
| | | } |
| | | } |
| | | jsonValue = JsonUtils2.getJsonValueByPath(jsonObject, "data/taskMtbcf".split("/")); |
| | | if (null != jsonValue) productImg.setTaskMtbcf(jsonValue.toString()); |