|
@ -138,9 +138,6 @@ public class RehabilitationPlanController extends EnvelopRestEndpoint {
|
|
|
@RequestParam(value = "rehabilitationPlan", required = true)String rehabilitationPlan){
|
|
|
try {
|
|
|
JSONObject json = new JSONObject(rehabilitationPlan);
|
|
|
if(json.has("totalExpense")) {
|
|
|
json.put("totalExpense", json.getInt("totalExpense"));
|
|
|
}
|
|
|
JSONArray array = new JSONArray();
|
|
|
for(Object planDetail : json.getJSONArray("detail")) {
|
|
|
JSONObject j = (JSONObject)planDetail;
|