2024-04-25 사용자 알림(체험교실 수정)
This commit is contained in:
parent
c7aff4e352
commit
68e3422948
@ -463,20 +463,34 @@ public class MyPageController {
|
||||
|
||||
|
||||
try {
|
||||
//세부과정 목록 조회
|
||||
String[] a_params = notifyManageInfo.getParams().split(",");
|
||||
|
||||
List<NotifyManageVO> notifyParamList = new ArrayList<NotifyManageVO>();
|
||||
|
||||
for (int i=0;i<a_params.length;i++) {
|
||||
if ("30".equals(notifyManageInfo.getLctrDivCd())){ //체험교실은 다른게 바로가기를 만든다.
|
||||
//eduAplctOrd:eduAplct_00000015581
|
||||
List<NotifyManageVO> notifyParamList = new ArrayList<NotifyManageVO>();
|
||||
NotifyManageVO tInfo = new NotifyManageVO();
|
||||
tInfo.setSiteNm(a_params[i].split(":")[0]);
|
||||
tInfo.setParams(a_params[i].split(":")[1]);
|
||||
tInfo.setSiteNm("eduAplctOrd");
|
||||
tInfo.setParams(notifyManageInfo.getEduAplctOrd());
|
||||
|
||||
notifyParamList.add(tInfo);
|
||||
notifyParamList.add(tInfo);
|
||||
|
||||
model.addAttribute("notifyParamList", notifyParamList);
|
||||
|
||||
}else{
|
||||
//세부과정 목록 조회
|
||||
String[] a_params = notifyManageInfo.getParams().split(",");
|
||||
|
||||
List<NotifyManageVO> notifyParamList = new ArrayList<NotifyManageVO>();
|
||||
|
||||
for (int i=0;i<a_params.length;i++) {
|
||||
NotifyManageVO tInfo = new NotifyManageVO();
|
||||
tInfo.setSiteNm(a_params[i].split(":")[0]);
|
||||
tInfo.setParams(a_params[i].split(":")[1]);
|
||||
|
||||
notifyParamList.add(tInfo);
|
||||
}
|
||||
|
||||
model.addAttribute("notifyParamList", notifyParamList);
|
||||
}
|
||||
|
||||
model.addAttribute("notifyParamList", notifyParamList);
|
||||
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user