2024-03-04 16:23 체험교실 알림 링크 수정
This commit is contained in:
parent
c6a1a7dda3
commit
c7aff4e352
@ -171,20 +171,36 @@ public class EgovMainController {
|
||||
|
||||
|
||||
try {
|
||||
//세부과정 목록 조회
|
||||
String[] a_params = result.getParams().split(",");
|
||||
|
||||
List<NotifyManageVO> notifyParamList = new ArrayList<NotifyManageVO>();
|
||||
|
||||
for (int i=0;i<a_params.length;i++) {
|
||||
if ("30".equals(result.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(result.getEduAplctOrd());
|
||||
|
||||
notifyParamList.add(tInfo);
|
||||
}
|
||||
|
||||
model.addAttribute("notifyParamList", notifyParamList);
|
||||
notifyParamList.add(tInfo);
|
||||
|
||||
model.addAttribute("notifyParamList", notifyParamList);
|
||||
|
||||
}else{
|
||||
//세부과정 목록 조회
|
||||
String[] a_params = result.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);
|
||||
}//eduAplctOrd:eduAplct_00000015581
|
||||
|
||||
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user