2025-09-02 강사화면 작업
This commit is contained in:
parent
febbda1e4a
commit
ce677b8d0d
@ -2,6 +2,7 @@ package kcc.let.sym.mnu.mcm.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.let.sym.mnu.mpm.service.MenuManageJTreeVO;
|
||||
import kcc.let.sym.mnu.mpm.service.MenuManageVO;
|
||||
@ -65,7 +66,7 @@ public interface EgovMenuCreateManageService {
|
||||
* @return List
|
||||
* @exception Exception
|
||||
*/
|
||||
List<?> selectMenuCreatList(MenuCreatVO vo) throws Exception;
|
||||
List<EgovMap> selectMenuCreatList(MenuCreatVO vo) throws Exception;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -7,6 +7,7 @@ import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.let.sym.mnu.mcm.service.EgovMenuCreateManageService;
|
||||
import kcc.let.sym.mnu.mcm.service.MenuCreatVO;
|
||||
@ -55,7 +56,7 @@ public class EgovMenuCreateManageServiceImpl extends EgovAbstractServiceImpl imp
|
||||
* @exception Exception
|
||||
*/
|
||||
@Override
|
||||
public List<?> selectMenuCreatList(MenuCreatVO vo) throws Exception {
|
||||
public List<EgovMap> selectMenuCreatList(MenuCreatVO vo) throws Exception {
|
||||
return menuCreateManageDAO.selectMenuCreatList(vo);
|
||||
}
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@ import java.util.List;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
import kcc.let.sym.mnu.mcm.service.MenuCreatVO;
|
||||
import kcc.let.sym.mnu.mpm.service.MenuManageJTreeVO;
|
||||
@ -79,8 +80,8 @@ public class MenuCreateManageDAO extends EgovAbstractDAO{
|
||||
* @return List
|
||||
* @exception Exception
|
||||
*/
|
||||
public List<?> selectMenuCreatList(MenuCreatVO vo) throws Exception{
|
||||
return list("menuManageDAO.selectMenuCreatList_D", vo);
|
||||
public List<EgovMap> selectMenuCreatList(MenuCreatVO vo) throws Exception{
|
||||
return (List<EgovMap>) list("menuManageDAO.selectMenuCreatList_D", vo);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -24,6 +24,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
|
||||
import egovframework.rte.fdl.property.EgovPropertyService;
|
||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||
import kcc.com.cmm.ComDefaultCodeVO;
|
||||
import kcc.com.cmm.ComDefaultVO;
|
||||
@ -181,9 +182,16 @@ public class EgovMenuCreateManageController {
|
||||
}*/
|
||||
//관리자 매뉴만 보이게
|
||||
// menuCreatVO.setUnderMenuNo("9000000"); //MENU_NO < 9900000
|
||||
List<?> list_menulist = menuCreateManageService.selectMenuCreatList(menuCreatVO) ;
|
||||
//List<?> list_menulist = menuCreateManageService.selectMenuCreatList(menuCreatVO) ;
|
||||
List<EgovMap> list_menulist = menuCreateManageService.selectMenuCreatList(menuCreatVO) ;
|
||||
model.addAttribute("list_menulist", list_menulist );
|
||||
model.addAttribute("resultVO", menuCreatVO);
|
||||
|
||||
System.out.println(list_menulist.size());
|
||||
System.out.println(list_menulist.size());
|
||||
System.out.println(list_menulist.size());
|
||||
|
||||
//return "sym/mnu/mcm/EgovMenuCreat";
|
||||
return "sym/mnu/mcm/EgovMenuCreat";
|
||||
}
|
||||
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
<sqlMap resource="egovframework/sqlmap/ve/prcs/VEPrcs_SQL_Postgresql.xml"/>
|
||||
<sqlMap resource="egovframework/sqlmap/ve/prcs/VEPrcsOnlnCntnt_SQL_Postgresql.xml"/>
|
||||
<sqlMap resource="egovframework/sqlmap/ve/prcs/VEPrcsAplctPrd_SQL_Postgresql.xml"/>
|
||||
<sqlMap resource="egovframework/sqlmap/ve/edu/VEEduAplctSndHstry_SQL_Postgresql.xml"/><!-- 교육신청발송이력 -->
|
||||
|
||||
|
||||
<!-- 강의복합쿼리 -->
|
||||
|
||||
@ -745,7 +745,9 @@
|
||||
, 'MENU_NM'
|
||||
, #url#
|
||||
, NOW()
|
||||
/*
|
||||
FROM DUAL
|
||||
*/
|
||||
</update>
|
||||
|
||||
|
||||
@ -794,7 +796,8 @@
|
||||
)
|
||||
|
||||
SELECT
|
||||
NVL(MAX(TO_NUMBER(REPLACE(admot_id, 'ADMOTID_', ''))) + 1, 1)
|
||||
/* NVL(MAX(TO_NUMBER(REPLACE(admot_id, 'ADMOTID_', ''))) + 1, 1) */
|
||||
COALESCE(MAX(cast(replace(admot_id, 'ADMOTID_', '') as int)) + 1, 1)
|
||||
, #methodNm#
|
||||
, 'N'
|
||||
, NOW()
|
||||
|
||||
@ -51,16 +51,17 @@
|
||||
</select>
|
||||
|
||||
<select id="selectMenuCreatList_D" parameterClass="MenuCreatVO" resultClass="egovMap">
|
||||
/* selectMenuCreatList_D */
|
||||
SELECT
|
||||
A.MENU_NO AS menuNo
|
||||
, A.MENU_ORDR AS menuOrdr
|
||||
, A.MENU_NM AS menuNm
|
||||
, A.UPPER_MENU_NO AS upperMenuId
|
||||
A.MENU_NO AS "menuNo"
|
||||
, A.MENU_ORDR AS "menuOrdr"
|
||||
, A.MENU_NM AS "menuNm"
|
||||
, A.UPPER_MENU_NO AS "upperMenuId"
|
||||
, (SELECT count(B.MENU_NO)
|
||||
FROM LETTNMENUCREATDTLS B
|
||||
WHERE B.MENU_NO = A.MENU_NO
|
||||
AND B.AUTHOR_CODE = #authorCode#
|
||||
) AS chkYeoBu
|
||||
) AS "chkYeoBu"
|
||||
FROM LETTNMENUINFO A
|
||||
WHERE A.MENU_NO > 0
|
||||
<isNotEmpty property="underMenuNo">
|
||||
|
||||
@ -117,20 +117,22 @@
|
||||
</select>
|
||||
|
||||
<select id="menuManageDAO.selectEquiLevelList" parameterClass="String" resultClass="menuManageVO">
|
||||
/* menuManageDAO.selectEquiLevelList */
|
||||
<![CDATA[
|
||||
SELECT MENU_NO as menuNo
|
||||
FROM LETTNMENUINFO
|
||||
WHERE MENU_NO like #equiLevel#
|
||||
WHERE CAST(MENU_NO AS VARCHAR) like #equiLevel#
|
||||
]]>
|
||||
</select>
|
||||
|
||||
<select id="menuManageDAO.selectUpperMenuNoByPkList" parameterClass="menuManageVO" resultClass="menuManageVO">
|
||||
/* menuManageDAO.selectUpperMenuNoByPkList */
|
||||
<![CDATA[
|
||||
SELECT
|
||||
'' AS menuCours
|
||||
/*getMenuCours(MENU_NO) AS menuCours*/
|
||||
FROM LETTNMENUINFO
|
||||
WHERE UPPER_MENU_NO = #menuNo#;
|
||||
WHERE CAST(UPPER_MENU_NO AS VARCHAR) = #menuNo#;
|
||||
]]>
|
||||
</select>
|
||||
</sqlMap>
|
||||
@ -176,6 +176,7 @@
|
||||
</insert>
|
||||
|
||||
<update id="menuManageDAO.updateMenuManage_S">
|
||||
/* menuManageDAO.updateMenuManage_S */
|
||||
<![CDATA[
|
||||
UPDATE LETTNMENUINFO
|
||||
SET MENU_ORDR = #menuOrdr#
|
||||
@ -259,7 +260,8 @@
|
||||
]]>
|
||||
</update>
|
||||
|
||||
<update id="menuManageDAO.updateMenuManageJtree" parameterClass="menuManageVO" >
|
||||
<update id="menuManageDAO.updateMenuManageJtree" parameterClass="menuManageVO" >
|
||||
/* menuManageDAO.updateMenuManageJtree */
|
||||
|
||||
UPDATE LETTNMENUINFO
|
||||
SET MENU_ORDR = #menuOrdr#
|
||||
@ -275,7 +277,7 @@
|
||||
, EMPLYR_ID = #emplyrId#
|
||||
</isNotEmpty>
|
||||
, MENU_NO = #menuNo#
|
||||
WHERE MENU_NO=#tmp_Id#
|
||||
WHERE CAST(MENU_NO AS VARCHAR)=#tmp_Id#
|
||||
|
||||
</update>
|
||||
|
||||
@ -289,7 +291,8 @@
|
||||
]]>
|
||||
</update>
|
||||
|
||||
<update id="menuManageDAO.resortMenuManage" parameterClass="menuManageVO" >
|
||||
<update id="menuManageDAO.resortMenuManage_old" parameterClass="menuManageVO" >
|
||||
/* menuManageDAO.resortMenuManage_old */
|
||||
UPDATE LETTNMENUINFO A ,
|
||||
( SELECT ROW_NUMBER() OVER(ORDER BY MENU_ORDR, LAST_UPDT_PNTTM
|
||||
<isEqual property="sortOver" compareValue="D">
|
||||
@ -304,7 +307,30 @@
|
||||
WHERE A.MENU_NO = B.MENU_NO
|
||||
</update>
|
||||
|
||||
<update id="menuManageDAO.resortMenuManage" parameterClass="menuManageVO" >
|
||||
/* menuManageDAO.resortMenuManage */
|
||||
UPDATE LETTNMENUINFO A
|
||||
SET MENU_ORDR = B.SORT1
|
||||
FROM (
|
||||
SELECT
|
||||
ROW_NUMBER() OVER (
|
||||
ORDER BY A.MENU_ORDR, A.LAST_UPDT_PNTTM
|
||||
<isEqual property="sortOver" compareValue="D">
|
||||
DESC
|
||||
</isEqual>
|
||||
) AS SORT1,
|
||||
A.MENU_NO
|
||||
FROM LETTNMENUINFO A
|
||||
LEFT JOIN LETTNMENUCREATDTLS B ON A.MENU_NO = B.MENU_NO
|
||||
WHERE A.UPPER_MENU_NO = #upperMenuId#
|
||||
AND B.AUTHOR_CODE = #authorCode#
|
||||
) B
|
||||
WHERE A.MENU_NO = B.MENU_NO
|
||||
|
||||
</update>
|
||||
|
||||
<update id="menuManageDAO.updateMenuManageJtreeLevelNo" parameterClass="menuManageVO" >
|
||||
/* menuManageDAO.updateMenuManageJtreeLevelNo */
|
||||
<![CDATA[
|
||||
UPDATE LETTNMENUINFO
|
||||
SET MENU_ORDR = #menuOrdr#
|
||||
@ -316,6 +342,7 @@
|
||||
</update>
|
||||
|
||||
<update id="menuManageDAO.updateMenuManageJtreeMove" parameterClass="menuManageVO" >
|
||||
/* menuManageDAO.updateMenuManageJtreeMove */
|
||||
<![CDATA[
|
||||
UPDATE LETTNMENUINFO
|
||||
SET MENU_ORDR = #menuOrdr#
|
||||
|
||||
@ -111,6 +111,7 @@
|
||||
|
||||
<!-- 수정시 이전 컨텐츠 정보 모두 사용안함'N' 으로 -->
|
||||
<update id="cntManageDAO.updateCntManageBeforeN" parameterClass="cntManageVO">
|
||||
/* cntManageDAO.updateCntManageBeforeN */
|
||||
<![CDATA[
|
||||
UPDATE CNT_MANAGE
|
||||
SET USE_AT = 'N'
|
||||
@ -120,6 +121,7 @@
|
||||
|
||||
<!-- 모든 컨텐츠 정보 삭제 -->
|
||||
<delete id="cntManageDAO.deleteCntManage" parameterClass="cntManageVO">
|
||||
/* cntManageDAO.deleteCntManage */
|
||||
<![CDATA[
|
||||
DELETE FROM CNT_MANAGE
|
||||
WHERE CNT_ID = #cntId#
|
||||
@ -217,6 +219,7 @@
|
||||
|
||||
<!-- 메뉴관리에서 등록시 메뉴번호 입력 -->
|
||||
<update id="cntManageDAO.updateMenuContent" parameterClass="cntManageVO">
|
||||
/* cntManageDAO.updateMenuContent */
|
||||
<![CDATA[
|
||||
UPDATE CNT_MANAGE
|
||||
SET MENU_NO = #menuNo#
|
||||
@ -226,10 +229,11 @@
|
||||
|
||||
<!-- 메뉴관리에서 등록시 메뉴번호 입력 -->
|
||||
<update id="cntManageDAO.deleteMenuNo" parameterClass="cntManageVO">
|
||||
/* cntManageDAO.deleteMenuNo */
|
||||
<![CDATA[
|
||||
UPDATE CNT_MANAGE
|
||||
SET MENU_NO = null
|
||||
WHERE MENU_NO = #menuNo#
|
||||
WHERE CAST(MENU_NO AS VARCHAR) = #menuNo#
|
||||
]]>
|
||||
</update>
|
||||
|
||||
|
||||
@ -756,6 +756,8 @@
|
||||
OR a.edu_state_cd = '35' /* 교육신청반려*/
|
||||
OR a.edu_state_cd = '50' /* 연기 */
|
||||
OR a.edu_state_cd = '70' /* 재교육 */
|
||||
OR a.edu_state_cd IS NULL /* 값없음 */
|
||||
OR a.edu_state_cd = '' /* 값없음 */
|
||||
|
||||
)
|
||||
AND a.prcs_aplct_prd_ord_cmplt IS NULL /* 병합되지 않았다. */
|
||||
|
||||
@ -0,0 +1,257 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
|
||||
<!-- 찾교 교육 신청 테이블 -->
|
||||
<sqlMap namespace="VEEduAplctSndHstry">
|
||||
<typeAlias alias="egovMap" type="egovframework.rte.psl.dataaccess.util.EgovMap"/>
|
||||
<typeAlias alias="VEEduAplctVO" type="kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO"/>
|
||||
|
||||
|
||||
<!-- 공통 테이블 명 -->
|
||||
<sql id="VEEduAplctSndHstryDAO.table_name">
|
||||
VE_EDU_APLCT_SND_HSTRY
|
||||
</sql>
|
||||
|
||||
<!-- 저장용 공통 컬럼 명 -->
|
||||
<sql id="VEEduAplctSndHstryDAO.column_name">
|
||||
EDU_APLCT_ORD,
|
||||
snd_hstry_ord,
|
||||
|
||||
snd_cd,
|
||||
snd_pnttm,
|
||||
snd_id,
|
||||
snd_cn,
|
||||
trgt_id,
|
||||
trgt
|
||||
</sql>
|
||||
|
||||
<!-- 조회용 공통 컬럼 명 -->
|
||||
<sql id="VEEduAplctSndHstryDAO.select_column_name">
|
||||
A.EDU_APLCT_ORD AS eduAplctOrd,
|
||||
a.snd_hstry_ord AS sndHstryOrd,
|
||||
|
||||
a.snd_cd AS sndCd,
|
||||
TO_CHAR(a.snd_pnttm,'YYYY-MM-DD') AS sndPnttm,
|
||||
|
||||
a.snd_id AS sndId,
|
||||
a.snd_cn AS sndCn
|
||||
|
||||
|
||||
</sql>
|
||||
|
||||
<!-- 강사 등록 C -->
|
||||
<insert id="VEEduAplctSndHstryDAO.insert" parameterClass="VEEduAplctVO">
|
||||
|
||||
/* VEEduAplctSndHstryDAO.insert */
|
||||
|
||||
MERGE INTO <include refid="VEEduAplctSndHstryDAO.table_name"/>
|
||||
USING DUAL
|
||||
ON(
|
||||
EDU_APLCT_ORD = #eduAplctOrd#
|
||||
AND SND_HSTRY_ORD = #sndHstryOrd#
|
||||
)
|
||||
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT
|
||||
(
|
||||
<include refid="VEEduAplctSndHstryDAO.column_name"/>
|
||||
)
|
||||
VALUES(
|
||||
#eduAplctOrd#,
|
||||
|
||||
#sndHstryOrd#,
|
||||
|
||||
#sndCd#,
|
||||
SYSDATE,
|
||||
#sndId#,
|
||||
SUBSTR(#sndCn#,0,950),
|
||||
#trgtId#,
|
||||
#trgt#
|
||||
/*
|
||||
sndCn
|
||||
*/
|
||||
|
||||
|
||||
|
||||
)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE
|
||||
SET
|
||||
snd_pnttm = SYSDATE
|
||||
|
||||
<isNotEmpty property="sndCd">
|
||||
, snd_cd = #sndCd#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="sndId">
|
||||
, snd_id = #sndId#
|
||||
|
||||
</isNotEmpty><isNotEmpty property="sndCn">
|
||||
/*
|
||||
, snd_cn = sndCn
|
||||
*/
|
||||
, snd_cn = SUBSTR(#sndCn#,0,950)
|
||||
</isNotEmpty><isNotEmpty property="trgtId">
|
||||
, trgt_id = #trgtId#
|
||||
</isNotEmpty><isNotEmpty property="trgt">
|
||||
, trgt = #trgt#
|
||||
</isNotEmpty>
|
||||
|
||||
</insert>
|
||||
|
||||
<!-- 강사 정보 R -->
|
||||
<select id="VEEduAplctSndHstryDAO.selectDetail" parameterClass="VEEduAplctVO" resultClass="VEEduAplctVO">
|
||||
SELECT
|
||||
<include refid="VEEduAplctSndHstryDAO.select_column_name"/>
|
||||
FROM <include refid="VEEduAplctSndHstryDAO.table_name"/> A
|
||||
WHERE A.EDU_APLCT_ORD = #eduAplctOrd#
|
||||
AND A.SND_HSTRY_ORD = #sndHstryOrd#
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 U -->
|
||||
<update id="VEEduAplctSndHstryDAO.update" parameterClass="VEEduAplctVO">
|
||||
UPDATE <include refid="VEEduAplctSndHstryDAO.table_name"/>
|
||||
SET
|
||||
|
||||
snd_hstry_ord = #sndHstryOrd#
|
||||
|
||||
|
||||
|
||||
<isNotEmpty property="sndCd">
|
||||
, snd_cd = #sndCd#
|
||||
</isNotEmpty><isNotEmpty property="sndPnttm">
|
||||
, snd_pnttm = #sndPnttm#
|
||||
</isNotEmpty><isNotEmpty property="sndId">
|
||||
, snd_id = #sndId#
|
||||
</isNotEmpty><isNotEmpty property="sndCn">
|
||||
, snd_cn = #sndCn#
|
||||
</isNotEmpty>
|
||||
|
||||
WHERE EDU_APLCT_ORD = #eduAplctOrd#
|
||||
AND SND_HSTRY_ORD = #sndHstryOrd#
|
||||
|
||||
</update>
|
||||
|
||||
<!-- 강사 정보 D -->
|
||||
<delete id="VEEduAplctSndHstryDAO.delete" parameterClass="VEEduAplctVO">
|
||||
DELETE FROM
|
||||
<include refid="VEEduAplctSndHstryDAO.table_name"/>
|
||||
WHERE
|
||||
edu_aplct_ord = #eduAplctOrd#
|
||||
AND SND_HSTRY_ORD = #sndHstryOrd#
|
||||
|
||||
</delete>
|
||||
|
||||
<!-- 강사 정보 L -->
|
||||
<select id="VEEduAplctSndHstryDAO.selectList" parameterClass="VEEduAplctVO" resultClass="VEEduAplctVO">
|
||||
SELECT
|
||||
<include refid="VEEduAplctSndHstryDAO.select_column_name"/>
|
||||
FROM
|
||||
<include refid="VEEduAplctSndHstryDAO.table_name"/> a
|
||||
WHERE
|
||||
1=1
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 강사 정보 L page -->
|
||||
<select id="VEEduAplctSndHstryDAO.selectPagingList" parameterClass="VEEduAplctVO" resultClass="VEEduAplctVO">
|
||||
SELECT
|
||||
COUNT(1) OVER() AS totCnt ,
|
||||
<include refid="VEEduAplctSndHstryDAO.select_column_name"/>
|
||||
|
||||
FROM
|
||||
<include refid="VEEduAplctSndHstryDAO.table_name"/> a
|
||||
|
||||
WHERE
|
||||
1=1
|
||||
|
||||
|
||||
<isNotEmpty property="selectPagingListQuery">
|
||||
$selectPagingListQuery$
|
||||
</isNotEmpty>
|
||||
|
||||
<isNotEmpty property="eduAplctOrd">
|
||||
AND a.edu_aplct_ord=#eduAplctOrd#
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
|
||||
|
||||
ORDER BY 1=1
|
||||
|
||||
<isEmpty property="orderByQuery">
|
||||
, a.edu_aplct_ord desc
|
||||
</isEmpty>
|
||||
<isNotEmpty property="orderByQuery">
|
||||
, $orderByQuery$
|
||||
</isNotEmpty>
|
||||
|
||||
|
||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
||||
|
||||
</select>
|
||||
|
||||
<update id="VEEduAplctSndHstryDAO.statusUpdate" parameterClass="VEEduAplctVO">
|
||||
UPDATE <include refid="VEEduAplctSndHstryDAO.table_name"/>
|
||||
SET
|
||||
LAST_UPDT_PNTTM = NOW()
|
||||
,LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
<isNotEmpty property="sbmtYn">
|
||||
, SBMT_YN = #sbmtYn#
|
||||
, SBMT_PNTTM = IF(#sbmtYn# = 'Y', NOW(), NULL)
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="aprvlCd">
|
||||
, APRVL_CD = #aprvlCd#
|
||||
, APRVL_PNTTM = NOW()
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="aprvlCn">
|
||||
, APRVL_CN = #aprvlCn#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="useYn">
|
||||
, USE_YN = #useYn#
|
||||
</isNotEmpty>
|
||||
WHERE EDU_APLCT_ORD = #eduAplctOrd#
|
||||
</update>
|
||||
|
||||
<update id="VEEduAplctSndHstryDAO.chrgInfoUpdate" parameterClass="VEEduAplctVO">
|
||||
UPDATE <include refid="VEEduAplctSndHstryDAO.table_name"/>
|
||||
SET
|
||||
LAST_UPDT_PNTTM = NOW()
|
||||
,LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
|
||||
<isNotEmpty property="chrgNm">
|
||||
, CHRG_NM = #chrgNm#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="clphone">
|
||||
, CLPHONE = #clphone#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="phone">
|
||||
, PHONE = #phone#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="email">
|
||||
, EMAIL = #email#
|
||||
</isNotEmpty>
|
||||
WHERE EDU_APLCT_ORD = #eduAplctOrd#
|
||||
</update>
|
||||
|
||||
<insert id="VEEduAplctSndHstryDAO.insertInstrChkNo" parameterClass="VEEduAplctVO">
|
||||
|
||||
/* VEEduAplctSndHstryDAO.insertInstrChkNo */
|
||||
INSERT INTO <include refid="VEEduAplctSndHstryDAO.table_name"/>
|
||||
(
|
||||
<include refid="VEEduAplctSndHstryDAO.column_name"/>
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
'강사 등록 인증메일',
|
||||
#sndHstryOrd#,
|
||||
'20',
|
||||
SYSDATE,
|
||||
#sndId#,
|
||||
SUBSTR(#sndCn#,0,950),
|
||||
#trgtId#,
|
||||
#trgt#
|
||||
)
|
||||
|
||||
</insert>
|
||||
</sqlMap>
|
||||
@ -159,7 +159,7 @@ function jstreeRefresh() {
|
||||
<div id="page_info"><div id="page_info_align"></div></div>
|
||||
|
||||
<!-- table add start -->
|
||||
<div >
|
||||
<div >
|
||||
<c:forEach var="result1" items="${list_menulist}" varStatus="status" >
|
||||
<input type="hidden" name="tmp_menuNmVal" value="${result1.menuNo}|${result1.upperMenuId}|${result1.menuNm}|${result1.progrmFileNm}|${result1.chkYeoBu}|">
|
||||
</c:forEach>
|
||||
|
||||
@ -130,16 +130,16 @@ function selectMenuCreat(vAuthorCode) { //메뉴생성 화면 호출
|
||||
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
<td><c:out value="${result.authorCode}"/></td>
|
||||
<td><c:out value="${result.authorNm}"/></td>
|
||||
<td><c:out value="${result.authorDc}"/></td>
|
||||
<td><c:out value="${result.authorcode}"/></td>
|
||||
<td><c:out value="${result.authornm}"/></td>
|
||||
<td><c:out value="${result.authordc}"/></td>
|
||||
<td>
|
||||
<c:if test="${result.chkYeoBu > 0}">Y</c:if>
|
||||
<c:if test="${result.chkYeoBu == 0}">N</c:if>
|
||||
<c:if test="${result.chkyeobu > 0}">Y</c:if>
|
||||
<c:if test="${result.chkyeobu == 0}">N</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<%-- <c:if test="${result.authorCode == 'ROLE_ADMIN' or result.authorCode == 'ROLE_USER_MEMBER'}"> --%>
|
||||
<a href="#" onclick="selectMenuCreat('<c:out value="${result.authorCode}"/>'); return false;"><input type="button" value="메뉴생성" class="btnType01"></a>
|
||||
<a href="#" onclick="selectMenuCreat('<c:out value="${result.authorcode}"/>'); return false;"><input type="button" value="메뉴생성" class="btnType01"></a>
|
||||
<%-- </c:if> --%>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -85,6 +85,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
// 리스트 상태값 확인
|
||||
/*
|
||||
$(".ddlnCdStts").each(function() {
|
||||
var $thisCell = $(this);
|
||||
var $applyButton = $thisCell.closest('tr').find(".aplctBtn button");
|
||||
@ -164,19 +165,21 @@ $(document).ready(function(){
|
||||
|
||||
}
|
||||
|
||||
/* 24.01.22 웹접근성 검사를 위하여 disabled 사용제외 */
|
||||
// 24.01.22 웹접근성 검사를 위하여 disabled 사용제외
|
||||
if($applyButton.prop('disabled')){
|
||||
$applyButton.removeAttr('onclick');
|
||||
$applyButton.prop('disabled', false);
|
||||
$applyButton.css('background-color', '#888');
|
||||
/*24.01.23 웹접근성 검사를 위하여 title 추가*/
|
||||
//*24.01.23 웹접근성 검사를 위하여 title 추가*
|
||||
$applyButton.attr('title','비활성화됨');
|
||||
$applyButton.removeAttr('data-tooltip');
|
||||
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
// 리스트 상태값 확인
|
||||
/*
|
||||
$(".ddlnCdSttsM").each(function() {
|
||||
var $thisCell = $(this);
|
||||
var $applyButton = $thisCell.closest('ul').find(".aplctBtnM button");
|
||||
@ -255,17 +258,18 @@ $(document).ready(function(){
|
||||
|
||||
}
|
||||
|
||||
/* 24.01.22 웹접근성 검사를 위하여 disabled 사용제외 */
|
||||
/* 24.01.22 웹접근성 검사를 위하여 disabled 사용제외 *
|
||||
if($applyButton.prop('disabled')){
|
||||
$applyButton.removeAttr('onclick');
|
||||
$applyButton.prop('disabled', false);
|
||||
$applyButton.css('background-color', '#888');
|
||||
/*24.01.23 웹접근성 검사를 위하여 title 추가*/
|
||||
/*24.01.23 웹접근성 검사를 위하여 title 추가*
|
||||
$applyButton.attr('title','비활성화됨');
|
||||
$applyButton.removeAttr('data-tooltip');
|
||||
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
const dBirth = document.querySelector(".dBirth");
|
||||
dBirth.localization = {
|
||||
@ -388,7 +392,7 @@ $(document).ready(function(){
|
||||
var data ={
|
||||
"prcsAplctPrdOrd": prcsAplctPrdOrd,
|
||||
"eduAplctOrd": eduAplctOrd
|
||||
}
|
||||
}
|
||||
|
||||
commonPopLayeropen(
|
||||
"${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/eduAplctPop.do"
|
||||
@ -594,7 +598,7 @@ $(document).ready(function(){
|
||||
<button type="button" class="btnType04"
|
||||
data-tooltip="target_confirm_popup"
|
||||
data-info="<c:out value='${list.prcsAplctPrdOrd}'/>"
|
||||
onclick="fn_eduRegPopup('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" title="팝업 열림" disabled>신청</button>
|
||||
onclick="fn_eduRegPopup('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" title="팝업 열림">신청</button>
|
||||
</td>
|
||||
</c:if>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user