|
|
@ -261,6 +261,8 @@ public class M_Bf_daily_nutritionController extends AbstractControllerManager{
|
|
|
|
}else {
|
|
|
|
}else {
|
|
|
|
// 1. 프로필 사진 있을 경우 파일 처리 //
|
|
|
|
// 1. 프로필 사진 있을 경우 파일 처리 //
|
|
|
|
ArrayList<String> list_file_key = new ArrayList<String>();
|
|
|
|
ArrayList<String> list_file_key = new ArrayList<String>();
|
|
|
|
|
|
|
|
ArrayList<Integer> list_file_key_seq = new ArrayList<Integer>();
|
|
|
|
|
|
|
|
|
|
|
|
// 2. 병원 진료 사진 있을 경우 파일 처리
|
|
|
|
// 2. 병원 진료 사진 있을 경우 파일 처리
|
|
|
|
ArrayList<String> list_hosp_file_key = new ArrayList<String>();
|
|
|
|
ArrayList<String> list_hosp_file_key = new ArrayList<String>();
|
|
|
|
int[] arr_thumbnail_size = new int[]{300};
|
|
|
|
int[] arr_thumbnail_size = new int[]{300};
|
|
|
@ -276,6 +278,7 @@ public class M_Bf_daily_nutritionController extends AbstractControllerManager{
|
|
|
|
fileSeq = Integer.parseInt(key.replace("append_nutrition_file", ""));
|
|
|
|
fileSeq = Integer.parseInt(key.replace("append_nutrition_file", ""));
|
|
|
|
if(fileSeq == paramMap.getInt("repReordImg") )
|
|
|
|
if(fileSeq == paramMap.getInt("repReordImg") )
|
|
|
|
paramMap.put("append_src_img_file", fileMeta.getMt_file_seq());
|
|
|
|
paramMap.put("append_src_img_file", fileMeta.getMt_file_seq());
|
|
|
|
|
|
|
|
list_file_key_seq.add(fileSeq);
|
|
|
|
list_file_key.add(String.valueOf(fileMeta.getMt_file_seq()));
|
|
|
|
list_file_key.add(String.valueOf(fileMeta.getMt_file_seq()));
|
|
|
|
}else if(key.startsWith("append_hosp_img")) {
|
|
|
|
}else if(key.startsWith("append_hosp_img")) {
|
|
|
|
list_hosp_file_key.add(String.valueOf(fileMeta.getMt_file_seq()));
|
|
|
|
list_hosp_file_key.add(String.valueOf(fileMeta.getMt_file_seq()));
|
|
|
@ -283,6 +286,7 @@ public class M_Bf_daily_nutritionController extends AbstractControllerManager{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
paramMap.put("list_file_key", list_file_key);
|
|
|
|
paramMap.put("list_file_key", list_file_key);
|
|
|
|
|
|
|
|
paramMap.put("list_file_key_seq", list_file_key_seq);
|
|
|
|
paramMap.put("list_hosp_file_key", list_hosp_file_key);
|
|
|
|
paramMap.put("list_hosp_file_key", list_hosp_file_key);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|