2023-12-20 18:16 강사활동확인서 문서번호 수정
This commit is contained in:
parent
02be7a4723
commit
9245fd93e9
@ -69,7 +69,14 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
|
||||
public String instrDetailOrd = "";//강사 고유PK
|
||||
|
||||
|
||||
//강의활동확인서 컬럼 추가
|
||||
private String sex = ""; //성별
|
||||
private String purpose = ""; //용도
|
||||
private String bsnsNmbr = ""; //사업자등록번호
|
||||
private String bsnsNm = ""; //사업자명
|
||||
private String docuNmbr = ""; //문서번호
|
||||
|
||||
|
||||
public String getFileType() {
|
||||
return fileType;
|
||||
}
|
||||
@ -190,6 +197,46 @@ public class AdrInnorixFileVO extends ComDefaultVO implements Serializable {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -545,6 +545,14 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
||||
vEInstrActvtHstryVO.setFrstRegisterId(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);
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
@ -47,6 +47,16 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa
|
||||
private String selectPagingListQuery;
|
||||
private String userId;
|
||||
|
||||
//강의활동확인서 컬럼 추가
|
||||
private String sex = ""; //성별
|
||||
private String purpose = ""; //용도
|
||||
private String bsnsNmbr = ""; //사업자등록번호
|
||||
private String bsnsNm = ""; //사업자명
|
||||
private String docuNmbr = ""; //문서번호
|
||||
|
||||
private String docuNmbrDp = ""; //문서번호-표시용
|
||||
|
||||
|
||||
|
||||
public String getInstrDetailActvtHstryOrd() {
|
||||
return instrDetailActvtHstryOrd;
|
||||
@ -162,6 +172,42 @@ public class VEInstrDetailActvtHstryVO extends ComDefaultVO implements Serializa
|
||||
public void setUserId(String 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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,289 +1,287 @@
|
||||
package kcc.ve.oprtn.adultVisitEdu.instrActvtHstryMng;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.service.EgovCmmUseService;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.utl.user.service.CheckLoginUtil;
|
||||
import kcc.let.uat.uia.service.SsoLoginVO;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.ve.cmm.VeConstants;
|
||||
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO;
|
||||
|
||||
/**
|
||||
* 교육일정관리(관리자-청소년찾아가는저작권교육)
|
||||
* 교육일정관리에 관한 controller 클래스를 정의한다.
|
||||
* @author 조용준
|
||||
* @since 2021.12.16
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* << 개정이력(Modification Information) >>
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2021.12.16 조용준 최초 생성
|
||||
*
|
||||
* </pre>
|
||||
*/
|
||||
|
||||
@Controller
|
||||
public class InstrActvtHstryAdultMngController {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryAdultMngController.class);
|
||||
|
||||
//로그인 체크 util
|
||||
@Resource(name = "checkLoginUtil")
|
||||
private CheckLoginUtil checkLoginUtil;
|
||||
|
||||
// eGov 공통코드
|
||||
@Resource(name = "EgovCmmUseService")
|
||||
private EgovCmmUseService cmmUseService;
|
||||
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileService;
|
||||
|
||||
// global 프로퍼티
|
||||
@Resource(name="globalSettings")
|
||||
protected Properties propertiesService;
|
||||
|
||||
//첨부파일 경로, realPath 설정
|
||||
@Resource(name="EgovFileMngUtil")
|
||||
private EgovFileMngUtil fileUtil;
|
||||
|
||||
// 첨부파일 정보
|
||||
@Resource(name="EgovFileMngService")
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
// 첨부파일 정보
|
||||
@Resource(name="vEInstrDetailActvtHstryService")
|
||||
private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService;
|
||||
|
||||
//암복호화 유틸
|
||||
@Resource(name = "egovCryptoUtil")
|
||||
EgovCryptoUtil egovCryptoUtil;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 강사활동확인서신청관리 목록
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do")
|
||||
public String instrActvtHstryMngList(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
// if (loginVO == null || ssoLoginVO == null) {
|
||||
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
|
||||
// }
|
||||
//로그인 처리====================================
|
||||
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //성인
|
||||
|
||||
//1.pageing step1
|
||||
PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO);
|
||||
//2. pageing step2
|
||||
vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo);
|
||||
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
|
||||
List<VEInstrDetailActvtHstryVO> vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO);
|
||||
|
||||
vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm())));
|
||||
|
||||
//3.pageing step3
|
||||
paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
// 검색어 복호화
|
||||
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("list", vEInstrDetailActvtHstryVOList);
|
||||
|
||||
|
||||
|
||||
return "oprtn/adultVisitEdu/instrActvtHstryMngList";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 강사활동확인서신청관리 상세
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do")
|
||||
public String instrActvtHstryMngDetail(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
// String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
// if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo;
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
// if (loginVO == null || ssoLoginVO == null) {
|
||||
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
|
||||
// }
|
||||
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년
|
||||
|
||||
VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
|
||||
|
||||
vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm()));
|
||||
vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone()));
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("info", vEInstrActvtHstryVO);
|
||||
|
||||
|
||||
|
||||
return "oprtn/adultVisitEdu/instrActvtHstryMngDetail";
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사활동확인서신청관리 상세
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/popup/instrCnclPopup.do")
|
||||
public String instrCnclPopup(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
// if (loginVO == null || ssoLoginVO == null) {
|
||||
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
|
||||
// }
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("info", vEInstrDetailActvtHstryVO);
|
||||
|
||||
|
||||
|
||||
return "oprtn/adultVisitEdu/popup/instrCnclPopup";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/updateStateCd.do")
|
||||
public ModelAndView updateStateCd(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
//, RedirectAttributes redirectAttributes
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
|
||||
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
if (!"".equals(s_oprtnLoginCheckNInfo)) {
|
||||
modelAndView.addObject("result", "loginFail");
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
//로그인 처리====================================
|
||||
|
||||
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
|
||||
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
|
||||
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
// private function
|
||||
//
|
||||
//
|
||||
|
||||
//페이징을 위한 처리 step1 - 페이징 기본 정보 설정
|
||||
private PaginationInfo setPagingStep1(
|
||||
VEInstrDetailActvtHstryVO p_vEEduAplctVO
|
||||
)throws Exception{
|
||||
// pageing step1
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
|
||||
paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize());
|
||||
|
||||
return paginationInfo;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 및 검색 조건 초기화
|
||||
private VEInstrDetailActvtHstryVO setPagingStep2(
|
||||
VEInstrDetailActvtHstryVO p_vEEduAplctVO
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step2
|
||||
p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex());
|
||||
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
|
||||
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage());
|
||||
|
||||
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
|
||||
p_vEEduAplctVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
return p_vEEduAplctVO;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기
|
||||
private PaginationInfo setPagingStep3(
|
||||
List<VEInstrDetailActvtHstryVO> p_vEEduAplctVOList
|
||||
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step3
|
||||
int totCnt = 0;
|
||||
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
|
||||
p_paginationInfo.setTotalRecordCount(totCnt);
|
||||
|
||||
return p_paginationInfo;
|
||||
}
|
||||
}
|
||||
package kcc.ve.oprtn.adultVisitEdu.instrActvtHstryMng;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.LoginVO;
|
||||
import kcc.com.cmm.service.EgovCmmUseService;
|
||||
import kcc.com.cmm.service.EgovFileMngService;
|
||||
import kcc.com.cmm.service.EgovFileMngUtil;
|
||||
import kcc.com.utl.user.service.CheckLoginUtil;
|
||||
import kcc.let.uat.uia.service.SsoLoginVO;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.ve.cmm.VeConstants;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryService;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO;
|
||||
|
||||
/**
|
||||
* 교육일정관리(관리자-청소년찾아가는저작권교육)
|
||||
* 교육일정관리에 관한 controller 클래스를 정의한다.
|
||||
* @author 조용준
|
||||
* @since 2021.12.16
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* << 개정이력(Modification Information) >>
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2021.12.16 조용준 최초 생성
|
||||
*
|
||||
* </pre>
|
||||
*/
|
||||
|
||||
@Controller
|
||||
public class InstrActvtHstryAdultMngController {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(InstrActvtHstryAdultMngController.class);
|
||||
|
||||
//로그인 체크 util
|
||||
@Resource(name = "checkLoginUtil")
|
||||
private CheckLoginUtil checkLoginUtil;
|
||||
|
||||
// eGov 공통코드
|
||||
@Resource(name = "EgovCmmUseService")
|
||||
private EgovCmmUseService cmmUseService;
|
||||
|
||||
@Resource(name = "EgovFileMngService")
|
||||
private EgovFileMngService fileService;
|
||||
|
||||
// global 프로퍼티
|
||||
@Resource(name="globalSettings")
|
||||
protected Properties propertiesService;
|
||||
|
||||
//첨부파일 경로, realPath 설정
|
||||
@Resource(name="EgovFileMngUtil")
|
||||
private EgovFileMngUtil fileUtil;
|
||||
|
||||
// 첨부파일 정보
|
||||
@Resource(name="EgovFileMngService")
|
||||
private EgovFileMngService fileMngService;
|
||||
|
||||
// 첨부파일 정보
|
||||
@Resource(name="vEInstrDetailActvtHstryService")
|
||||
private VEInstrDetailActvtHstryService vEInstrDetailActvtHstryService;
|
||||
|
||||
//암복호화 유틸
|
||||
@Resource(name = "egovCryptoUtil")
|
||||
EgovCryptoUtil egovCryptoUtil;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 강사활동확인서신청관리 목록
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do")
|
||||
public String instrActvtHstryMngList(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
// if (loginVO == null || ssoLoginVO == null) {
|
||||
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
|
||||
// }
|
||||
//로그인 처리====================================
|
||||
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //성인
|
||||
|
||||
//1.pageing step1
|
||||
PaginationInfo paginationInfo = this.setPagingStep1(vEInstrDetailActvtHstryVO);
|
||||
//2. pageing step2
|
||||
vEInstrDetailActvtHstryVO = this.setPagingStep2(vEInstrDetailActvtHstryVO, paginationInfo);
|
||||
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.encrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
|
||||
List<VEInstrDetailActvtHstryVO> vEInstrDetailActvtHstryVOList = vEInstrDetailActvtHstryService.selectPagingList(vEInstrDetailActvtHstryVO);
|
||||
|
||||
vEInstrDetailActvtHstryVOList.stream().forEach(t-> t.setInstrNm(egovCryptoUtil.decrypt(t.getInstrNm())));
|
||||
|
||||
//3.pageing step3
|
||||
paginationInfo = this.setPagingStep3(vEInstrDetailActvtHstryVOList, paginationInfo);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
// 검색어 복호화
|
||||
vEInstrDetailActvtHstryVO.setSearchKeyword(egovCryptoUtil.decrypt(vEInstrDetailActvtHstryVO.getSearchKeyword()));
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("list", vEInstrDetailActvtHstryVOList);
|
||||
|
||||
|
||||
|
||||
return "oprtn/adultVisitEdu/instrActvtHstryMngList";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 강사활동확인서신청관리 상세
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do")
|
||||
public String instrActvtHstryMngDetail(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
// String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
// if (!"".equals(s_oprtnLoginCheckNInfo)) return s_oprtnLoginCheckNInfo;
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
// if (loginVO == null || ssoLoginVO == null) {
|
||||
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
|
||||
// }
|
||||
vEInstrDetailActvtHstryVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //청소년
|
||||
|
||||
VEInstrDetailActvtHstryVO vEInstrActvtHstryVO = vEInstrDetailActvtHstryService.findById(vEInstrDetailActvtHstryVO);
|
||||
|
||||
vEInstrActvtHstryVO.setInstrNm(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getInstrNm()));
|
||||
vEInstrActvtHstryVO.setPhone(egovCryptoUtil.decrypt(vEInstrActvtHstryVO.getPhone()));
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("info", vEInstrActvtHstryVO);
|
||||
|
||||
|
||||
|
||||
return "oprtn/adultVisitEdu/instrActvtHstryMngDetail";
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사활동확인서신청관리 상세
|
||||
*/
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/popup/instrCnclPopup.do")
|
||||
public String instrCnclPopup(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
// if (loginVO == null || ssoLoginVO == null) {
|
||||
// return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
|
||||
// }
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("info", vEInstrDetailActvtHstryVO);
|
||||
|
||||
|
||||
|
||||
return "oprtn/adultVisitEdu/popup/instrCnclPopup";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@RequestMapping("/kccadr/oprtn/adultVisitEdu/updateStateCd.do")
|
||||
public ModelAndView updateStateCd(
|
||||
@ModelAttribute("vEInstrActvtHstryVO") VEInstrDetailActvtHstryVO vEInstrDetailActvtHstryVO
|
||||
, ModelMap model
|
||||
//, RedirectAttributes redirectAttributes
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
|
||||
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
if (!"".equals(s_oprtnLoginCheckNInfo)) {
|
||||
modelAndView.addObject("result", "loginFail");
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
//로그인 처리====================================
|
||||
|
||||
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
|
||||
vEInstrDetailActvtHstryVO.setLastUpdusrId(loginVO.getUniqId());
|
||||
vEInstrDetailActvtHstryService.updateStateCd(vEInstrDetailActvtHstryVO);
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
// private function
|
||||
//
|
||||
//
|
||||
|
||||
//페이징을 위한 처리 step1 - 페이징 기본 정보 설정
|
||||
private PaginationInfo setPagingStep1(
|
||||
VEInstrDetailActvtHstryVO p_vEEduAplctVO
|
||||
)throws Exception{
|
||||
// pageing step1
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(p_vEEduAplctVO.getPageIndex());
|
||||
paginationInfo.setRecordCountPerPage(p_vEEduAplctVO.getPageUnit());
|
||||
paginationInfo.setPageSize(p_vEEduAplctVO.getPageSize());
|
||||
|
||||
return paginationInfo;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step2 - 게시물 리스트 수량 설정 및 검색 조건 초기화
|
||||
private VEInstrDetailActvtHstryVO setPagingStep2(
|
||||
VEInstrDetailActvtHstryVO p_vEEduAplctVO
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step2
|
||||
p_vEEduAplctVO.setFirstIndex(p_paginationInfo.getFirstRecordIndex());
|
||||
p_vEEduAplctVO.setLastIndex(p_paginationInfo.getLastRecordIndex());
|
||||
p_vEEduAplctVO.setRecordCountPerPage(p_paginationInfo.getRecordCountPerPage());
|
||||
|
||||
if("".equals(p_vEEduAplctVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
||||
p_vEEduAplctVO.setSearchSortCnd("prcs_ord");
|
||||
p_vEEduAplctVO.setSearchSortOrd("desc");
|
||||
}
|
||||
|
||||
return p_vEEduAplctVO;
|
||||
}
|
||||
|
||||
|
||||
//페이징을 위한 처리 step3 - 전체 게시물 수량 설정하기
|
||||
private PaginationInfo setPagingStep3(
|
||||
List<VEInstrDetailActvtHstryVO> p_vEEduAplctVOList
|
||||
|
||||
, PaginationInfo p_paginationInfo
|
||||
)throws Exception{
|
||||
// pageing step3
|
||||
int totCnt = 0;
|
||||
if(p_vEEduAplctVOList.size() > 0) totCnt = p_vEEduAplctVOList.get(0).getTotCnt();
|
||||
p_paginationInfo.setTotalRecordCount(totCnt);
|
||||
|
||||
return p_paginationInfo;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,151 +1,189 @@
|
||||
<?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">
|
||||
<!-- 찾교 강사, 강사상세 테이블 -->
|
||||
<sqlMap namespace="VEInstrDetailApptHchkHstry">
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="VEInstrDetailActvtHstryVO" type="kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO"/>
|
||||
|
||||
|
||||
<!-- 공통 테이블 명 -->
|
||||
<sql id="VEInstrDetailActvtHstryDAO.table_name">
|
||||
ve_instr_detail_actvt_hstry
|
||||
</sql>
|
||||
|
||||
<!-- 저장용 공통 컬럼 명 -->
|
||||
<sql id="VEInstrDetailActvtHstryDAO.column_name">
|
||||
instr_detail_actvt_hstry_ord
|
||||
, user_id
|
||||
, instr_detail_ord
|
||||
, aplct_pnttm
|
||||
, state_cd
|
||||
, state_pnttm
|
||||
, aplct_atch_file_id
|
||||
, cmpnn_cn
|
||||
, frst_regist_pnttm
|
||||
, frst_register_id
|
||||
, last_updt_pnttm
|
||||
, last_updusr_id
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 조회용 공통 컬럼 명 -->
|
||||
<sql id="VEInstrDetailActvtHstryDAO.select_column_name">
|
||||
a.instr_detail_actvt_hstry_ord as instrDetailActvtHstryOrd
|
||||
, a.user_id as userId
|
||||
, a.instr_detail_ord as instrDetailOrd
|
||||
, 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
|
||||
, a.aplct_atch_file_id as aplctAtchFileId
|
||||
, a.cmpnn_cn as cmpnnCn
|
||||
, TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm
|
||||
, a.frst_register_id as frstRegisterId
|
||||
, TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS frstRegistPnttm
|
||||
, a.last_updusr_id as lastUpdusrId
|
||||
</sql>
|
||||
|
||||
<insert id="VEInstrDetailActvtHstryDAO.insert" parameterClass="VEInstrDetailActvtHstryVO">
|
||||
/* VEInstrDetailActvtHstryDAO.insert */
|
||||
INSERT INTO <include refid="VEInstrDetailActvtHstryDAO.table_name"/> (
|
||||
<include refid="VEInstrDetailActvtHstryDAO.column_name"/>
|
||||
)VALUES(
|
||||
#instrDetailActvtHstryOrd#
|
||||
, #userId#
|
||||
, #instrDetailOrd#
|
||||
, SYSDATE
|
||||
, #stateCd#
|
||||
, SYSDATE
|
||||
, #aplctAtchFileId#
|
||||
, #cmpnnCn#
|
||||
, SYSDATE
|
||||
, #frstRegisterId#
|
||||
, ''
|
||||
, #lastUpdusrId#
|
||||
)
|
||||
</insert>
|
||||
|
||||
<select id="VEInstrDetailActvtHstryDAO.selectList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
|
||||
/* VEInstrDetailActvtHstryDAO.selectList */
|
||||
SELECT
|
||||
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
|
||||
WHERE
|
||||
user_id = #userId#
|
||||
|
||||
</select>
|
||||
|
||||
<select id="VEInstrDetailActvtHstryDAO.selectPagingList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
|
||||
/* VEInstrDetailActvtHstryDAO.selectPagingList */
|
||||
SELECT
|
||||
COUNT(1) OVER() AS totCnt ,
|
||||
b.INSTR_NM AS instrNm ,
|
||||
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
|
||||
JOIN ve_instr_detail b
|
||||
ON a.user_id = b.user_id
|
||||
AND a.instr_detail_ord = b.instr_detail_ord
|
||||
AND b.INSTR_DIV = #instrDiv#
|
||||
WHERE
|
||||
1=1
|
||||
<isNotEmpty prepend="AND" property="searchKeyword">
|
||||
b.INSTR_NM = #searchKeyword#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty prepend="AND" property="searchSelStatus">
|
||||
a.state_cd = #searchSelStatus#
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(a.aplct_pnttm,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '.' , '')
|
||||
</isNotEmpty>
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(a.aplct_pnttm,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '.' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
|
||||
</select>
|
||||
|
||||
<select id="VEInstrDetailActvtHstryDAO.findById" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
|
||||
/*VEInstrDetailActvtHstryDAO.findById */
|
||||
SELECT
|
||||
b.user_id AS userId ,
|
||||
b.instr_nm as instrNm ,
|
||||
b.phone ,
|
||||
b.post ,
|
||||
b.addr ,
|
||||
b.addr_detail as addrDetail ,
|
||||
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
|
||||
JOIN ve_instr_detail b
|
||||
ON a.user_id = b.user_id
|
||||
AND a.instr_detail_ord = b.instr_detail_ord
|
||||
WHERE
|
||||
a.instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd#
|
||||
|
||||
|
||||
|
||||
</select>
|
||||
<update id="VEInstrDetailActvtHstryDAO.updateStateCd" parameterClass="VEInstrDetailActvtHstryVO">
|
||||
UPDATE
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name" />
|
||||
SET
|
||||
state_cd = #stateCd#
|
||||
<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>
|
||||
<?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">
|
||||
<!-- 찾교 강사, 강사상세 테이블 -->
|
||||
<sqlMap namespace="VEInstrDetailApptHchkHstry">
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="VEInstrDetailActvtHstryVO" type="kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailActvtHstryVO"/>
|
||||
|
||||
|
||||
<!-- 공통 테이블 명 -->
|
||||
<sql id="VEInstrDetailActvtHstryDAO.table_name">
|
||||
ve_instr_detail_actvt_hstry
|
||||
</sql>
|
||||
|
||||
<!-- 저장용 공통 컬럼 명 -->
|
||||
<sql id="VEInstrDetailActvtHstryDAO.column_name">
|
||||
instr_detail_actvt_hstry_ord
|
||||
, user_id
|
||||
, instr_detail_ord
|
||||
, aplct_pnttm
|
||||
, state_cd
|
||||
, state_pnttm
|
||||
, aplct_atch_file_id
|
||||
, cmpnn_cn
|
||||
, frst_regist_pnttm
|
||||
, frst_register_id
|
||||
, last_updt_pnttm
|
||||
, last_updusr_id
|
||||
|
||||
, docu_nmbr
|
||||
, sex
|
||||
, purpose
|
||||
, bsns_nmbr
|
||||
, bsns_nm
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 조회용 공통 컬럼 명 -->
|
||||
<sql id="VEInstrDetailActvtHstryDAO.select_column_name">
|
||||
a.instr_detail_actvt_hstry_ord as instrDetailActvtHstryOrd
|
||||
, a.user_id as userId
|
||||
, a.instr_detail_ord as instrDetailOrd
|
||||
, 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
|
||||
, a.aplct_atch_file_id as aplctAtchFileId
|
||||
, a.cmpnn_cn as cmpnnCn
|
||||
, TO_CHAR(a.frst_regist_pnttm,'YYYY-MM-DD') AS frstRegistPnttm
|
||||
, a.frst_register_id as frstRegisterId
|
||||
, TO_CHAR(a.last_updt_pnttm,'YYYY-MM-DD') AS frstRegistPnttm
|
||||
, a.last_updusr_id as lastUpdusrId
|
||||
|
||||
, a.docu_nmbr AS docuNmbr
|
||||
, a.sex
|
||||
, a.purpose
|
||||
, a.bsns_nmbr AS bsnsNmbr
|
||||
, a.bsns_nm AS bsnsNm
|
||||
</sql>
|
||||
|
||||
<insert id="VEInstrDetailActvtHstryDAO.insert" parameterClass="VEInstrDetailActvtHstryVO">
|
||||
/* VEInstrDetailActvtHstryDAO.insert */
|
||||
INSERT INTO <include refid="VEInstrDetailActvtHstryDAO.table_name"/> (
|
||||
<include refid="VEInstrDetailActvtHstryDAO.column_name"/>
|
||||
)VALUES(
|
||||
#instrDetailActvtHstryOrd#
|
||||
, #userId#
|
||||
, #instrDetailOrd#
|
||||
, SYSDATE
|
||||
, #stateCd#
|
||||
, SYSDATE
|
||||
, #aplctAtchFileId#
|
||||
, #cmpnnCn#
|
||||
, SYSDATE
|
||||
, #frstRegisterId#
|
||||
, ''
|
||||
, #lastUpdusrId#
|
||||
|
||||
, #docuNmbr#
|
||||
, #sex#
|
||||
, #purpose#
|
||||
, #bsnsNmbr#
|
||||
, #bsnsNm#
|
||||
)
|
||||
</insert>
|
||||
|
||||
<select id="VEInstrDetailActvtHstryDAO.selectList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
|
||||
/* VEInstrDetailActvtHstryDAO.selectList */
|
||||
SELECT
|
||||
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
|
||||
WHERE
|
||||
user_id = #userId#
|
||||
|
||||
</select>
|
||||
|
||||
<select id="VEInstrDetailActvtHstryDAO.selectPagingList" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
|
||||
/* VEInstrDetailActvtHstryDAO.selectPagingList */
|
||||
SELECT
|
||||
COUNT(1) OVER() AS totCnt ,
|
||||
TO_CHAR(a.state_pnttm, 'YYYY') ||'-'||a.docu_nmbr||'호' AS docuNmbrDp ,
|
||||
b.INSTR_NM AS instrNm ,
|
||||
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
|
||||
JOIN ve_instr_detail b
|
||||
ON a.user_id = b.user_id
|
||||
AND a.instr_detail_ord = b.instr_detail_ord
|
||||
AND b.INSTR_DIV = #instrDiv#
|
||||
WHERE
|
||||
1=1
|
||||
<isNotEmpty prepend="AND" property="searchKeyword">
|
||||
b.INSTR_NM = #searchKeyword#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty prepend="AND" property="searchSelStatus">
|
||||
a.state_cd = #searchSelStatus#
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty prepend="AND" property="searchStartDt">
|
||||
TO_CHAR(a.aplct_pnttm,'YYYYMMDD') <![CDATA[ >= ]]> REPLACE(#searchStartDt#, '.' , '')
|
||||
</isNotEmpty>
|
||||
<isNotEmpty prepend="AND" property="searchEndDt">
|
||||
TO_CHAR(a.aplct_pnttm,'YYYYMMDD')<![CDATA[ <= ]]> REPLACE(#searchEndDt#, '.' , '')
|
||||
</isNotEmpty>
|
||||
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
|
||||
</select>
|
||||
|
||||
<select id="VEInstrDetailActvtHstryDAO.findById" parameterClass="VEInstrDetailActvtHstryVO" resultClass="VEInstrDetailActvtHstryVO">
|
||||
/*VEInstrDetailActvtHstryDAO.findById */
|
||||
SELECT
|
||||
TO_CHAR(a.state_pnttm, 'YYYY') ||'-'||a.docu_nmbr||'호' AS docuNmbrDp ,
|
||||
b.user_id AS userId ,
|
||||
b.instr_nm as instrNm ,
|
||||
b.phone ,
|
||||
b.post ,
|
||||
b.addr ,
|
||||
b.addr_detail as addrDetail ,
|
||||
<include refid="VEInstrDetailActvtHstryDAO.select_column_name"/>
|
||||
|
||||
|
||||
FROM
|
||||
<include refid="VEInstrDetailActvtHstryDAO.table_name"/> a
|
||||
JOIN ve_instr_detail b
|
||||
ON a.user_id = b.user_id
|
||||
AND a.instr_detail_ord = b.instr_detail_ord
|
||||
WHERE
|
||||
a.instr_detail_actvt_hstry_ord = #instrDetailActvtHstryOrd#
|
||||
|
||||
|
||||
|
||||
</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>
|
||||
|
||||
@ -89,6 +89,11 @@
|
||||
|
||||
</head>
|
||||
<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">
|
||||
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value="${info.instrDetailActvtHstryOrd }"/>
|
||||
<input type="hidden" name="stateCd" id="stateCd" value=""/>
|
||||
@ -144,6 +149,7 @@
|
||||
<th scope="row">상태</th>
|
||||
<td>
|
||||
<ve:code codeId="VEA011" code="${info.stateCd}"/>
|
||||
(${info.stateCd})
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${info.stateCd eq 20 }">
|
||||
@ -166,6 +172,43 @@
|
||||
(<c:out value='${info.post }' />)
|
||||
<c:out value='${info.addr}'/> <c:out value='${info.addrDetail}'/>
|
||||
</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>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -181,8 +224,11 @@
|
||||
<div class="btn_center">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type05" onclick="fnCnclPopup()">반려</button>
|
||||
<button type="button" class="btn_type04" onclick="fn_updateCnclUpdate('30');"; return false;">승인</button>
|
||||
<c:if test="${info.stateCd eq 10}">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,225 +1,258 @@
|
||||
<!DOCTYPE html>
|
||||
<%@ 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="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<%
|
||||
/**
|
||||
* @Class Name : eduInstrFeeMngList.jsp
|
||||
* @Description : 강사료 확정 관리 > 강사료 확정 목록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2022.12.7 안주영 최초 생성
|
||||
* @author 안주영
|
||||
* @since 2022.2.7
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:read-only{
|
||||
background-color: #ededed;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
fncGoList();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fn_goDetail(instrDetailActvtHstryOrd){
|
||||
var form = document.detailForm;
|
||||
form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ;
|
||||
form.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<title>강사활동확인서신청관리</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="detailForm" name="detailForm" method="post">
|
||||
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/>
|
||||
</form>
|
||||
<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}" />" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>강사활동확인서신청관리 목록</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>성인 찾아가는 저작권 교육</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">강사활동확인서신청관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_top_1">
|
||||
<div class="util_left">
|
||||
<p>구분</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'"
|
||||
selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue=''
|
||||
defaultText='전체'
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>신청일자</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>강사명</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<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_type03" onclick="fncReset(this); return false;">초기화</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list util -->
|
||||
<div class="list_util">
|
||||
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div>
|
||||
<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='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='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 5%;">
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 15%;"> --%>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>강사명</th>
|
||||
<th>신청일</th>
|
||||
<th>처리일</th>
|
||||
<th>발급상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;">
|
||||
<td>
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
||||
</td>
|
||||
<td>
|
||||
${list.instrNm }
|
||||
</td>
|
||||
<td>
|
||||
${list.aplctPnttm }
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.stateCd eq 10 }">
|
||||
-
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out value="${list.statePnttm }" />
|
||||
</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="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>
|
||||
<!DOCTYPE html>
|
||||
<%@ 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="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<%
|
||||
/**
|
||||
* @Class Name : eduInstrFeeMngList.jsp
|
||||
* @Description : 강사료 확정 관리 > 강사료 확정 목록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2022.12.7 안주영 최초 생성
|
||||
* @author 안주영
|
||||
* @since 2022.2.7
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:read-only{
|
||||
background-color: #ededed;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
fncGoList();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fn_goDetail(instrDetailActvtHstryOrd){
|
||||
var form = document.detailForm;
|
||||
form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ;
|
||||
form.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<title>강사활동확인서신청관리</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="detailForm" name="detailForm" method="post">
|
||||
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/>
|
||||
</form>
|
||||
<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}" />" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>강사활동확인서신청관리 목록</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>성인 찾아가는 저작권 교육</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">강사활동확인서신청관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_top_1">
|
||||
<div class="util_left">
|
||||
<p>구분</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'"
|
||||
selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue=''
|
||||
defaultText='전체'
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>신청일자</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>강사명</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<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_type03" onclick="fncReset(this); return false;">초기화</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list util -->
|
||||
<div class="list_util">
|
||||
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div>
|
||||
<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='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='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60px;">
|
||||
<col style="width: 150px;">
|
||||
<col style="width: 60px;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 150px;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 120px;">
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 15%;"> --%>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>강사명</th>
|
||||
<th>성별</th>
|
||||
<th>용도</th>
|
||||
<th>사업자명<br/>사업자등록번호</th>
|
||||
<th>신청일</th>
|
||||
<th>처리일</th>
|
||||
<th>문서번호</th>
|
||||
<th>발급상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;">
|
||||
<td>
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
||||
</td>
|
||||
<td>
|
||||
${list.instrNm }
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.sex }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.purpose }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.bsnsNm }" />
|
||||
<br/>
|
||||
(<c:out value="${list.bsnsNmbr }" />)
|
||||
</td>
|
||||
<td>
|
||||
${list.aplctPnttm }
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.stateCd eq 10 }">
|
||||
-
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out value="${list.statePnttm }" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.docuNmbr ne '' and not empty list.docuNmbr}">
|
||||
<c:out value="${list.docuNmbrDp }" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
-
|
||||
</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="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>
|
||||
|
||||
@ -89,6 +89,11 @@
|
||||
|
||||
</head>
|
||||
<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">
|
||||
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value="${info.instrDetailActvtHstryOrd }"/>
|
||||
<input type="hidden" name="stateCd" id="stateCd" value=""/>
|
||||
@ -144,6 +149,7 @@
|
||||
<th scope="row">상태</th>
|
||||
<td>
|
||||
<ve:code codeId="VEA011" code="${info.stateCd}"/>
|
||||
(${info.stateCd})
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${info.stateCd eq 20 }">
|
||||
@ -167,6 +173,43 @@
|
||||
<c:out value='${info.addr}'/> <c:out value='${info.addrDetail}'/>
|
||||
</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>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -181,8 +224,11 @@
|
||||
<div class="btn_center">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type05" onclick="fnCnclPopup()">반려</button>
|
||||
<button type="button" class="btn_type04" onclick="fn_updateCnclUpdate('30');"; return false;">승인</button>
|
||||
<c:if test="${info.stateCd eq 10}">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,225 +1,261 @@
|
||||
<!DOCTYPE html>
|
||||
<%@ 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="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<%
|
||||
/**
|
||||
* @Class Name : eduInstrFeeMngList.jsp
|
||||
* @Description : 강사료 확정 관리 > 강사료 확정 목록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2022.12.7 안주영 최초 생성
|
||||
* @author 안주영
|
||||
* @since 2022.2.7
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:read-only{
|
||||
background-color: #ededed;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
fncGoList();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fn_goDetail(instrDetailActvtHstryOrd){
|
||||
var form = document.detailForm;
|
||||
form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ;
|
||||
form.action = "<c:url value='/kccadr/oprtn/adultVisitEdu/instrActvtHstryMngDetail.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<title>강사활동확인서신청관리</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="detailForm" name="detailForm" method="post">
|
||||
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/>
|
||||
</form>
|
||||
<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}" />" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>강사활동확인서신청관리 목록</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>청소년 찾아가는 저작권 교육</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">강사활동확인서신청관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_top_1">
|
||||
<div class="util_left">
|
||||
<p>구분</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'"
|
||||
selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue=''
|
||||
defaultText='전체'
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>신청일자</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>강사명</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<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_type03" onclick="fncReset(this); return false;">초기화</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list util -->
|
||||
<div class="list_util">
|
||||
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div>
|
||||
<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='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='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 5%;">
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 15%;"> --%>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>강사명</th>
|
||||
<th>신청일</th>
|
||||
<th>처리일</th>
|
||||
<th>발급상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;">
|
||||
<td>
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
||||
</td>
|
||||
<td>
|
||||
${list.instrNm }
|
||||
</td>
|
||||
<td>
|
||||
${list.aplctPnttm }
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.stateCd eq 10 }">
|
||||
-
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out value="${list.statePnttm }" />
|
||||
</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="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>
|
||||
<!DOCTYPE html>
|
||||
<%@ 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="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<un:useConstants var="KccadrStatus" className="kcc.kccadr.cmm.KccadrConstants" />
|
||||
<%
|
||||
/**
|
||||
* @Class Name : eduInstrFeeMngList.jsp
|
||||
* @Description : 강사료 확정 관리 > 강사료 확정 목록
|
||||
* @Modification Information
|
||||
* @
|
||||
* @ 수정일 수정자 수정내용
|
||||
* @ ------- -------- ---------------------------
|
||||
* @ 2022.12.7 안주영 최초 생성
|
||||
* @author 안주영
|
||||
* @since 2022.2.7
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
*/
|
||||
%>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:read-only{
|
||||
background-color: #ededed;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function press(event) {
|
||||
if (event.keyCode==13) {
|
||||
fncGoList();
|
||||
}
|
||||
}
|
||||
|
||||
function fncGoList(){
|
||||
linkPage(1);
|
||||
}
|
||||
|
||||
function linkPage(pageNo){
|
||||
var listForm = document.listForm ;
|
||||
listForm.pageIndex.value = pageNo ;
|
||||
listForm.searchCondition.value = $('#searchCondition').val();
|
||||
listForm.searchKeyword.value = $('#searchKeyword').val();
|
||||
listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngList.do'/>";
|
||||
listForm.submit();
|
||||
}
|
||||
|
||||
function fn_goDetail(instrDetailActvtHstryOrd){
|
||||
var form = document.detailForm;
|
||||
form.instrDetailActvtHstryOrd.value = instrDetailActvtHstryOrd ;
|
||||
form.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/instrActvtHstryMngDetail.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<title>강사활동확인서신청관리</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="detailForm" name="detailForm" method="post">
|
||||
<input type="hidden" name="instrDetailActvtHstryOrd" id="instrDetailActvtHstryOrd" value=""/>
|
||||
</form>
|
||||
<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}" />" />
|
||||
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>강사활동확인서신청관리 목록</h2>
|
||||
<ul class="cont_nav">
|
||||
<li class="home"><a href="/"><i></i></a></li>
|
||||
<li>
|
||||
<p>청소년 찾아가는 저작권 교육</p>
|
||||
</li>
|
||||
<li><span class="cur_nav">강사활동확인서신청관리</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<div class="list_top_1">
|
||||
<div class="util_left">
|
||||
<p>구분</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<ve:select codeId="VEA011" name="searchSelStatus" id="searchSelStatus" css="class='sel_type1'"
|
||||
selectedValue="${vEInstrActvtHstryVO.searchSelStatus}" defaultValue=''
|
||||
defaultText='전체'
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>신청일자</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="searchStartDt" name="searchStartDt" value="<c:out value='${vEInstrActvtHstryVO.searchStartDt}'/>">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="searchEndDt" name="searchEndDt" value="<c:out value='${vEInstrActvtHstryVO.searchEndDt}'/>">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="list_top_2">
|
||||
<div class="util_left">
|
||||
<p>강사명</p>
|
||||
</div>
|
||||
<div class="util_right">
|
||||
<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_type03" onclick="fncReset(this); return false;">초기화</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
|
||||
<!-- list util -->
|
||||
<div class="list_util">
|
||||
<p class="list_util_p">총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
|
||||
<div>
|
||||
<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='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='100' <c:if test="${vEInstrActvtHstryVO.pageUnit == '100'}">selected</c:if>>100줄</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- list -->
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60px;">
|
||||
<col style="width: 150px;">
|
||||
<col style="width: 60px;">
|
||||
<col style="width: auto;">
|
||||
<col style="width: 150px;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 120px;">
|
||||
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 10%;"> --%>
|
||||
<%-- <col style="width: 15%;"> --%>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<th>강사명</th>
|
||||
<th>성별</th>
|
||||
<th>용도</th>
|
||||
<th>사업자명<br/>사업자등록번호</th>
|
||||
<th>신청일</th>
|
||||
<th>처리일</th>
|
||||
<th>문서번호</th>
|
||||
<th>발급상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr onclick="fn_goDetail('${list.instrDetailActvtHstryOrd}')" style="cursor:pointer;">
|
||||
<td>
|
||||
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.instrNm }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.sex }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.purpose }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.bsnsNm }" />
|
||||
<br/>
|
||||
(<c:out value="${list.bsnsNmbr }" />)
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<c:out value="${list.aplctPnttm }" />
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.stateCd eq 10 }">
|
||||
-
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out value="${list.statePnttm }" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.docuNmbr ne '' and not empty list.docuNmbr}">
|
||||
<c:out value="${list.docuNmbrDp }" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
-
|
||||
</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>
|
||||
|
||||
@ -1159,6 +1159,11 @@
|
||||
onclick="fncQustnrPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
||||
)" 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:otherwise>
|
||||
해당설문없음
|
||||
|
||||
@ -189,6 +189,15 @@
|
||||
|
||||
// 강사활동확인서 신청
|
||||
function insetDocReq(){
|
||||
|
||||
var v_sex = $("input:radio[name=sex]:checked").val();
|
||||
var v_purpose = $('#purpose').val();
|
||||
|
||||
if (v_purpose==''){
|
||||
alert("용도는 필수입력값 입니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
//첨부파일 체크 및 요청
|
||||
if(confirm("신청 하시겠습니까?")){
|
||||
if(control.getUploadFiles().length > 0){
|
||||
@ -209,11 +218,20 @@
|
||||
var url = "<c:url value='/web/common/insertInnorixInstrActvtAjax.do' />";
|
||||
//선택된 강사 ID
|
||||
|
||||
var v_sex = $("input:radio[name=sex]:checked").val();
|
||||
|
||||
var sendData = {
|
||||
"instrDetailOrd": $('#instrDetailOrd').val()
|
||||
, "innorixFileListVO": data
|
||||
|
||||
, "sex": v_sex
|
||||
, "purpose": $('#purpose').val()
|
||||
, "bsnsNmbr": $('#bsnsNmbr').val()
|
||||
, "bsnsNm": $('#bsnsNm').val()
|
||||
|
||||
, "successMsg" : "신청이 완료되었습니다."
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* 공통 : innorixCommon.js
|
||||
* fn_innorixCmmAjax() 호출 후 status가 성공(OK)이면 실행
|
||||
@ -794,21 +812,67 @@
|
||||
<div class="popup_cont">
|
||||
<div class="cont_body">
|
||||
<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&fileSn=1'">신청서양식 다운로드</button>
|
||||
</div>
|
||||
<%-- <div class="pop_tb_type01">
|
||||
<div class="pop_tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 22%;">
|
||||
<col style="">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<th>취소사유</th>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
</div> --%>
|
||||
</div>
|
||||
<div class="popup_cont upload_area">
|
||||
<div>
|
||||
<div class="pop_search_wrap">
|
||||
|
||||
@ -217,6 +217,15 @@
|
||||
|
||||
// 강사활동확인서 신청
|
||||
function insetDocReq(){
|
||||
|
||||
var v_sex = $("input:radio[name=sex]:checked").val();
|
||||
var v_purpose = $('#purpose').val();
|
||||
|
||||
if (v_purpose==''){
|
||||
alert("용도는 필수입력값 입니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
//첨부파일 체크 및 요청
|
||||
if(confirm("신청 하시겠습니까?")){
|
||||
if(control.getUploadFiles().length > 0){
|
||||
@ -237,9 +246,17 @@
|
||||
var url = "<c:url value='/web/common/insertInnorixInstrActvtAjax.do' />";
|
||||
//선택된 강사 ID
|
||||
|
||||
var v_sex = $("input:radio[name=sex]:checked").val();
|
||||
|
||||
var sendData = {
|
||||
"instrDetailOrd": $('#instrDetailOrd').val()
|
||||
, "innorixFileListVO": data
|
||||
|
||||
, "sex": v_sex
|
||||
, "purpose": $('#purpose').val()
|
||||
, "bsnsNmbr": $('#bsnsNmbr').val()
|
||||
, "bsnsNm": $('#bsnsNm').val()
|
||||
|
||||
, "successMsg" : "신청이 완료되었습니다."
|
||||
}
|
||||
/*
|
||||
@ -1021,21 +1038,67 @@
|
||||
<div class="popup_cont">
|
||||
<div class="cont_body">
|
||||
<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&fileSn=1'">신청서양식 다운로드</button>
|
||||
</div>
|
||||
<%-- <div class="pop_tb_type01">
|
||||
<div class="pop_tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 22%;">
|
||||
<col style="">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<!-- <tr>
|
||||
<th>취소사유</th>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
</div> --%>
|
||||
</div>
|
||||
<div class="popup_cont upload_area">
|
||||
<div>
|
||||
<div class="pop_search_wrap">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user