2023-12-20 18:16 강사활동확인서 문서번호 수정

This commit is contained in:
myname 2023-12-20 18:17:22 +09:00
parent 02be7a4723
commit 9245fd93e9
12 changed files with 1333 additions and 903 deletions

View File

@ -69,7 +69,14 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
public String instrDetailOrd = "";//강사 고유PK public String instrDetailOrd = "";//강사 고유PK
//강의활동확인서 컬럼 추가
private String sex = ""; //성별
private String purpose = ""; //용도
private String bsnsNmbr = ""; //사업자등록번호
private String bsnsNm = ""; //사업자명
private String docuNmbr = ""; //문서번호
public String getFileType() { public String getFileType() {
return fileType; return fileType;
} }
@ -190,6 +197,46 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
this.instrDetailOrd = instrDetailOrd; this.instrDetailOrd = instrDetailOrd;
} }
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getPurpose() {
return purpose;
}
public void setPurpose(String purpose) {
this.purpose = purpose;
}
public String getBsnsNm() {
return bsnsNm;
}
public void setBsnsNm(String bsnsNm) {
this.bsnsNm = bsnsNm;
}
public String getBsnsNmbr() {
return bsnsNmbr;
}
public void setBsnsNmbr(String bsnsNmbr) {
this.bsnsNmbr = bsnsNmbr;
}
public String getDocuNmbr() {
return docuNmbr;
}
public void setDocuNmbr(String docuNmbr) {
this.docuNmbr = docuNmbr;
}

View File

@ -545,6 +545,14 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
vEInstrActvtHstryVO.setFrstRegisterId(adrInnorixFileVO.getUniqId()); vEInstrActvtHstryVO.setFrstRegisterId(adrInnorixFileVO.getUniqId());
vEInstrActvtHstryVO.setLastUpdusrId(adrInnorixFileVO.getUniqId()); vEInstrActvtHstryVO.setLastUpdusrId(adrInnorixFileVO.getUniqId());
vEInstrActvtHstryVO.setSex(adrInnorixFileVO.getSex());
vEInstrActvtHstryVO.setPurpose(adrInnorixFileVO.getPurpose());
vEInstrActvtHstryVO.setBsnsNmbr(adrInnorixFileVO.getBsnsNmbr());
vEInstrActvtHstryVO.setBsnsNm(adrInnorixFileVO.getBsnsNm());
vEInstrActvtHstryVO.setDocuNmbr(adrInnorixFileVO.getDocuNmbr());
vEInstrDetailActvtHstryDAO.insert(vEInstrActvtHstryVO); vEInstrDetailActvtHstryDAO.insert(vEInstrActvtHstryVO);
} catch (Exception e) { } catch (Exception e) {

View File

@ -47,6 +47,16 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa
private String selectPagingListQuery; private String selectPagingListQuery;
private String userId; private String userId;
//강의활동확인서 컬럼 추가
private String sex = ""; //성별
private String purpose = ""; //용도
private String bsnsNmbr = ""; //사업자등록번호
private String bsnsNm = ""; //사업자명
private String docuNmbr = ""; //문서번호
private String docuNmbrDp = ""; //문서번호-표시용
public String getInstrDetailActvtHstryOrd() { public String getInstrDetailActvtHstryOrd() {
return instrDetailActvtHstryOrd; return instrDetailActvtHstryOrd;
@ -162,6 +172,42 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa
public void setUserId(String userId) { public void setUserId(String userId) {
this.userId = userId; this.userId = userId;
} }
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getPurpose() {
return purpose;
}
public void setPurpose(String purpose) {
this.purpose = purpose;
}
public String getBsnsNmbr() {
return bsnsNmbr;
}
public void setBsnsNmbr(String bsnsNmbr) {
this.bsnsNmbr = bsnsNmbr;
}
public String getBsnsNm() {
return bsnsNm;
}
public void setBsnsNm(String bsnsNm) {
this.bsnsNm = bsnsNm;
}
public String getDocuNmbr() {
return docuNmbr;
}
public void setDocuNmbr(String docuNmbr) {
this.docuNmbr = docuNmbr;
}
public String getDocuNmbrDp() {
return docuNmbrDp;
}
public void setDocuNmbrDp(String docuNmbrDp) {
this.docuNmbrDp = docuNmbrDp;
}

View File

@ -1,289 +1,287 @@
package kcc.ve.oprtn.adultVisitEdu.instrActvtHstryMng; package kcc.ve.oprtn.adultVisitEdu.instrActvtHstryMng;
import java.util.List; import java.util.List;
import java.util.Properties; import java.util.Properties;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger;
import org.slf4j.Logger; import org.slf4j.LoggerFactory;
import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap;
import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.ModelAndView;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import kcc.com.cmm.LoginVO;
import kcc.com.cmm.LoginVO; import kcc.com.cmm.service.EgovCmmUseService;
import kcc.com.cmm.service.EgovCmmUseService; import kcc.com.cmm.service.EgovFileMngService;
import kcc.com.cmm.service.EgovFileMngService; import kcc.com.cmm.service.EgovFileMngUtil;
import kcc.com.cmm.service.EgovFileMngUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.ve.cmm.VeConstants;
import kcc.ve.cmm.VeConstants; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO; /**
* 교육일정관리(관리자-청소년찾아가는저작권교육)
/** * 교육일정관리에 관한 controller 클래스를 정의한다.
* 교육일정관리(관리자-청소년찾아가는저작권교육) * @author 조용준
* 교육일정관리에 관한 controller 클래스를 정의한다. * @since 2021.12.16
* @author 조용준 * @version 1.0
* @since 2021.12.16 * @see
* @version 1.0 *
* @see * <pre>
* * << 개정이력(Modification Information) >>
* <pre> *
* << 개정이력(Modification Information) >> * 수정일 수정자 수정내용
* * ------- -------- ---------------------------
* 수정일 수정자 수정내용 * 2021.12.16 조용준 최초 생성
* ------- -------- --------------------------- *
* 2021.12.16 조용준 최초 생성 * </pre>
* */
* </pre>
*/ @Controller
public class InstrActvtHstryAdultMngController {
@Controller
public class InstrActvtHstryAdultMngController { private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryAdultMngController.class);
private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryAdultMngController.class); //로그인 체크 util
@Resource(name = "checkLoginUtil")
//로그인 체크 util private CheckLoginUtil checkLoginUtil;
@Resource(name = "checkLoginUtil")
private CheckLoginUtil checkLoginUtil; // eGov 공통코드
@Resource(name = "EgovCmmUseService")
// eGov 공통코드 private EgovCmmUseService cmmUseService;
@Resource(name = "EgovCmmUseService")
private EgovCmmUseService cmmUseService; @Resource(name = "EgovFileMngService")
private EgovFileMngService fileService;
@Resource(name = "EgovFileMngService")
private EgovFileMngService fileService; // global 프로퍼티
@Resource(name="globalSettings")
// global 프로퍼티 protected Properties propertiesService;
@Resource(name="globalSettings")
protected Properties propertiesService; //첨부파일 경로, realPath 설정
@Resource(name="EgovFileMngUtil")
//첨부파일 경로, realPath 설정 private EgovFileMngUtil fileUtil;
@Resource(name="EgovFileMngUtil")
private EgovFileMngUtil fileUtil; // 첨부파일 정보
@Resource(name="EgovFileMngService")
// 첨부파일 정보 private EgovFileMngService fileMngService;
@Resource(name="EgovFileMngService")
private EgovFileMngService fileMngService; // 첨부파일 정보
@Resource(name="vEInstrDetailActvtHstryService")
// 첨부파일 정보 private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService;
@Resource(name="vEInstrDetailActvtHstryService")
private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService; //암복호화 유틸
@Resource(name = "egovCryptoUtil")
//암복호화 유틸 EgovCryptoUtil egovCryptoUtil;
@Resource(name = "egovCryptoUtil")
EgovCryptoUtil egovCryptoUtil;
/**
* 강사활동확인서신청관리 목록
/** */
* 강사활동확인서신청관리 목록 @RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do")
*/ public String instrActvtHstryMngList(
@RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do") @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
public String instrActvtHstryMngList( , ModelMap model
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO , HttpServletRequest request
, ModelMap model ) throws Exception {
, HttpServletRequest request
) throws Exception { //로그인 처리====================================
//로그인 정보 가져오기
//로그인 처리==================================== LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
//로그인 정보 가져오기 SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 // if (loginVO == null || ssoLoginVO == null) {
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
// if (loginVO == null || ssoLoginVO == null) { // }
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. //로그인 처리====================================
// } vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //성인
//로그인 처리====================================
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //성인 //1.pageing step1
PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO);
//1.pageing step1 //2. pageing step2
PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO); vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo);
//2. pageing step2 vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo); List<VEInstrDetailActvtHstryVO> vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO);
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
List<VEInstrDetailActvtHstryVO> vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO); vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm())));
vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm()))); //3.pageing step3
paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo);
//3.pageing step3 model.addAttribute("paginationInfo", paginationInfo);
paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo);
model.addAttribute("paginationInfo", paginationInfo); // 검색어 복호화
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
// 검색어 복호화 //대상 리스트, 페이징 정보 전달
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword())); model.addAttribute("list", vEInstrDetailActvtHstryVOList);
//대상 리스트, 페이징 정보 전달
model.addAttribute("list", vEInstrDetailActvtHstryVOList);
return "oprtn/adultVisitEdu/instrActvtHstryMngList";
}
return "oprtn/adultVisitEdu/instrActvtHstryMngList";
}
/**
* 강사활동확인서신청관리 상세
/** */
* 강사활동확인서신청관리 상세 @RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do")
*/ public String instrActvtHstryMngDetail(
@RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do") @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
public String instrActvtHstryMngDetail( , ModelMap model
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO , HttpServletRequest request
, ModelMap model ) throws Exception {
, HttpServletRequest request
) throws Exception { //로그인 처리====================================
//로그인 정보 가져오기
//로그인 처리==================================== // String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
//로그인 정보 가져오기 // if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo;
// String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
// if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo; //로그인 처리====================================
//로그인 정보 가져오기
//로그인 처리==================================== LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
//로그인 정보 가져오기 SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 // if (loginVO == null || ssoLoginVO == null) {
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
// if (loginVO == null || ssoLoginVO == null) { // }
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년
// }
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년 VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO); vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm()));
vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone()));
vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm()));
vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone())); //대상 리스트, 페이징 정보 전달
model.addAttribute("info", vEInstrActvtHstryVO);
//대상 리스트, 페이징 정보 전달
model.addAttribute("info", vEInstrActvtHstryVO);
return "oprtn/adultVisitEdu/instrActvtHstryMngDetail";
}
return "oprtn/adultVisitEdu/instrActvtHstryMngDetail";
} /**
* 강사활동확인서신청관리 상세
/** */
* 강사활동확인서신청관리 상세 @RequestMapping("/kccadr/oprtn/adultVisitEdu/popup/instrCnclPopup.do")
*/ public String instrCnclPopup(
@RequestMapping("/kccadr/oprtn/adultVisitEdu/popup/instrCnclPopup.do") @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
public String instrCnclPopup( , ModelMap model
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO , HttpServletRequest request
, ModelMap model ) throws Exception {
, HttpServletRequest request
) throws Exception { //로그인 처리====================================
//로그인 정보 가져오기
//로그인 처리==================================== LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
//로그인 정보 가져오기 SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 // if (loginVO == null || ssoLoginVO == null) {
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
// if (loginVO == null || ssoLoginVO == null) { // }
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다. //대상 리스트, 페이징 정보 전달
// } model.addAttribute("info", vEInstrDetailActvtHstryVO);
//대상 리스트, 페이징 정보 전달
model.addAttribute("info", vEInstrDetailActvtHstryVO);
return "oprtn/adultVisitEdu/popup/instrCnclPopup";
}
return "oprtn/adultVisitEdu/popup/instrCnclPopup";
}
@RequestMapping("/kccadr/oprtn/adultVisitEdu/updateStateCd.do")
public ModelAndView updateStateCd(
@RequestMapping("/kccadr/oprtn/adultVisitEdu/updateStateCd.do") @ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
public ModelAndView updateStateCd( , ModelMap model
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO //, RedirectAttributes redirectAttributes
, ModelMap model , HttpServletRequest request
//, RedirectAttributes redirectAttributes ) throws Exception {
, HttpServletRequest request
) throws Exception { ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView");
ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("jsonView"); //로그인 처리====================================
//로그인 정보 가져오기
//로그인 처리====================================
//로그인 정보 가져오기 String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
if (!"".equals(s_oprtnLoginCheckNInfo)) {
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model); modelAndView.addObject("result", "loginFail");
if (!"".equals(s_oprtnLoginCheckNInfo)) { return modelAndView;
modelAndView.addObject("result", "loginFail"); }
return modelAndView;
} //로그인 처리====================================
//로그인 처리====================================
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO); modelAndView.addObject("result", "success");
modelAndView.addObject("result", "success"); return modelAndView;
return modelAndView; }
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////// //
// // private function
// //
// private function //
//
// //페이징을 위한 처리 step1 - 페이징 기본 정보 설정
private PaginationInfo setPagingStep1(
//페이징을 위한 처리 step1 - 페이징 기본 정보 설정 VEInstrDetailActvtHstryVO p_vEEduAplctVO
private PaginationInfo setPagingStep1( )throws Exception{
VEInstrDetailActvtHstryVO p_vEEduAplctVO // pageing step1
)throws Exception{ PaginationInfo paginationInfo = new PaginationInfo();
// pageing step1 paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex());
PaginationInfo paginationInfo = new PaginationInfo(); paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex()); paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize());
paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize()); return paginationInfo;
}
return paginationInfo;
}
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 검색 조건 초기화
private VEInstrDetailActvtHstryVO setPagingStep2(
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 검색 조건 초기화 VEInstrDetailActvtHstryVO p_vEEduAplctVO
private VEInstrDetailActvtHstryVO setPagingStep2( , PaginationInfo p_paginationInfo
VEInstrDetailActvtHstryVO p_vEEduAplctVO )throws Exception{
, PaginationInfo p_paginationInfo // pageing step2
)throws Exception{ p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex());
// pageing step2 p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex()); p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage());
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage()); if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List p_vEEduAplctVO.setSearchSortOrd("desc");
p_vEEduAplctVO.setSearchSortCnd("prcs_ord"); }
p_vEEduAplctVO.setSearchSortOrd("desc");
} return p_vEEduAplctVO;
}
return p_vEEduAplctVO;
}
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기
private PaginationInfo setPagingStep3(
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기 List<VEInstrDetailActvtHstryVO> p_vEEduAplctVOList
private PaginationInfo setPagingStep3(
List<VEInstrDetailActvtHstryVO> p_vEEduAplctVOList , PaginationInfo p_paginationInfo
)throws Exception{
, PaginationInfo p_paginationInfo // pageing step3
)throws Exception{ int totCnt = 0;
// pageing step3 if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
int totCnt = 0; p_paginationInfo.setTotalRecordCount(totCnt);
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
p_paginationInfo.setTotalRecordCount(totCnt); return p_paginationInfo;
}
return p_paginationInfo; }
}
}

View File

@ -1,151 +1,189 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> <!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<!-- 찾교 강사, 강사상세 테이블 --> <!-- 찾교 강사, 강사상세 테이블 -->
<sqlMap namespace="VEInstrDetailApptHchkHstry"> <sqlMap namespace="VEInstrDetailApptHchkHstry">
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/> <typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
<typeAlias alias="VEInstrDetailActvtHstryVO" type="kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO"/> <typeAlias alias="VEInstrDetailActvtHstryVO" type="kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO"/>
<!-- 공통 테이블 명 --> <!-- 공통 테이블 명 -->
<sql id="VEInstrDetailActvtHstryDAO.table_name"> <sql id="VEInstrDetailActvtHstryDAO.table_name">
ve_instr_detail_actvt_hstry ve_instr_detail_actvt_hstry
</sql> </sql>
<!-- 저장용 공통 컬럼 명 --> <!-- 저장용 공통 컬럼 명 -->
<sql id="VEInstrDetailActvtHstryDAO.column_name"> <sql id="VEInstrDetailActvtHstryDAO.column_name">
instr_detail_actvt_hstry_ord instr_detail_actvt_hstry_ord
, user_id , user_id
, instr_detail_ord , instr_detail_ord
, aplct_pnttm , aplct_pnttm
, state_cd , state_cd
, state_pnttm , state_pnttm
, aplct_atch_file_id , aplct_atch_file_id
, cmpnn_cn , cmpnn_cn
, frst_regist_pnttm , frst_regist_pnttm
, frst_register_id , frst_register_id
, last_updt_pnttm , last_updt_pnttm
, last_updusr_id , last_updusr_id
</sql> , docu_nmbr
, sex
<!-- 조회용 공통 컬럼 명 --> , purpose
<sql id="VEInstrDetailActvtHstryDAO.select_column_name"> , bsns_nmbr
a.instr_detail_actvt_hstry_ord as instrDetailActvtHstryOrd , bsns_nm
, a.user_id as userId
, a.instr_detail_ord as instrDetailOrd </sql>
, TO_CHAR(a.aplct_pnttm,'YYYY-MM-DD') AS aplctPnttm
, a.state_cd as stateCd <!-- 조회용 공통 컬럼 명 -->
, TO_CHAR(a.state_pnttm,'YYYY-MM-DD') AS statePnttm <sql id="VEInstrDetailActvtHstryDAO.select_column_name">
, a.aplct_atch_file_id as aplctAtchFileId a.instr_detail_actvt_hstry_ord as instrDetailActvtHstryOrd
, a.cmpnn_cn as cmpnnCn , a.user_id as userId
, TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm , a.instr_detail_ord as instrDetailOrd
, a.frst_register_id as frstRegisterId , TO_CHAR(a.aplct_pnttm,'YYYY-MM-DD') AS aplctPnttm
, TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS frstRegistPnttm , a.state_cd as stateCd
, a.last_updusr_id as lastUpdusrId , TO_CHAR(a.state_pnttm,'YYYY-MM-DD') AS statePnttm
</sql> , a.aplct_atch_file_id as aplctAtchFileId
, a.cmpnn_cn as cmpnnCn
<insert id="VEInstrDetailActvtHstryDAO.insert" parameterClass="VEInstrDetailActvtHstryVO"> , TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm
/* VEInstrDetailActvtHstryDAO.insert */ , a.frst_register_id as frstRegisterId
INSERT INTO <include refid="VEInstrDetailActvtHstryDAO.table_name"/> ( , TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS frstRegistPnttm
<include refid="VEInstrDetailActvtHstryDAO.column_name"/> , a.last_updusr_id as lastUpdusrId
)VALUES(
#instrDetailActvtHstryOrd# , a.docu_nmbr AS docuNmbr
, #userId# , a.sex
, #instrDetailOrd# , a.purpose
, SYSDATE , a.bsns_nmbr AS bsnsNmbr
, #stateCd# , a.bsns_nm AS bsnsNm
, SYSDATE </sql>
, #aplctAtchFileId#
, #cmpnnCn# <insert id="VEInstrDetailActvtHstryDAO.insert" parameterClass="VEInstrDetailActvtHstryVO">
, SYSDATE /* VEInstrDetailActvtHstryDAO.insert */
, #frstRegisterId# INSERT INTO <include refid="VEInstrDetailActvtHstryDAO.table_name"/> (
, '' <include refid="VEInstrDetailActvtHstryDAO.column_name"/>
, #lastUpdusrId# )VALUES(
) #instrDetailActvtHstryOrd#
</insert> , #userId#
, #instrDetailOrd#
<select id="VEInstrDetailActvtHstryDAO.selectList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO"> , SYSDATE
/* VEInstrDetailActvtHstryDAO.selectList */ , #stateCd#
SELECT , SYSDATE
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/> , #aplctAtchFileId#
FROM , #cmpnnCn#
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a , SYSDATE
WHERE , #frstRegisterId#
user_id = #userId# , ''
, #lastUpdusrId#
</select>
, #docuNmbr#
<select id="VEInstrDetailActvtHstryDAO.selectPagingList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO"> , #sex#
/* VEInstrDetailActvtHstryDAO.selectPagingList */ , #purpose#
SELECT , #bsnsNmbr#
COUNT(1) OVER() AS totCnt , , #bsnsNm#
b.INSTR_NM AS instrNm , )
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/> </insert>
FROM
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a <select id="VEInstrDetailActvtHstryDAO.selectList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
JOIN ve_instr_detail b /* VEInstrDetailActvtHstryDAO.selectList */
ON a.user_id = b.user_id SELECT
AND a.instr_detail_ord = b.instr_detail_ord <include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
AND b.INSTR_DIV = #instrDiv# FROM
WHERE <include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
1=1 WHERE
<isNotEmpty prepend="AND" property="searchKeyword"> user_id = #userId#
b.INSTR_NM = #searchKeyword#
</isNotEmpty> </select>
<isNotEmpty prepend="AND" property="searchSelStatus">
a.state_cd = #searchSelStatus# <select id="VEInstrDetailActvtHstryDAO.selectPagingList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
</isNotEmpty> /* VEInstrDetailActvtHstryDAO.selectPagingList */
SELECT
<isNotEmpty prepend="AND" property="searchStartDt"> COUNT(1) OVER() AS totCnt ,
TO_CHAR(a.aplct_pnttm,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '.' , '') TO_CHAR(a.state_pnttm, 'YYYY') ||'-'||a.docu_nmbr||'호' AS docuNmbrDp ,
</isNotEmpty> b.INSTR_NM AS instrNm ,
<isNotEmpty prepend="AND" property="searchEndDt"> <include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
TO_CHAR(a.aplct_pnttm,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '.' , '') FROM
</isNotEmpty> <include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
JOIN ve_instr_detail b
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY; ON a.user_id = b.user_id
AND a.instr_detail_ord = b.instr_detail_ord
</select> AND b.INSTR_DIV = #instrDiv#
WHERE
<select id="VEInstrDetailActvtHstryDAO.findById" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO"> 1=1
/*VEInstrDetailActvtHstryDAO.findById */ <isNotEmpty prepend="AND" property="searchKeyword">
SELECT b.INSTR_NM = #searchKeyword#
b.user_id AS userId , </isNotEmpty>
b.instr_nm as instrNm , <isNotEmpty prepend="AND" property="searchSelStatus">
b.phone , a.state_cd = #searchSelStatus#
b.post , </isNotEmpty>
b.addr ,
b.addr_detail as addrDetail , <isNotEmpty prepend="AND" property="searchStartDt">
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/> TO_CHAR(a.aplct_pnttm,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '.' , '')
FROM </isNotEmpty>
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a <isNotEmpty prepend="AND" property="searchEndDt">
JOIN ve_instr_detail b TO_CHAR(a.aplct_pnttm,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '.' , '')
ON a.user_id = b.user_id </isNotEmpty>
AND a.instr_detail_ord = b.instr_detail_ord
WHERE OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
a.instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd#
</select>
<select id="VEInstrDetailActvtHstryDAO.findById" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
</select> /*VEInstrDetailActvtHstryDAO.findById */
<update id="VEInstrDetailActvtHstryDAO.updateStateCd" parameterClass="VEInstrDetailActvtHstryVO"> SELECT
UPDATE TO_CHAR(a.state_pnttm, 'YYYY') ||'-'||a.docu_nmbr||'호' AS docuNmbrDp ,
<include refid="VEInstrDetailActvtHstryDAO.table_name" /> b.user_id AS userId ,
SET b.instr_nm as instrNm ,
state_cd = #stateCd# b.phone ,
<isNotEmpty property="cmpnnCn"> b.post ,
, cmpnn_cn = #cmpnnCn# b.addr ,
</isNotEmpty> b.addr_detail as addrDetail ,
, state_pnttm = SYSDATE <include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
, LAST_UPDT_PNTTM = SYSDATE
, LAST_UPDUSR_ID = #lastUpdusrId#
WHERE FROM
instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd# <include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
JOIN ve_instr_detail b
</update> ON a.user_id = b.user_id
AND a.instr_detail_ord = b.instr_detail_ord
WHERE
a.instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd#
</sqlMap>
</select>
<update id="VEInstrDetailActvtHstryDAO.updateStateCd" parameterClass="VEInstrDetailActvtHstryVO">
UPDATE
<include refid="VEInstrDetailActvtHstryDAO.table_name" />
SET
state_cd = #stateCd#
<isEqual property="stateCd" compareValue="30">
, docu_nmbr = NVL(
(
SELECT nvl(max(docu_nmbr),0) AS docuNmbr
FROM ve_instr_detail_actvt_hstry a
WHERE state_cd='30'
AND to_char(a.state_pnttm,'YYYY')=(
SELECT to_char(sysdate,'YYYY')
FROM dual
)
GROUP BY to_char(a.state_pnttm,'YYYY')
),0
)+1
</isEqual>
<isNotEmpty property="cmpnnCn">
, cmpnn_cn = #cmpnnCn#
</isNotEmpty>
, state_pnttm = SYSDATE
, LAST_UPDT_PNTTM = SYSDATE
, LAST_UPDUSR_ID = #lastUpdusrId#
WHERE
instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd#
</update>
</sqlMap>

View File

@ -89,6 +89,11 @@
</head> </head>
<body> <body>
<form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${vEInstrActvtHstryVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrActvtHstryVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrActvtHstryVO.searchSortOrd}" />" />
</form>
<form id="updateForm" name="updateForm"> <form id="updateForm" name="updateForm">
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value="${info.instrDetailActvtHstryOrd }"/> <input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value="${info.instrDetailActvtHstryOrd }"/>
<input type="hidden" name="stateCd" id="stateCd" value=""/> <input type="hidden" name="stateCd" id="stateCd" value=""/>
@ -144,6 +149,7 @@
<th scope="row">상태</th> <th scope="row">상태</th>
<td> <td>
<ve:code codeId="VEA011" code="${info.stateCd}"/> <ve:code codeId="VEA011" code="${info.stateCd}"/>
(${info.stateCd})
</td> </td>
</tr> </tr>
<c:if test="${info.stateCd eq 20 }"> <c:if test="${info.stateCd eq 20 }">
@ -166,6 +172,43 @@
(<c:out value='${info.post }' />) (<c:out value='${info.post }' />)
<c:out value='${info.addr}'/> <c:out value='${info.addrDetail}'/> <c:out value='${info.addr}'/> <c:out value='${info.addrDetail}'/>
</td> </td>
</tr>
<tr>
<th scope="row">문서번호</th>
<td>
<c:choose>
<c:when test="${info.docuNmbr ne '' and not empty info.docuNmbr}">
<c:out value="${info.docuNmbrDp }" />
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
<th scope="row">성별</th>
<td>
<c:out value='${info.sex }' />
</td>
</tr>
<tr>
<th scope="row">용도</th>
<td>
<c:out value='${info.purpose }' />
</td>
</tr>
<tr>
<th scope="row">사업자명</th>
<td>
<c:out value='${info.bsnsNm }' />
</td>
</tr>
<tr>
<th scope="row">사업자등록번호</th>
<td>
<c:out value='${info.bsnsNmbr }' />
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -181,8 +224,11 @@
<div class="btn_center"> <div class="btn_center">
</div> </div>
<div class="btn_right"> <div class="btn_right">
<button type="button" class="btn_type05" onclick="fnCnclPopup()">반려</button> <c:if test="${info.stateCd eq 10}">
<button type="button" class="btn_type04" onclick="fn_updateCnclUpdate('30');"; return false;">승인</button> <button type="button" class="btn_type05" onclick="fnCnclPopup()">반려</button>
<button type="button" class="btn_type04" onclick="fn_updateCnclUpdate('30');"; return false;">승인</button>
</c:if>
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button> <button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button>
</div> </div>
</div> </div>

View File

@ -1,225 +1,258 @@
<!DOCTYPE html> <!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> <%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> <%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %> <%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" /> <un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
<% <%
/** /**
* @Class Name : eduInstrFeeMngList.jsp * @Class Name : eduInstrFeeMngList.jsp
* @Description : 강사료 확정 관리 > 강사료 확정 목록 * @Description : 강사료 확정 관리 > 강사료 확정 목록
* @Modification Information * @Modification Information
* @ * @
* @ 수정일 수정자 수정내용 * @ 수정일 수정자 수정내용
* @ ------- -------- --------------------------- * @ ------- -------- ---------------------------
* @ 2022.12.7 안주영 최초 생성 * @ 2022.12.7 안주영 최초 생성
* @author 안주영 * @author 안주영
* @since 2022.2.7 * @since 2022.2.7
* @version 1.0 * @version 1.0
* @see * @see
* *
*/ */
%> %>
<html lang="ko"> <html lang="ko">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style> <style>
input:read-only{ input:read-only{
background-color: #ededed; background-color: #ededed;
} }
</style> </style>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
}); });
function press(event) { function press(event) {
if (event.keyCode==13) { if (event.keyCode==13) {
fncGoList(); fncGoList();
} }
} }
function fncGoList(){ function fncGoList(){
linkPage(1); linkPage(1);
} }
function linkPage(pageNo){ function linkPage(pageNo){
var listForm = document.listForm ; var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ; listForm.pageIndex.value = pageNo ;
listForm.searchCondition.value = $('#searchCondition').val(); listForm.searchCondition.value = $('#searchCondition').val();
listForm.searchKeyword.value = $('#searchKeyword').val(); listForm.searchKeyword.value = $('#searchKeyword').val();
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do'/>"; listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do'/>";
listForm.submit(); listForm.submit();
} }
function fn_goDetail(instrDetailActvtHstryOrd){ function fn_goDetail(instrDetailActvtHstryOrd){
var form = document.detailForm; var form = document.detailForm;
form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ; form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ;
form.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do'/>"; form.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do'/>";
form.submit(); form.submit();
} }
</script> </script>
<title>강사활동확인서신청관리</title> <title>강사활동확인서신청관리</title>
</head> </head>
<body> <body>
<form id="detailForm" name="detailForm" method="post"> <form id="detailForm" name="detailForm" method="post">
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/> <input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/>
</form> </form>
<form id="listForm" name="listForm" method="post"> <form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${vEInstrActvtHstryVO.pageIndex}' default='1' />"/> <input type="hidden" name="pageIndex" value="<c:out value='${vEInstrActvtHstryVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrActvtHstryVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrActvtHstryVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrActvtHstryVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrActvtHstryVO.searchSortOrd}" />" />
<div class="cont_wrap"> <div class="cont_wrap">
<div class="box"> <div class="box">
<!-- cont_tit --> <!-- cont_tit -->
<div class="cont_tit"> <div class="cont_tit">
<h2>강사활동확인서신청관리 목록</h2> <h2>강사활동확인서신청관리 목록</h2>
<ul class="cont_nav"> <ul class="cont_nav">
<li class="home"><a href="/"><i></i></a></li> <li class="home"><a href="/"><i></i></a></li>
<li> <li>
<p>성인 찾아가는 저작권 교육</p> <p>성인 찾아가는 저작권 교육</p>
</li> </li>
<li><span class="cur_nav">강사활동확인서신청관리</span></li> <li><span class="cur_nav">강사활동확인서신청관리</span></li>
</ul> </ul>
</div> </div>
<!-- //cont_tit --> <!-- //cont_tit -->
<div class="cont"> <div class="cont">
<!-- list_top --> <!-- list_top -->
<div class="list_top"> <div class="list_top">
<div class="list_top_1"> <div class="list_top_1">
<div class="util_left"> <div class="util_left">
<p>구분</p> <p>구분</p>
</div> </div>
<div class="util_right"> <div class="util_right">
<ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'" <ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'"
selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue='' selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue=''
defaultText='전체' defaultText='전체'
/> />
</div> </div>
</div> </div>
<div class="list_top_2"> <div class="list_top_2">
<div class="util_left"> <div class="util_left">
<p>신청일자</p> <p>신청일자</p>
</div> </div>
<div class="util_right"> <div class="util_right">
<div class="calendar_wrap"> <div class="calendar_wrap">
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>"> <input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>">
</div> </div>
~ ~
<div class="calendar_wrap"> <div class="calendar_wrap">
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>"> <input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>">
</div> </div>
</div> </div>
</div> </div>
<div class="list_top_2"> <div class="list_top_2">
<div class="util_left"> <div class="util_left">
<p>강사명</p> <p>강사명</p>
</div> </div>
<div class="util_right"> <div class="util_right">
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${vEInstrActvtHstryVO.searchKeyword}'/>" onkeyDown="press(event);"> <input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${vEInstrActvtHstryVO.searchKeyword}'/>" onkeyDown="press(event);">
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button> <button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
<button class="btn_type03" onclick="fncReset(this); return false;">초기화</button> <button class="btn_type03" onclick="fncReset(this); return false;">초기화</button>
</div> </div>
</div> </div>
</div> </div>
<!-- //list_top --> <!-- //list_top -->
<!-- list util --> <!-- list util -->
<div class="list_util"> <div class="list_util">
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p> <p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<div> <div>
<select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<option value='10' <c:if test="${vEInstrActvtHstryVO.pageUnit == '10' or vEInstrActvtHstryVO.pageUnit == ''}">selected</c:if>>10줄</option> <option value='10' <c:if test="${vEInstrActvtHstryVO.pageUnit == '10' or vEInstrActvtHstryVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${vEInstrActvtHstryVO.pageUnit == '20'}">selected</c:if>>20줄</option> <option value='20' <c:if test="${vEInstrActvtHstryVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${vEInstrActvtHstryVO.pageUnit == '30'}">selected</c:if>>30줄</option> <option value='30' <c:if test="${vEInstrActvtHstryVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option> <option value='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option>
</select> </select>
</div> </div>
</div> </div>
<!-- list --> <!-- list -->
<div class="tb_type01"> <div class="tb_type01">
<table> <table>
<colgroup> <colgroup>
<col style="width: 5%;"> <col style="width: 60px;">
<%-- <col style="width: 10%;"> --%> <col style="width: 150px;">
<%-- <col style="width: 10%;"> --%> <col style="width: 60px;">
<%-- <col style="width: 15%;"> --%> <col style="width: auto;">
</colgroup> <col style="width: 150px;">
<thead> <col style="width: 120px;">
<tr> <col style="width: 120px;">
<th>번호</th> <col style="width: 120px;">
<th>강사명</th> <col style="width: 120px;">
<th>신청일</th> <%-- <col style="width: 10%;"> --%>
<th>처리일</th> <%-- <col style="width: 10%;"> --%>
<th>발급상태</th> <%-- <col style="width: 15%;"> --%>
</tr> </colgroup>
</thead> <thead>
<tbody> <tr>
<c:forEach var="list" items="${list}" varStatus="status"> <th>번호</th>
<tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;"> <th>강사명</th>
<td> <th>성별</th>
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/> <th>용도</th>
</td> <th>사업자명<br/>사업자등록번호</th>
<td> <th>신청일</th>
${list.instrNm } <th>처리일</th>
</td> <th>문서번호</th>
<td> <th>발급상태</th>
${list.aplctPnttm } </tr>
</td> </thead>
<td> <tbody>
<c:choose> <c:forEach var="list" items="${list}" varStatus="status">
<c:when test="${list.stateCd eq 10 }"> <tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;">
- <td>
</c:when> <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
<c:otherwise> </td>
<c:out value="${list.statePnttm }" /> <td>
</c:otherwise> ${list.instrNm }
</c:choose> </td>
</td> <td>
<td> <c:out value="${list.sex }" />
<ve:code codeId="VEA011" code="${list.stateCd}"/> </td>
</td> <td>
</tr> <c:out value="${list.purpose }" />
</c:forEach> </td>
<c:if test="${empty list}"> <td>
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr> <c:out value="${list.bsnsNm }" />
</c:if> <br/>
</tbody> (<c:out value="${list.bsnsNmbr }" />)
</table> </td>
</div> <td>
<!-- //list --> ${list.aplctPnttm }
<!-- page --> </td>
<div class="page"> <td>
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" /> <c:choose>
</div> <c:when test="${list.stateCd eq 10 }">
<!-- //page --> -
<div class="btn_wrap btn_layout01"> </c:when>
<div class="btn_left"> <c:otherwise>
</div> <c:out value="${list.statePnttm }" />
<div class="btn_center"> </c:otherwise>
</div> </c:choose>
<div class="btn_right"> </td>
</div> <td>
</div> <c:choose>
</div> <c:when test="${list.docuNmbr ne '' and not empty list.docuNmbr}">
</div> <c:out value="${list.docuNmbrDp }" />
</div> </c:when>
<!-- //cont --> <c:otherwise>
-
</form> </c:otherwise>
</c:choose>
</body> </td>
</html> <td>
<ve:code codeId="VEA011" code="${list.stateCd}"/>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
<div class="btn_wrap btn_layout01">
<div class="btn_left">
</div>
<div class="btn_center">
</div>
<div class="btn_right">
</div>
</div>
</div>
</div>
</div>
<!-- //cont -->
</form>
</body>
</html>

View File

@ -89,6 +89,11 @@
</head> </head>
<body> <body>
<form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${vEInstrActvtHstryVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrActvtHstryVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrActvtHstryVO.searchSortOrd}" />" />
</form>
<form id="updateForm" name="updateForm"> <form id="updateForm" name="updateForm">
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value="${info.instrDetailActvtHstryOrd }"/> <input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value="${info.instrDetailActvtHstryOrd }"/>
<input type="hidden" name="stateCd" id="stateCd" value=""/> <input type="hidden" name="stateCd" id="stateCd" value=""/>
@ -144,6 +149,7 @@
<th scope="row">상태</th> <th scope="row">상태</th>
<td> <td>
<ve:code codeId="VEA011" code="${info.stateCd}"/> <ve:code codeId="VEA011" code="${info.stateCd}"/>
(${info.stateCd})
</td> </td>
</tr> </tr>
<c:if test="${info.stateCd eq 20 }"> <c:if test="${info.stateCd eq 20 }">
@ -167,6 +173,43 @@
<c:out value='${info.addr}'/> <c:out value='${info.addrDetail}'/> <c:out value='${info.addr}'/> <c:out value='${info.addrDetail}'/>
</td> </td>
</tr> </tr>
<tr>
<th scope="row">문서번호</th>
<td>
<c:choose>
<c:when test="${info.docuNmbr ne '' and not empty info.docuNmbr}">
<c:out value="${info.docuNmbrDp }" />
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
<th scope="row">성별</th>
<td>
<c:out value='${info.sex }' />
</td>
</tr>
<tr>
<th scope="row">용도</th>
<td>
<c:out value='${info.purpose }' />
</td>
</tr>
<tr>
<th scope="row">사업자명</th>
<td>
<c:out value='${info.bsnsNm }' />
</td>
</tr>
<tr>
<th scope="row">사업자등록번호</th>
<td>
<c:out value='${info.bsnsNmbr }' />
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -181,8 +224,11 @@
<div class="btn_center"> <div class="btn_center">
</div> </div>
<div class="btn_right"> <div class="btn_right">
<button type="button" class="btn_type05" onclick="fnCnclPopup()">반려</button> <c:if test="${info.stateCd eq 10}">
<button type="button" class="btn_type04" onclick="fn_updateCnclUpdate('30');"; return false;">승인</button> <button type="button" class="btn_type05" onclick="fnCnclPopup()">반려</button>
<button type="button" class="btn_type04" onclick="fn_updateCnclUpdate('30');"; return false;">승인</button>
</c:if>
<button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button> <button type="button" class="btn_type03" onclick="fncGoList(); return false;">목록</button>
</div> </div>
</div> </div>

View File

@ -1,225 +1,261 @@
<!DOCTYPE html> <!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> <%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> <%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %> <%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" /> <un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
<% <%
/** /**
* @Class Name : eduInstrFeeMngList.jsp * @Class Name : eduInstrFeeMngList.jsp
* @Description : 강사료 확정 관리 > 강사료 확정 목록 * @Description : 강사료 확정 관리 > 강사료 확정 목록
* @Modification Information * @Modification Information
* @ * @
* @ 수정일 수정자 수정내용 * @ 수정일 수정자 수정내용
* @ ------- -------- --------------------------- * @ ------- -------- ---------------------------
* @ 2022.12.7 안주영 최초 생성 * @ 2022.12.7 안주영 최초 생성
* @author 안주영 * @author 안주영
* @since 2022.2.7 * @since 2022.2.7
* @version 1.0 * @version 1.0
* @see * @see
* *
*/ */
%> %>
<html lang="ko"> <html lang="ko">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style> <style>
input:read-only{ input:read-only{
background-color: #ededed; background-color: #ededed;
} }
</style> </style>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
}); });
function press(event) { function press(event) {
if (event.keyCode==13) { if (event.keyCode==13) {
fncGoList(); fncGoList();
} }
} }
function fncGoList(){ function fncGoList(){
linkPage(1); linkPage(1);
} }
function linkPage(pageNo){ function linkPage(pageNo){
var listForm = document.listForm ; var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ; listForm.pageIndex.value = pageNo ;
listForm.searchCondition.value = $('#searchCondition').val(); listForm.searchCondition.value = $('#searchCondition').val();
listForm.searchKeyword.value = $('#searchKeyword').val(); listForm.searchKeyword.value = $('#searchKeyword').val();
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do'/>"; listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngList.do'/>";
listForm.submit(); listForm.submit();
} }
function fn_goDetail(instrDetailActvtHstryOrd){ function fn_goDetail(instrDetailActvtHstryOrd){
var form = document.detailForm; var form = document.detailForm;
form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ; form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ;
form.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do'/>"; form.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.do'/>";
form.submit(); form.submit();
} }
</script> </script>
<title>강사활동확인서신청관리</title> <title>강사활동확인서신청관리</title>
</head> </head>
<body> <body>
<form id="detailForm" name="detailForm" method="post"> <form id="detailForm" name="detailForm" method="post">
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/> <input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/>
</form> </form>
<form id="listForm" name="listForm" method="post"> <form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${vEInstrActvtHstryVO.pageIndex}' default='1' />"/> <input type="hidden" name="pageIndex" value="<c:out value='${vEInstrActvtHstryVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrActvtHstryVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrActvtHstryVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrActvtHstryVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrActvtHstryVO.searchSortOrd}" />" />
<div class="cont_wrap"> <div class="cont_wrap">
<div class="box"> <div class="box">
<!-- cont_tit --> <!-- cont_tit -->
<div class="cont_tit"> <div class="cont_tit">
<h2>강사활동확인서신청관리 목록</h2> <h2>강사활동확인서신청관리 목록</h2>
<ul class="cont_nav"> <ul class="cont_nav">
<li class="home"><a href="/"><i></i></a></li> <li class="home"><a href="/"><i></i></a></li>
<li> <li>
<p>청소년 찾아가는 저작권 교육</p> <p>청소년 찾아가는 저작권 교육</p>
</li> </li>
<li><span class="cur_nav">강사활동확인서신청관리</span></li> <li><span class="cur_nav">강사활동확인서신청관리</span></li>
</ul> </ul>
</div> </div>
<!-- //cont_tit --> <!-- //cont_tit -->
<div class="cont"> <div class="cont">
<!-- list_top --> <!-- list_top -->
<div class="list_top"> <div class="list_top">
<div class="list_top_1"> <div class="list_top_1">
<div class="util_left"> <div class="util_left">
<p>구분</p> <p>구분</p>
</div> </div>
<div class="util_right"> <div class="util_right">
<ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'" <ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'"
selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue='' selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue=''
defaultText='전체' defaultText='전체'
/> />
</div> </div>
</div> </div>
<div class="list_top_2"> <div class="list_top_2">
<div class="util_left"> <div class="util_left">
<p>신청일자</p> <p>신청일자</p>
</div> </div>
<div class="util_right"> <div class="util_right">
<div class="calendar_wrap"> <div class="calendar_wrap">
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>"> <input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>">
</div> </div>
~ ~
<div class="calendar_wrap"> <div class="calendar_wrap">
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>"> <input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>">
</div> </div>
</div> </div>
</div> </div>
<div class="list_top_2"> <div class="list_top_2">
<div class="util_left"> <div class="util_left">
<p>강사명</p> <p>강사명</p>
</div> </div>
<div class="util_right"> <div class="util_right">
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${vEInstrActvtHstryVO.searchKeyword}'/>" onkeyDown="press(event);"> <input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${vEInstrActvtHstryVO.searchKeyword}'/>" onkeyDown="press(event);">
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button> <button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
<button class="btn_type03" onclick="fncReset(this); return false;">초기화</button> <button class="btn_type03" onclick="fncReset(this); return false;">초기화</button>
</div> </div>
</div> </div>
</div> </div>
<!-- //list_top --> <!-- //list_top -->
<!-- list util --> <!-- list util -->
<div class="list_util"> <div class="list_util">
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p> <p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<div> <div>
<select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <select class="sel_type1" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<option value='10' <c:if test="${vEInstrActvtHstryVO.pageUnit == '10' or vEInstrActvtHstryVO.pageUnit == ''}">selected</c:if>>10줄</option> <option value='10' <c:if test="${vEInstrActvtHstryVO.pageUnit == '10' or vEInstrActvtHstryVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${vEInstrActvtHstryVO.pageUnit == '20'}">selected</c:if>>20줄</option> <option value='20' <c:if test="${vEInstrActvtHstryVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${vEInstrActvtHstryVO.pageUnit == '30'}">selected</c:if>>30줄</option> <option value='30' <c:if test="${vEInstrActvtHstryVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option> <option value='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option>
</select> </select>
</div> </div>
</div> </div>
<!-- list --> <!-- list -->
<div class="tb_type01"> <div class="tb_type01">
<table> <table>
<colgroup> <colgroup>
<col style="width: 5%;"> <col style="width: 60px;">
<%-- <col style="width: 10%;"> --%> <col style="width: 150px;">
<%-- <col style="width: 10%;"> --%> <col style="width: 60px;">
<%-- <col style="width: 15%;"> --%> <col style="width: auto;">
</colgroup> <col style="width: 150px;">
<thead> <col style="width: 120px;">
<tr> <col style="width: 120px;">
<th>번호</th> <col style="width: 120px;">
<th>강사명</th> <col style="width: 120px;">
<th>신청일</th>
<th>처리일</th> <%-- <col style="width: 10%;"> --%>
<th>발급상태</th> <%-- <col style="width: 10%;"> --%>
</tr> <%-- <col style="width: 15%;"> --%>
</thead> </colgroup>
<tbody> <thead>
<c:forEach var="list" items="${list}" varStatus="status"> <tr>
<tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;"> <th>번호</th>
<td> <th>강사명</th>
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/> <th>성별</th>
</td> <th>용도</th>
<td> <th>사업자명<br/>사업자등록번호</th>
${list.instrNm } <th>신청일</th>
</td> <th>처리일</th>
<td> <th>문서번호</th>
${list.aplctPnttm } <th>발급상태</th>
</td> </tr>
<td> </thead>
<c:choose> <tbody>
<c:when test="${list.stateCd eq 10 }"> <c:forEach var="list" items="${list}" varStatus="status">
- <tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;">
</c:when> <td>
<c:otherwise> <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
<c:out value="${list.statePnttm }" /> </td>
</c:otherwise> <td>
</c:choose> <c:out value="${list.instrNm }" />
</td> </td>
<td> <td>
<ve:code codeId="VEA011" code="${list.stateCd}"/> <c:out value="${list.sex }" />
</td> </td>
</tr> <td>
</c:forEach> <c:out value="${list.purpose }" />
<c:if test="${empty list}"> </td>
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr> <td>
</c:if> <c:out value="${list.bsnsNm }" />
</tbody> <br/>
</table> (<c:out value="${list.bsnsNmbr }" />)
</div> </td>
<!-- //list -->
<!-- page --> <td>
<div class="page"> <c:out value="${list.aplctPnttm }" />
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div> </td>
<!-- //page --> <td>
<div class="btn_wrap btn_layout01"> <c:choose>
<div class="btn_left"> <c:when test="${list.stateCd eq 10 }">
</div> -
<div class="btn_center"> </c:when>
</div> <c:otherwise>
<div class="btn_right"> <c:out value="${list.statePnttm }" />
</div> </c:otherwise>
</div> </c:choose>
</div> </td>
</div> <td>
</div> <c:choose>
<!-- //cont --> <c:when test="${list.docuNmbr ne '' and not empty list.docuNmbr}">
<c:out value="${list.docuNmbrDp }" />
</form> </c:when>
<c:otherwise>
</body> -
</html> </c:otherwise>
</c:choose>
</td>
<td>
<ve:code codeId="VEA011" code="${list.stateCd}"/>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="9"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
<div class="btn_wrap btn_layout01">
<div class="btn_left">
</div>
<div class="btn_center">
</div>
<div class="btn_right">
</div>
</div>
</div>
</div>
</div>
<!-- //cont -->
</form>
</body>
</html>

View File

@ -1159,6 +1159,11 @@
onclick="fncQustnrPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print' onclick="fncQustnrPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}' ,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
)" title="팝업 열림">설문출력</button> )" title="팝업 열림">설문출력</button>
<button type="button" class="btnType04" data-tooltip="sub37_pop20"
onclick="fncQustnrQRPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
)" title="팝업 열림">설문QR</button>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
해당설문없음 해당설문없음

View File

@ -189,6 +189,15 @@
// 강사활동확인서 신청 // 강사활동확인서 신청
function insetDocReq(){ function insetDocReq(){
var v_sex = $("input:radio[name=sex]:checked").val();
var v_purpose = $('#purpose').val();
if (v_purpose==''){
alert("용도는 필수입력값 입니다.");
return;
}
//첨부파일 체크 및 요청 //첨부파일 체크 및 요청
if(confirm("신청 하시겠습니까?")){ if(confirm("신청 하시겠습니까?")){
if(control.getUploadFiles().length > 0){ if(control.getUploadFiles().length > 0){
@ -209,11 +218,20 @@
var url = "<c:url value='/web/common/insertInnorixInstrActvtAjax.do' />"; var url = "<c:url value='/web/common/insertInnorixInstrActvtAjax.do' />";
//선택된 강사 ID //선택된 강사 ID
var v_sex = $("input:radio[name=sex]:checked").val();
var sendData = { var sendData = {
"instrDetailOrd": $('#instrDetailOrd').val() "instrDetailOrd": $('#instrDetailOrd').val()
, "innorixFileListVO": data , "innorixFileListVO": data
, "sex": v_sex
, "purpose": $('#purpose').val()
, "bsnsNmbr": $('#bsnsNmbr').val()
, "bsnsNm": $('#bsnsNm').val()
, "successMsg" : "신청이 완료되었습니다." , "successMsg" : "신청이 완료되었습니다."
} }
/* /*
* 공통 : innorixCommon.js * 공통 : innorixCommon.js
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행 * fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
@ -794,21 +812,67 @@
<div class="popup_cont"> <div class="popup_cont">
<div class="cont_body"> <div class="cont_body">
<div class="popup_table_top"> <div class="popup_table_top">
<button type="button" class="btnType06">신청서양식 다운로드</button> <button type="button" class="btnType06"
onclick="location.href='${pageContext.request.contextPath}/cmm/fms/FileDown.do?atchFileId=FILE_000000000001230&amp;fileSn=1'">신청서양식 다운로드</button>
</div> </div>
<%-- <div class="pop_tb_type01"> <div class="pop_tb_type01">
<table> <table>
<colgroup> <colgroup>
<col style="width: 22%;"> <col style="width: 22%;">
<col style=""> <col style="">
</colgroup> </colgroup>
<tr> <!-- <tr>
<th>취소사유</th> <th>취소사유</th>
<td><textarea id="cnclCn" name="cnclCn"></textarea></td> <td><textarea id="cnclCn" name="cnclCn"></textarea></td>
</tr> -->
<tr>
<th>
<p class="req_text">
<span>필수입력 항목</span>*
</p>
<p>성별</p>
</th>
<td>
<div>
<input type="radio" id="sex_m" name="sex" value="M" checked="checked"
style="margin-top: -4px;"
>남</label>
<input type="radio" id="sex_f" name="sex" value="F"
style="margin-top: -4px;"
>여</label>
</div>
</td>
</tr> </tr>
<tr>
<th>
<p class="req_text">
<span>필수입력 항목</span>*
</p>
<p>용도</p>
</th>
<td>
<input type="text" id="purpose" name="purpose" value="" maxlength="30"/>
ex)기관제출용
</td>
</tr>
<tr>
<th>사업자명</th>
<td>
<input type="text" id="bsnsNm" name="bsnsNm" value="" maxlength="50"/>
</td>
</tr>
<tr>
<th>사업자등록번호</th>
<td>
<input type="text" id="bsnsNmbr" name="bsnsNmbr" value="" maxlength="20"/>
</td>
</tr>
</table> </table>
</div> --%> </div>
<div class="popup_cont upload_area"> <div class="popup_cont upload_area">
<div> <div>
<div class="pop_search_wrap"> <div class="pop_search_wrap">

View File

@ -217,6 +217,15 @@
// 강사활동확인서 신청 // 강사활동확인서 신청
function insetDocReq(){ function insetDocReq(){
var v_sex = $("input:radio[name=sex]:checked").val();
var v_purpose = $('#purpose').val();
if (v_purpose==''){
alert("용도는 필수입력값 입니다.");
return;
}
//첨부파일 체크 및 요청 //첨부파일 체크 및 요청
if(confirm("신청 하시겠습니까?")){ if(confirm("신청 하시겠습니까?")){
if(control.getUploadFiles().length > 0){ if(control.getUploadFiles().length > 0){
@ -237,9 +246,17 @@
var url = "<c:url value='/web/common/insertInnorixInstrActvtAjax.do' />"; var url = "<c:url value='/web/common/insertInnorixInstrActvtAjax.do' />";
//선택된 강사 ID //선택된 강사 ID
var v_sex = $("input:radio[name=sex]:checked").val();
var sendData = { var sendData = {
"instrDetailOrd": $('#instrDetailOrd').val() "instrDetailOrd": $('#instrDetailOrd').val()
, "innorixFileListVO": data , "innorixFileListVO": data
, "sex": v_sex
, "purpose": $('#purpose').val()
, "bsnsNmbr": $('#bsnsNmbr').val()
, "bsnsNm": $('#bsnsNm').val()
, "successMsg" : "신청이 완료되었습니다." , "successMsg" : "신청이 완료되었습니다."
} }
/* /*
@ -1021,21 +1038,67 @@
<div class="popup_cont"> <div class="popup_cont">
<div class="cont_body"> <div class="cont_body">
<div class="popup_table_top"> <div class="popup_table_top">
<button type="button" class="btnType06">신청서양식 다운로드</button> <button type="button" class="btnType06"
onclick="location.href='${pageContext.request.contextPath}/cmm/fms/FileDown.do?atchFileId=FILE_000000000001230&amp;fileSn=1'">신청서양식 다운로드</button>
</div> </div>
<%-- <div class="pop_tb_type01"> <div class="pop_tb_type01">
<table> <table>
<colgroup> <colgroup>
<col style="width: 22%;"> <col style="width: 22%;">
<col style=""> <col style="">
</colgroup> </colgroup>
<tr> <!-- <tr>
<th>취소사유</th> <th>취소사유</th>
<td><textarea id="cnclCn" name="cnclCn"></textarea></td> <td><textarea id="cnclCn" name="cnclCn"></textarea></td>
</tr> -->
<tr>
<th>
<p class="req_text">
<span>필수입력 항목</span>*
</p>
<p>성별</p>
</th>
<td>
<div>
<input type="radio" id="sex_m" name="sex" value="M" checked="checked"
style="margin-top: -4px;"
>남</label>
<input type="radio" id="sex_f" name="sex" value="F"
style="margin-top: -4px;"
>여</label>
</div>
</td>
</tr> </tr>
<tr>
<th>
<p class="req_text">
<span>필수입력 항목</span>*
</p>
<p>용도</p>
</th>
<td>
<input type="text" id="purpose" name="purpose" value="" maxlength="30"/>
ex)기관제출용
</td>
</tr>
<tr>
<th>사업자명</th>
<td>
<input type="text" id="bsnsNm" name="bsnsNm" value="" maxlength="50"/>
</td>
</tr>
<tr>
<th>사업자등록번호</th>
<td>
<input type="text" id="bsnsNmbr" name="bsnsNmbr" value="" maxlength="20"/>
</td>
</tr>
</table> </table>
</div> --%> </div>
<div class="popup_cont upload_area"> <div class="popup_cont upload_area">
<div> <div>
<div class="pop_search_wrap"> <div class="pop_search_wrap">