| | |
| | | map2.put("time", ToolUtil.isEmpty(num1) ? "其他时段" : num1 + "-" + num2); |
| | | map2.put("startingMileage", num4 + "-" + num5 + "公里"); |
| | | map2.put("startingPrice", num6 + "元"); |
| | | map2.put("exceedStartingPrice", num7 + "元/" + num8 + "公里"); |
| | | if(num6 == 0){ |
| | | JSONObject jsonObject2 = num3.getJSONObject(num3.size() - 1); |
| | | Double num3_1 = jsonObject2.getDouble("num3"); |
| | | map2.put("startingPrice", num3_1 + "元"); |
| | | } |
| | | map2.put("exceedStartingPrice", num7 + "公里/" + num8 + "元"); |
| | | longDistanceCharges.add(map2); |
| | | } |
| | | priceRulesWarpper.setBasePrice(JSON.toJSONString(basePrice)); |