|
@ -139,7 +139,7 @@ public class RehabilitationPlanController extends EnvelopRestEndpoint {
|
|
|
try {
|
|
|
JSONObject json = new JSONObject(rehabilitationPlan);
|
|
|
if(json.has("totalExpense")) {
|
|
|
json.put("totalExpense", DataUtils.doubleToInt(json.getDouble("totalExpense")));
|
|
|
json.put("totalExpense", json.getInt("totalExpense"));
|
|
|
}
|
|
|
JSONArray array = new JSONArray();
|
|
|
for(Object planDetail : json.getJSONArray("detail")) {
|