엑셀 업로드 파일용량 확인
This commit is contained in:
parent
3b093dcdb1
commit
08ca5447ba
@ -1,48 +1,48 @@
|
||||
/*
|
||||
* Copyright 2008-2009 MOPAS(Ministry of Public Administration and Security).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package itn.com.cmm.filter;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.servlet.Filter;
|
||||
import javax.servlet.FilterChain;
|
||||
import javax.servlet.FilterConfig;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
public class XssFilter implements Filter{
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private FilterConfig config;
|
||||
|
||||
public void doFilter(ServletRequest request, ServletResponse response,
|
||||
FilterChain chain) throws IOException, ServletException {
|
||||
ServletContext context = config.getServletContext();
|
||||
chain.doFilter(new XssFilterRequestWrapper((HttpServletRequest)request), response);
|
||||
//chain.doFilter(new XssFilterRequestWrapper((HttpServletRequest)request , response , context ), response);
|
||||
}
|
||||
|
||||
public void init(FilterConfig config) throws ServletException {
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
this.config = null;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Copyright 2008-2009 MOPAS(Ministry of Public Administration and Security).
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package itn.com.cmm.filter;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.servlet.Filter;
|
||||
import javax.servlet.FilterChain;
|
||||
import javax.servlet.FilterConfig;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
public class XssFilter implements Filter{
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private FilterConfig config;
|
||||
|
||||
public void doFilter(ServletRequest request, ServletResponse response,
|
||||
FilterChain chain) throws IOException, ServletException {
|
||||
ServletContext context = config.getServletContext();
|
||||
chain.doFilter(new XssFilterRequestWrapper((HttpServletRequest)request), response);
|
||||
//chain.doFilter(new XssFilterRequestWrapper((HttpServletRequest)request , response , context ), response);
|
||||
}
|
||||
|
||||
public void init(FilterConfig config) throws ServletException {
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
this.config = null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,54 +1,54 @@
|
||||
package itn.let.mjo.addr.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import itn.let.mail.service.StatusResponse;
|
||||
|
||||
/**
|
||||
* 주소록 관리를 위한 서비스 인터페이스 클래스
|
||||
* @author ITN
|
||||
* @since 2021.04.08
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* << 개정이력(Modification Information) >>
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2021.04.08 ITN 최초 생성
|
||||
* </pre>
|
||||
*/
|
||||
public interface AddrGroupService {
|
||||
|
||||
public List<AddrGroupVO> selectAddrGroupList(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public AddrGroupVO selectAddrGroupDetail(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
// 주소록 그룹 카운트 조회(전체)
|
||||
public AddrGroupVO selectAddrGroupTotCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
// 주소록 그룹 카운트 조회(그룹미지정)
|
||||
public AddrGroupVO selectAddrGroupNogrpCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
// 주소록 그룹 카운트 조회(자주보내는 번호)
|
||||
public AddrGroupVO selectAddrGroupBookmarkCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public String insertAddrGroup(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int updateAddrGroup(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int deleteAddrGroup(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int deleteAddrGroupByAdmin(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int deleteAddrGroupByAdminAll(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int selectDuplAddrGroupCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int selectMaxOrderNumber(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public void mergeAddrGroupAjax(AddrGroupVO addrGroupVO, AddrVO addrVO) throws Exception;
|
||||
|
||||
public void copyAddrGroupAjax(AddrGroupVO addrGroupVO, AddrVO addrVO) throws Exception;
|
||||
|
||||
}
|
||||
package itn.let.mjo.addr.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import itn.let.mail.service.StatusResponse;
|
||||
|
||||
/**
|
||||
* 주소록 관리를 위한 서비스 인터페이스 클래스
|
||||
* @author ITN
|
||||
* @since 2021.04.08
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* << 개정이력(Modification Information) >>
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2021.04.08 ITN 최초 생성
|
||||
* </pre>
|
||||
*/
|
||||
public interface AddrGroupService {
|
||||
|
||||
public List<AddrGroupVO> selectAddrGroupList(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public AddrGroupVO selectAddrGroupDetail(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
// 주소록 그룹 카운트 조회(전체)
|
||||
public AddrGroupVO selectAddrGroupTotCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
// 주소록 그룹 카운트 조회(그룹미지정)
|
||||
public AddrGroupVO selectAddrGroupNogrpCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
// 주소록 그룹 카운트 조회(자주보내는 번호)
|
||||
public AddrGroupVO selectAddrGroupBookmarkCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public String insertAddrGroup(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int updateAddrGroup(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int deleteAddrGroup(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int deleteAddrGroupByAdmin(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int deleteAddrGroupByAdminAll(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int selectDuplAddrGroupCnt(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public int selectMaxOrderNumber(AddrGroupVO addrGroupVO) throws Exception;
|
||||
|
||||
public void mergeAddrGroupAjax(AddrGroupVO addrGroupVO, AddrVO addrVO) throws Exception;
|
||||
|
||||
public void copyAddrGroupAjax(AddrGroupVO addrGroupVO, AddrVO addrVO) throws Exception;
|
||||
|
||||
}
|
||||
|
||||
@ -1,357 +1,357 @@
|
||||
package itn.let.mjo.pay.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||
import itn.let.mjo.pay.service.MjonPayVO;
|
||||
import itn.let.mjo.pay.service.MjonVaMsgLogVO;
|
||||
import itn.let.mjo.pay.service.RefundVO;
|
||||
import itn.let.mjo.pay.service.StVcVO;
|
||||
@Repository("mjonPayDAO")
|
||||
public class MjonPayDAO extends EgovAbstractDAO {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashRemainList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashRemainList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashRemainNewList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashRemainNewList", mjonPayVO);
|
||||
}
|
||||
|
||||
public int selectCashRemainNewCnt(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectCashRemainNewCnt", mjonPayVO);
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectMemberCashList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectMemberCashList", mjonPayVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectCashVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectCashVO", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertCash(MjonPayVO mjonPayVO) throws Exception{
|
||||
|
||||
try {
|
||||
|
||||
insert("mjonPayDAO.insertCash", mjonPayVO);
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void updateCash(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.updateCash", mjonPayVO);
|
||||
}
|
||||
|
||||
public void deleteCash(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.deleteCash", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertMjPg(MjonPayVO mjonPayVO) throws Exception{
|
||||
insert("mjonPayDAO.insertMjPg", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertMjTax(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.insertMjTax", mjonPayVO);
|
||||
}
|
||||
|
||||
public void updateMemberCash(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.updateMemberCash", mjonPayVO);
|
||||
}
|
||||
|
||||
public void updateMemberPoint(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.updateMemberPoint", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertPoint(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.insertPoint", mjonPayVO);
|
||||
|
||||
}
|
||||
|
||||
public MjonPayVO selectPayVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPayVO", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPointList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPointList", mjonPayVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 입금내역 조회 by pk
|
||||
public StVcVO selectVacsByPk(StVcVO stVcVO) throws Exception{
|
||||
return (StVcVO)select("mjonPayDAO.selectVacsByPk", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 회원ID 조회 by 입금자명
|
||||
public StVcVO selectMberIdByIacctNm(StVcVO stVcVO) throws Exception{
|
||||
return (StVcVO)select("mjonPayDAO.selectMberIdByIacctNm", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 충전내역 요청여부 by 가상계좌입금정보
|
||||
public StVcVO selectVaChargeByVc(StVcVO stVcVO) throws Exception{
|
||||
return (StVcVO)select("mjonPayDAO.selectVaChargeByVc", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 입금 자동충전 충전내역 등록
|
||||
public void insertVaCharge(StVcVO stVcVO) throws Exception{
|
||||
insert("mjonPayDAO.insertVaCharge", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 입금 자동충전 충전내역 수정
|
||||
public void updateVaCharge(StVcVO stVcVO) throws Exception{
|
||||
update("mjonPayDAO.updateVaCharge", stVcVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPointVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPointVO", mjonPayVO);
|
||||
}
|
||||
|
||||
public void deletePoint(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.deletePoint", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectUsedCashTotCnt(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectUsedCashTotCnt", mjonPayVO);
|
||||
}
|
||||
|
||||
//전용계좌 문자발송 로그 기록 입력
|
||||
public int insertVaMsgLogInfo(MjonVaMsgLogVO mjonVaMsgLogVO) throws Exception{
|
||||
return update("mjonPayDAO.insertVaMsgLogInfo", mjonVaMsgLogVO);
|
||||
}
|
||||
|
||||
//일일 전용계좌 문자발성 건수 불러오기
|
||||
public MjonVaMsgLogVO selectMyAcctSendCnt(MjonVaMsgLogVO mjonVaMsgLogVO) throws Exception {
|
||||
return (MjonVaMsgLogVO) select("mjonPayDAO.selectMyAcctSendCnt", mjonVaMsgLogVO);
|
||||
}
|
||||
|
||||
// 모바일(KG 모빌리언스) 인서트
|
||||
public void insertKgm(MjonPayVO mjonPayVO) throws Exception{
|
||||
insert("mjonPayDAO.insertKgm", mjonPayVO);
|
||||
}
|
||||
|
||||
// 모바일(KG 모빌리언스) VO
|
||||
public MjonPayVO selectKgmVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectKgmVO", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertPointUse(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.insertPointUse", mjonPayVO);
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPointUseList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPointUseList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public MjonPayVO selectPointUseDetail(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPointUseDetail", mjonPayVO);
|
||||
}
|
||||
|
||||
public void updatePointUse(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.updatePointUse", mjonPayVO);
|
||||
}
|
||||
|
||||
public String selectSumPayMoney(String userId) throws Exception{
|
||||
return (String) select("mjonPayDAO.selectSumPayMoney", userId);
|
||||
}
|
||||
|
||||
public String selectAgentSumPayMoney(String userId) throws Exception{
|
||||
return (String) select("mjonPayDAO.selectAgentSumPayMoney", userId);
|
||||
}
|
||||
|
||||
public String selectSumPoint(String userId) throws Exception{
|
||||
return (String) select("mjonPayDAO.selectSumPoint", userId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayListForRefund(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayListForRefund", mjonPayVO);
|
||||
}
|
||||
|
||||
public int updateMjonPgStatus(RefundVO refundVO) throws Exception {
|
||||
return update("mjonPayDAO.updateMjonPgStatus", refundVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayDayChart(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayDayChart", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayMonthChart(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayMonthChart", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayDayChartDashboard(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayDayChartDashboard", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayMonthChartDashboard(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayMonthChartDashboard", mjonPayVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPayYearChart(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPayYearChart", mjonPayVO);
|
||||
}
|
||||
|
||||
public int selectMemerPayCount(String userId) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectMemerPayCount", userId);
|
||||
}
|
||||
|
||||
public int selectPayCountByTid(String tid) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectPayCountByTid", tid);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPrvMonthUseCash(String mberId) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPrvMonthUseCash", mberId);
|
||||
}
|
||||
|
||||
public int updateMjonPgStatusAfterPay(MjonPayVO mjonPayVO) throws Exception {
|
||||
return update("mjonPayDAO.updateMjonPgStatusAfterPay", mjonPayVO);
|
||||
}
|
||||
|
||||
//첫결제 정보 불러오기
|
||||
public MjonPayVO selectFrstPayInfoByUserId(String userId) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectFrstPayInfoByUserId", userId);
|
||||
}
|
||||
|
||||
//첫결제 충전 포인트 정보 불러오기
|
||||
public MjonPayVO selectFrstPointInfoByUserId(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectFrstPointInfoByUserId", mjonPayVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPayInfoByMoid(String moid) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectPayInfoByMoid", moid);
|
||||
}
|
||||
|
||||
public String selectOneYearPayCnt(String userId) throws Exception{
|
||||
return (String)select("mjonPayDAO.selectOneYearPayCnt", userId);
|
||||
}
|
||||
|
||||
|
||||
public int selectCashPointSendIdCnt(String userId) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectCashPointSendIdCnt", userId);
|
||||
}
|
||||
|
||||
public MjonPayVO selectCashPoint(String userId) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectCashPoint", userId);
|
||||
}
|
||||
|
||||
public void insertMjCashPointSend(MjonPayVO mjonPayVO) throws Exception{
|
||||
insert("mjonPayDAO.insertMjCashPointSend", mjonPayVO);
|
||||
}
|
||||
|
||||
public String selectCashPointUniqId(String mberId) throws Exception{
|
||||
return (String)select("mjonPayDAO.selectCashPointUniqId", mberId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashPointSendList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashPointSendList", mjonPayVO);
|
||||
}
|
||||
|
||||
// 문자 발송단가 할인여부
|
||||
public int selectMsgSalePriceCnt(String userId) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectMsgSalePriceCnt", userId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectUsedCashWithKakaoTotCnt(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectUsedCashWithKakaoTotCnt", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashInfoList(String userId) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashInfoList", userId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPointInfoList(String userId) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPointInfoList", userId);
|
||||
}
|
||||
|
||||
public String selectPointLatestOnePoint(String userId) {
|
||||
|
||||
return (String) select("mjonPayDAO.selectPointLatestOnePoint", userId);
|
||||
|
||||
}
|
||||
|
||||
//누적 사용금액 조회 (캐시 테이블에서 현재까지 사용된 금액 합산 - 캐시 테이블에서 "-"로 사용된 금액만 합산)
|
||||
public String selectTotalSumCashForAfterPay(String userId) throws Exception{
|
||||
|
||||
String result = "";
|
||||
|
||||
try {
|
||||
|
||||
result = (String) select("mjonPayDAO.selectTotalSumCashForAfterPay", userId);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("selectTotalSumCashForAfterPay DAO Error!!! " + e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
|
||||
//누적 사용 포인트 조회 (포인트 테이블에서 현재까지 사용된 포인트 합산 - 회원 포인트 정보 업데이트시 사용되는 쿼리 이용)
|
||||
public String selectTotalSumPointForAfterPay(String userId) throws Exception{
|
||||
|
||||
String result = "";
|
||||
|
||||
try {
|
||||
|
||||
result = (String) select("mjonPayDAO.selectTotalSumPointForAfterPay", userId);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("selectTotalSumPointForAfterPay DAO Error!!! " + e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
//누적 납부금액 조회 (후불회원이 사용금액을 실 납부한 금액 합산 - 미납 금액 제외한 총 합산 금액)
|
||||
public String selectTotSumPaymentAfterPay(String userId) throws Exception{
|
||||
|
||||
String result = "";
|
||||
|
||||
try {
|
||||
|
||||
result = (String) select("mjonPayDAO.selectTotSumPaymentAfterPay", userId);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("selectTotSumPaymentAfterPay DAO Error!!! " + e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
package itn.let.mjo.pay.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
|
||||
import itn.let.mjo.pay.service.MjonPayVO;
|
||||
import itn.let.mjo.pay.service.MjonVaMsgLogVO;
|
||||
import itn.let.mjo.pay.service.RefundVO;
|
||||
import itn.let.mjo.pay.service.StVcVO;
|
||||
@Repository("mjonPayDAO")
|
||||
public class MjonPayDAO extends EgovAbstractDAO {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashRemainList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashRemainList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashRemainNewList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashRemainNewList", mjonPayVO);
|
||||
}
|
||||
|
||||
public int selectCashRemainNewCnt(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectCashRemainNewCnt", mjonPayVO);
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectMemberCashList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectMemberCashList", mjonPayVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectCashVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectCashVO", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertCash(MjonPayVO mjonPayVO) throws Exception{
|
||||
|
||||
try {
|
||||
|
||||
insert("mjonPayDAO.insertCash", mjonPayVO);
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void updateCash(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.updateCash", mjonPayVO);
|
||||
}
|
||||
|
||||
public void deleteCash(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.deleteCash", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertMjPg(MjonPayVO mjonPayVO) throws Exception{
|
||||
insert("mjonPayDAO.insertMjPg", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertMjTax(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.insertMjTax", mjonPayVO);
|
||||
}
|
||||
|
||||
public void updateMemberCash(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.updateMemberCash", mjonPayVO);
|
||||
}
|
||||
|
||||
public void updateMemberPoint(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.updateMemberPoint", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertPoint(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.insertPoint", mjonPayVO);
|
||||
|
||||
}
|
||||
|
||||
public MjonPayVO selectPayVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPayVO", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPointList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPointList", mjonPayVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 입금내역 조회 by pk
|
||||
public StVcVO selectVacsByPk(StVcVO stVcVO) throws Exception{
|
||||
return (StVcVO)select("mjonPayDAO.selectVacsByPk", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 회원ID 조회 by 입금자명
|
||||
public StVcVO selectMberIdByIacctNm(StVcVO stVcVO) throws Exception{
|
||||
return (StVcVO)select("mjonPayDAO.selectMberIdByIacctNm", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 충전내역 요청여부 by 가상계좌입금정보
|
||||
public StVcVO selectVaChargeByVc(StVcVO stVcVO) throws Exception{
|
||||
return (StVcVO)select("mjonPayDAO.selectVaChargeByVc", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 입금 자동충전 충전내역 등록
|
||||
public void insertVaCharge(StVcVO stVcVO) throws Exception{
|
||||
insert("mjonPayDAO.insertVaCharge", stVcVO);
|
||||
}
|
||||
|
||||
// 가상계좌(세틀뱅크) 입금 자동충전 충전내역 수정
|
||||
public void updateVaCharge(StVcVO stVcVO) throws Exception{
|
||||
update("mjonPayDAO.updateVaCharge", stVcVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPointVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPointVO", mjonPayVO);
|
||||
}
|
||||
|
||||
public void deletePoint(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.deletePoint", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectUsedCashTotCnt(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectUsedCashTotCnt", mjonPayVO);
|
||||
}
|
||||
|
||||
//전용계좌 문자발송 로그 기록 입력
|
||||
public int insertVaMsgLogInfo(MjonVaMsgLogVO mjonVaMsgLogVO) throws Exception{
|
||||
return update("mjonPayDAO.insertVaMsgLogInfo", mjonVaMsgLogVO);
|
||||
}
|
||||
|
||||
//일일 전용계좌 문자발성 건수 불러오기
|
||||
public MjonVaMsgLogVO selectMyAcctSendCnt(MjonVaMsgLogVO mjonVaMsgLogVO) throws Exception {
|
||||
return (MjonVaMsgLogVO) select("mjonPayDAO.selectMyAcctSendCnt", mjonVaMsgLogVO);
|
||||
}
|
||||
|
||||
// 모바일(KG 모빌리언스) 인서트
|
||||
public void insertKgm(MjonPayVO mjonPayVO) throws Exception{
|
||||
insert("mjonPayDAO.insertKgm", mjonPayVO);
|
||||
}
|
||||
|
||||
// 모바일(KG 모빌리언스) VO
|
||||
public MjonPayVO selectKgmVO(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectKgmVO", mjonPayVO);
|
||||
}
|
||||
|
||||
public void insertPointUse(MjonPayVO mjonPayVO) throws Exception {
|
||||
insert("mjonPayDAO.insertPointUse", mjonPayVO);
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPointUseList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPointUseList", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public MjonPayVO selectPointUseDetail(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPointUseDetail", mjonPayVO);
|
||||
}
|
||||
|
||||
public void updatePointUse(MjonPayVO mjonPayVO) throws Exception{
|
||||
update("mjonPayDAO.updatePointUse", mjonPayVO);
|
||||
}
|
||||
|
||||
public String selectSumPayMoney(String userId) throws Exception{
|
||||
return (String) select("mjonPayDAO.selectSumPayMoney", userId);
|
||||
}
|
||||
|
||||
public String selectAgentSumPayMoney(String userId) throws Exception{
|
||||
return (String) select("mjonPayDAO.selectAgentSumPayMoney", userId);
|
||||
}
|
||||
|
||||
public String selectSumPoint(String userId) throws Exception{
|
||||
return (String) select("mjonPayDAO.selectSumPoint", userId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayListForRefund(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayListForRefund", mjonPayVO);
|
||||
}
|
||||
|
||||
public int updateMjonPgStatus(RefundVO refundVO) throws Exception {
|
||||
return update("mjonPayDAO.updateMjonPgStatus", refundVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayDayChart(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayDayChart", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayMonthChart(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayMonthChart", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayDayChartDashboard(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayDayChartDashboard", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPayMonthChartDashboard(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPayMonthChartDashboard", mjonPayVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPayYearChart(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPayYearChart", mjonPayVO);
|
||||
}
|
||||
|
||||
public int selectMemerPayCount(String userId) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectMemerPayCount", userId);
|
||||
}
|
||||
|
||||
public int selectPayCountByTid(String tid) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectPayCountByTid", tid);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPrvMonthUseCash(String mberId) throws Exception{
|
||||
return (MjonPayVO)select("mjonPayDAO.selectPrvMonthUseCash", mberId);
|
||||
}
|
||||
|
||||
public int updateMjonPgStatusAfterPay(MjonPayVO mjonPayVO) throws Exception {
|
||||
return update("mjonPayDAO.updateMjonPgStatusAfterPay", mjonPayVO);
|
||||
}
|
||||
|
||||
//첫결제 정보 불러오기
|
||||
public MjonPayVO selectFrstPayInfoByUserId(String userId) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectFrstPayInfoByUserId", userId);
|
||||
}
|
||||
|
||||
//첫결제 충전 포인트 정보 불러오기
|
||||
public MjonPayVO selectFrstPointInfoByUserId(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectFrstPointInfoByUserId", mjonPayVO);
|
||||
}
|
||||
|
||||
public MjonPayVO selectPayInfoByMoid(String moid) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectPayInfoByMoid", moid);
|
||||
}
|
||||
|
||||
public String selectOneYearPayCnt(String userId) throws Exception{
|
||||
return (String)select("mjonPayDAO.selectOneYearPayCnt", userId);
|
||||
}
|
||||
|
||||
|
||||
public int selectCashPointSendIdCnt(String userId) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectCashPointSendIdCnt", userId);
|
||||
}
|
||||
|
||||
public MjonPayVO selectCashPoint(String userId) throws Exception{
|
||||
return (MjonPayVO) select("mjonPayDAO.selectCashPoint", userId);
|
||||
}
|
||||
|
||||
public void insertMjCashPointSend(MjonPayVO mjonPayVO) throws Exception{
|
||||
insert("mjonPayDAO.insertMjCashPointSend", mjonPayVO);
|
||||
}
|
||||
|
||||
public String selectCashPointUniqId(String mberId) throws Exception{
|
||||
return (String)select("mjonPayDAO.selectCashPointUniqId", mberId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashPointSendList(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashPointSendList", mjonPayVO);
|
||||
}
|
||||
|
||||
// 문자 발송단가 할인여부
|
||||
public int selectMsgSalePriceCnt(String userId) throws Exception{
|
||||
return (int) select("mjonPayDAO.selectMsgSalePriceCnt", userId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectUsedCashWithKakaoTotCnt(MjonPayVO mjonPayVO) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectUsedCashWithKakaoTotCnt", mjonPayVO);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectCashInfoList(String userId) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectCashInfoList", userId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MjonPayVO> selectPointInfoList(String userId) throws Exception{
|
||||
return (List<MjonPayVO>)list("mjonPayDAO.selectPointInfoList", userId);
|
||||
}
|
||||
|
||||
public String selectPointLatestOnePoint(String userId) {
|
||||
|
||||
return (String) select("mjonPayDAO.selectPointLatestOnePoint", userId);
|
||||
|
||||
}
|
||||
|
||||
//누적 사용금액 조회 (캐시 테이블에서 현재까지 사용된 금액 합산 - 캐시 테이블에서 "-"로 사용된 금액만 합산)
|
||||
public String selectTotalSumCashForAfterPay(String userId) throws Exception{
|
||||
|
||||
String result = "";
|
||||
|
||||
try {
|
||||
|
||||
result = (String) select("mjonPayDAO.selectTotalSumCashForAfterPay", userId);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("selectTotalSumCashForAfterPay DAO Error!!! " + e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
|
||||
//누적 사용 포인트 조회 (포인트 테이블에서 현재까지 사용된 포인트 합산 - 회원 포인트 정보 업데이트시 사용되는 쿼리 이용)
|
||||
public String selectTotalSumPointForAfterPay(String userId) throws Exception{
|
||||
|
||||
String result = "";
|
||||
|
||||
try {
|
||||
|
||||
result = (String) select("mjonPayDAO.selectTotalSumPointForAfterPay", userId);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("selectTotalSumPointForAfterPay DAO Error!!! " + e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
//누적 납부금액 조회 (후불회원이 사용금액을 실 납부한 금액 합산 - 미납 금액 제외한 총 합산 금액)
|
||||
public String selectTotSumPaymentAfterPay(String userId) throws Exception{
|
||||
|
||||
String result = "";
|
||||
|
||||
try {
|
||||
|
||||
result = (String) select("mjonPayDAO.selectTotSumPaymentAfterPay", userId);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("selectTotSumPaymentAfterPay DAO Error!!! " + e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,94 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:egov-security="http://www.egovframe.go.kr/schema/egov-security"
|
||||
xmlns:security="http://www.springframework.org/schema/security"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
||||
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.2.xsd
|
||||
http://www.egovframe.go.kr/schema/egov-security http://www.egovframe.go.kr/schema/egov-security/egov-security-3.7.xsd">
|
||||
|
||||
<security:http pattern="/css/**" security="none"/>
|
||||
<security:http pattern="/html/**" security="none"/>
|
||||
<security:http pattern="/images/**" security="none"/>
|
||||
<security:http pattern="/js/**" security="none"/>
|
||||
<security:http pattern="/resource/**" security="none"/>
|
||||
<security:http pattern="\A/WEB-INF/jsp/.*\Z" request-matcher="regex" security="none"/>
|
||||
|
||||
<egov-security:config id="securityConfig"
|
||||
loginUrl="/uat/uia/actionMain.do"
|
||||
logoutSuccessUrl="/uat/uia/actionMain.do"
|
||||
loginFailureUrl="/uat/uia/actionSecurityLogin.do?login_error=1"
|
||||
accessDeniedUrl="/sec/ram/accessDenied.do"
|
||||
|
||||
dataSource="egov.dataSource"
|
||||
|
||||
jdbcUsersByUsernameQuery="SELECT USER_ID, ESNTL_ID AS PASSWORD, 1 ENABLED, USER_NM, USER_ZIP,
|
||||
USER_ADRES, USER_EMAIL, USER_SE, '-' ORGNZT_ID, ESNTL_ID, MBTLNUM AS MOBLPHONNO,
|
||||
'-' ORGNZT_NM, AUTHOR_CODE AS AUTHORITY, DEPT
|
||||
FROM COMVNUSERMASTER A
|
||||
INNER JOIN LETTNEMPLYRSCRTYESTBS B ON A.ESNTL_ID = B.SCRTY_DTRMN_TRGET_ID
|
||||
WHERE CONCAT(USER_SE, USER_ID) = ?"
|
||||
|
||||
jdbcAuthoritiesByUsernameQuery="SELECT A.SCRTY_DTRMN_TRGET_ID USER_ID, A.AUTHOR_CODE AUTHORITY
|
||||
FROM LETTNEMPLYRSCRTYESTBS A, COMVNUSERMASTER B
|
||||
WHERE A.SCRTY_DTRMN_TRGET_ID = B.ESNTL_ID AND B.USER_ID = ?"
|
||||
|
||||
jdbcMapClass="itn.let.uat.uia.service.impl.EgovSessionMapping"
|
||||
|
||||
requestMatcherType="regex"
|
||||
hash="plaintext"
|
||||
hashBase64="false"
|
||||
|
||||
concurrentMaxSessons="999"
|
||||
concurrentExpiredUrl="/"
|
||||
|
||||
defaultTargetUrl="/uat/uia/actionMain.do"
|
||||
|
||||
/>
|
||||
|
||||
<!--원 소스 -->
|
||||
<!-- defaultTargetUrl="/uat/uia/actionMain.do" -->
|
||||
|
||||
<!-- sqlHierarchicalRoles="
|
||||
SELECT a.CHLDRN_ROLE child, a.PARNTS_ROLE parent
|
||||
FROM LETTNROLES_HIERARCHY a LEFT JOIN LETTNROLES_HIERARCHY b on (a.CHLDRN_ROLE = b.PARNTS_ROLE)" -->
|
||||
|
||||
<egov-security:secured-object-config id="securedObjectConfig"
|
||||
roleHierarchyString="
|
||||
ROLE_ADMIN > ROLE_USER_MEMBER
|
||||
ROLE_USER_MEMBER > ROLE_ANONYMOUS"
|
||||
|
||||
sqlRolesAndUrl="
|
||||
SELECT a.ROLE_PTTRN url, b.AUTHOR_CODE authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'url'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
sqlRolesAndMethod="
|
||||
SELECT a.ROLE_PTTRN method, b.AUTHOR_CODE authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'method'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
sqlRolesAndPointcut="
|
||||
SELECT a.ROLE_PTTRN pointcut, b.AUTHOR_CODE authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'pointcut'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
sqlRegexMatchedRequestMapping="
|
||||
SELECT a.resource_pattern uri, b.authority authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'regex'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
/>
|
||||
|
||||
<egov-security:initializer id="initializer" supportMethod="true" supportPointcut="false" />
|
||||
|
||||
<!-- URL에 세미콜론(semicolon)허용 여부(기본값/false) -->
|
||||
<bean id="egovStrictHttpFirewall" class="org.springframework.security.web.firewall.StrictHttpFirewall">
|
||||
<property name="allowSemicolon" value="true"/>
|
||||
</bean>
|
||||
<security:http-firewall ref="egovStrictHttpFirewall"/>
|
||||
|
||||
</beans>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:egov-security="http://www.egovframe.go.kr/schema/egov-security"
|
||||
xmlns:security="http://www.springframework.org/schema/security"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
||||
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.2.xsd
|
||||
http://www.egovframe.go.kr/schema/egov-security http://www.egovframe.go.kr/schema/egov-security/egov-security-3.7.xsd">
|
||||
|
||||
<security:http pattern="/css/**" security="none"/>
|
||||
<security:http pattern="/html/**" security="none"/>
|
||||
<security:http pattern="/images/**" security="none"/>
|
||||
<security:http pattern="/js/**" security="none"/>
|
||||
<security:http pattern="/resource/**" security="none"/>
|
||||
<security:http pattern="\A/WEB-INF/jsp/.*\Z" request-matcher="regex" security="none"/>
|
||||
|
||||
<egov-security:config id="securityConfig"
|
||||
loginUrl="/uat/uia/actionMain.do"
|
||||
logoutSuccessUrl="/uat/uia/actionMain.do"
|
||||
loginFailureUrl="/uat/uia/actionSecurityLogin.do?login_error=1"
|
||||
accessDeniedUrl="/sec/ram/accessDenied.do"
|
||||
|
||||
dataSource="egov.dataSource"
|
||||
|
||||
jdbcUsersByUsernameQuery="SELECT USER_ID, ESNTL_ID AS PASSWORD, 1 ENABLED, USER_NM, USER_ZIP,
|
||||
USER_ADRES, USER_EMAIL, USER_SE, '-' ORGNZT_ID, ESNTL_ID, MBTLNUM AS MOBLPHONNO,
|
||||
'-' ORGNZT_NM, AUTHOR_CODE AS AUTHORITY, DEPT
|
||||
FROM COMVNUSERMASTER A
|
||||
INNER JOIN LETTNEMPLYRSCRTYESTBS B ON A.ESNTL_ID = B.SCRTY_DTRMN_TRGET_ID
|
||||
WHERE CONCAT(USER_SE, USER_ID) = ?"
|
||||
|
||||
jdbcAuthoritiesByUsernameQuery="SELECT A.SCRTY_DTRMN_TRGET_ID USER_ID, A.AUTHOR_CODE AUTHORITY
|
||||
FROM LETTNEMPLYRSCRTYESTBS A, COMVNUSERMASTER B
|
||||
WHERE A.SCRTY_DTRMN_TRGET_ID = B.ESNTL_ID AND B.USER_ID = ?"
|
||||
|
||||
jdbcMapClass="itn.let.uat.uia.service.impl.EgovSessionMapping"
|
||||
|
||||
requestMatcherType="regex"
|
||||
hash="plaintext"
|
||||
hashBase64="false"
|
||||
|
||||
concurrentMaxSessons="999"
|
||||
concurrentExpiredUrl="/"
|
||||
|
||||
defaultTargetUrl="/uat/uia/actionMain.do"
|
||||
|
||||
/>
|
||||
|
||||
<!--원 소스 -->
|
||||
<!-- defaultTargetUrl="/uat/uia/actionMain.do" -->
|
||||
|
||||
<!-- sqlHierarchicalRoles="
|
||||
SELECT a.CHLDRN_ROLE child, a.PARNTS_ROLE parent
|
||||
FROM LETTNROLES_HIERARCHY a LEFT JOIN LETTNROLES_HIERARCHY b on (a.CHLDRN_ROLE = b.PARNTS_ROLE)" -->
|
||||
|
||||
<egov-security:secured-object-config id="securedObjectConfig"
|
||||
roleHierarchyString="
|
||||
ROLE_ADMIN > ROLE_USER_MEMBER
|
||||
ROLE_USER_MEMBER > ROLE_ANONYMOUS"
|
||||
|
||||
sqlRolesAndUrl="
|
||||
SELECT a.ROLE_PTTRN url, b.AUTHOR_CODE authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'url'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
sqlRolesAndMethod="
|
||||
SELECT a.ROLE_PTTRN method, b.AUTHOR_CODE authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'method'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
sqlRolesAndPointcut="
|
||||
SELECT a.ROLE_PTTRN pointcut, b.AUTHOR_CODE authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'pointcut'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
sqlRegexMatchedRequestMapping="
|
||||
SELECT a.resource_pattern uri, b.authority authority
|
||||
FROM LETTNROLEINFO a, LETTNAUTHORROLERELATE b
|
||||
WHERE a.ROLE_CODE = b.ROLE_CODE AND a.ROLE_TY = 'regex'
|
||||
ORDER BY a.ROLE_SORT"
|
||||
|
||||
/>
|
||||
|
||||
<egov-security:initializer id="initializer" supportMethod="true" supportPointcut="false" />
|
||||
|
||||
<!-- URL에 세미콜론(semicolon)허용 여부(기본값/false) -->
|
||||
<bean id="egovStrictHttpFirewall" class="org.springframework.security.web.firewall.StrictHttpFirewall">
|
||||
<property name="allowSemicolon" value="true"/>
|
||||
</bean>
|
||||
<security:http-firewall ref="egovStrictHttpFirewall"/>
|
||||
|
||||
</beans>
|
||||
|
||||
@ -1,483 +1,483 @@
|
||||
<%--
|
||||
Class Name : EgovNoticeRegist.jsp
|
||||
Description : 게시물 생성 화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.24 이삼섭 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 이삼섭
|
||||
since : 2009.03.24
|
||||
--%>
|
||||
<%@ 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="ckeditor" uri="http://ckeditor.com"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="content-language" content="ko">
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovBBSMng.js' />"></script>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script> <!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
|
||||
<%-- <script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> --%>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script>
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="board" staticJavascript="false" xhtml="true" cdata="false" />
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
});
|
||||
|
||||
function goList() {
|
||||
document.searchForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_regist_notice() {
|
||||
CKEDITOR.instances.nttCn.updateElement();
|
||||
if (!validateBoard(document.board))
|
||||
return;
|
||||
|
||||
//금지어 확인
|
||||
/* var prohibitCheck = false;
|
||||
var form = document.board ;
|
||||
form.checkProhibitCn.value = form.nttSj.value + form.nttCn.value ;
|
||||
var data = new FormData(form);
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/uss/ion/cnf/prohiCheckAjax.do",
|
||||
async:false,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
timeout: 600000,
|
||||
success: function (returnData, status) {
|
||||
if(status == 'success'){
|
||||
if(returnData.result == 'fail'){
|
||||
}else if(returnData.result == 'auth_fail'){
|
||||
}else if(returnData.result =='success'){
|
||||
if(null != returnData.prohibitVO.prohibitCn){
|
||||
alert( returnData.prohibitVO.prohibitCn + " 단어는 금지어로 등록되어 있는 단어입니다." );
|
||||
prohibitCheck = true;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
//alert("등록에 실패하였습니다.");
|
||||
}
|
||||
},
|
||||
error: function (e) {
|
||||
//alert("등록에 실패하였습니다.");
|
||||
}
|
||||
});
|
||||
|
||||
if(prohibitCheck){
|
||||
return;
|
||||
} */
|
||||
|
||||
<c:if test="${bdMstr.bbsId == 'BBSMSTR_000000000731' }">
|
||||
{
|
||||
if($('#ntceBgndeYYYMMDD').val() == ''){
|
||||
alert(" 시작일은 필수입니다.");
|
||||
return;
|
||||
}
|
||||
if($('#ntceEnddeYYYMMDD').val() == ''){
|
||||
alert(" 종료일은 필수입니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
var iChkBeginDe = Number(($('#ntceBgndeYYYMMDD').val()+$('#ntceBgndeHH').val()+$('#ntceBgndeMM').val()).replaceAll("-","") );
|
||||
var iChkEndDe = Number(($('#ntceEnddeYYYMMDD').val()+$('#ntceEnddeHH').val()+$('#ntceEnddeMM').val()).replaceAll("-","") );
|
||||
|
||||
if(iChkBeginDe > iChkEndDe || iChkEndDe < iChkBeginDe ){
|
||||
alert("게시시작일자는 게시종료일자 보다 클수 없고,\n게시종료일자는 게시시작일자 보다 작을수 없습니다. ");
|
||||
return;
|
||||
}
|
||||
$('#ntceBgnde').val(iChkBeginDe) ;
|
||||
$('#ntceEndde').val(iChkEndDe) ;
|
||||
}
|
||||
</c:if>
|
||||
|
||||
if (confirm('<spring:message code="common.regist.msg" />')) {
|
||||
goSave();
|
||||
}
|
||||
}
|
||||
|
||||
function goList() {
|
||||
document.searchForm.action = "<c:url value='/cop/bbs/selectBoardList.do'/>";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_regist_preview() {
|
||||
var PCC_window = window.open('', 'PCCV3Window', 'width=850, height=570, resizable=1, scrollbars=yes, status=0, titlebar=0, toolbar=0, left=350, top=50' );
|
||||
|
||||
var previewImgs = "";
|
||||
var i = 0;
|
||||
|
||||
$("#DIV_IMG_VIEW").find("img").each(function() {
|
||||
previewImgs += $(this).get(0).src + "^";
|
||||
i++;
|
||||
});
|
||||
|
||||
document.board.previewImgs.value = previewImgs;
|
||||
document.board.action = "<c:url value='/cop/bbs/bbsPreview.do'/>";
|
||||
document.board.target = "PCCV3Window";
|
||||
document.board.submit();
|
||||
}
|
||||
</script>
|
||||
<title><c:out value='${bdMstr.bbsNm}' /> - 글 등록</title>
|
||||
<style>
|
||||
.uploaded_obj{width: 100%;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form:form commandName="searchForm" name="searchForm" method="get" action="">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>" />
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>" />
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>" />
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
||||
</form:form>
|
||||
|
||||
<form:form commandName="board" name="board" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
||||
<input type="hidden" name="searchCnd" value="<c:out value='${searchVO.searchCnd}'/>" />
|
||||
<input type="hidden" name="searchWrd" value="<c:out value='${searchVO.searchWrd}'/>" />
|
||||
<input type="hidden" name="bbsId" value="<c:out value='${bdMstr.bbsId}'/>" />
|
||||
<input type="hidden" name="previewImgs" value="" />
|
||||
<input type="hidden" name="checkProhibitCn" value="" />
|
||||
<input type="hidden" name="siteId" value="<c:out value='${bdMstr.siteId}'/>" />
|
||||
<input type="hidden" name="pageType" id="pageType" value="insert" />
|
||||
|
||||
<input id="ntceBgnde" name="ntceBgnde" type="hidden" value="">
|
||||
<input id="ntceEndde" name="ntceEndde" type="hidden" value="">
|
||||
|
||||
<!-- 드래그앤 드롭 파라미터 -->
|
||||
<input type="hidden" name="limitcount" value="${bdMstr.posblAtchFileNumber}" />
|
||||
<div class="contWrap">
|
||||
<div class="pageTitle">
|
||||
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
|
||||
<h2 class="titType1 c_222222 fwBold"><c:out value='${bdMstr.bbsNm}' />- 글 등록 (${bdMstr.menuNm})</h2>
|
||||
<p class="tType6 c_999999">게시판 글을 생성/수정 할 수 있습니다.</p>
|
||||
</div>
|
||||
<div class="pageCont">
|
||||
<table class="tbType2">
|
||||
<colgroup>
|
||||
<col style="width: 20%">
|
||||
<col style="width: 80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<c:if test="${Transfer}">
|
||||
<tr>
|
||||
<th>
|
||||
<label for="secretAt">임시수정</label>
|
||||
</th>
|
||||
<td>
|
||||
등록일 :
|
||||
<input style="width: 10%;" id="frstRegisterPnttm" name="frstRegisterPnttm" title="제목" type="text" value="${board.frstRegisterPnttm}">
|
||||
2000-01-05 (형식)
|
||||
<br>
|
||||
총
|
||||
<input style="width: 10%;" id="inqireCo" name="inqireCo" title="제목" type="text" value="${board.inqireCo}">
|
||||
123 (형식)
|
||||
<br>
|
||||
등록자 :
|
||||
<input style="width: 10%;" id="ntcrNm" name="ntcrNm" title="제목" type="text" value="${board.ntcrNm}">
|
||||
아무개 (형식)
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<tr>
|
||||
<th><span class="reqArea">
|
||||
<span class="reqArea">${bdMstr.bbsTyCode eq 'BBST07' ? "항목" : bdMstr.menuNo eq '9510000' ? "질문" : "제목"}</span>
|
||||
</span>
|
||||
<c:out value="${msgNttSj}" />
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<form:input path="nttSj" title="${msgNttSj}" />
|
||||
<form:errors path="nttSj" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">
|
||||
${brdMstrVO.menuNo eq '9510000' ? "답변" : "내용"}
|
||||
</span></th>
|
||||
<td colspan="3">
|
||||
<form:textarea path="nttCn" class="textarea" cols="500" rows="20" />
|
||||
<ckeditor:replace replace="nttCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
|
||||
<form:errors path="nttCn" />
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${'BBSMSTR_000000000731' eq bdMstr.bbsId }"><!-- 이벤트 게시판 -->
|
||||
<tr>
|
||||
<th><span class="reqArea">기간</span></th>
|
||||
<td colspan="3">
|
||||
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
|
||||
<input style="width:auto;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceBgndeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceBgndeHH" name="ntceBgndeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceBgndeMM" name="ntceBgndeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
~
|
||||
<input style="width:auto;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceEnddeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceEnddeHH" name="ntceEnddeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceEnddeMM" name="ntceEnddeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
|
||||
<c:if test="${'BBST07' eq bdMstr.bbsTyCode }"><!-- 사전정보공표 -->
|
||||
<tr>
|
||||
<th><span class="reqArea">주기</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubPeriod" name="pubPeriod" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">시기</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubTime" name="pubTime" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">방법(링크)</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubLink" name="pubLink" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">담당부서</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubLoc" name="pubLoc" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</c:if>
|
||||
|
||||
<c:if test="${bdMstr.fileAtchPosblAt == 'Y'}">
|
||||
<tr>
|
||||
<th>파일 첨부</th>
|
||||
<td class="upload_area">
|
||||
<div class="file_upload_box no_img_box fileWrap">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<th>크기</th>
|
||||
<th>등록일시</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<div class="fileWrap fileAfter file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<th>크기</th>
|
||||
<th>등록일시</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.fmsImageFile}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="file_name">
|
||||
<img src="/direct/img/upload_hwp_img.png" alt="" />
|
||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileSize}"/>"></span>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${fileList.regdt}"/>
|
||||
</td>
|
||||
<td>
|
||||
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.fmsImageFile}', '${fileList.fileSn}'); return false;">
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="fileInfo file_list_div">
|
||||
<ul class="inline">
|
||||
<li>
|
||||
<p>최대 <span class="c_e40000 fwBold limitcount_li">${bdMstr.posblAtchFileNumber}</span>개 | <span class="c_e40000 fwBold upload_number">50MB</span>제한</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span class="c_456ded fwBold totalfileCount">1</span>개 | <span class="c_456ded fwBold totalfileSize">72.01KB</span></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="uploadBtm">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${!empty fmsFileList[0].fmsId }">
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>첨부이미지 링크</th>
|
||||
<td colspan="3">
|
||||
<c:forEach var="result" items="${fmsFileList}" varStatus="status">
|
||||
<c:if test="${result.fileExtsn eq 'jpg' ||
|
||||
result.fileExtsn eq 'jpeg' ||
|
||||
result.fileExtsn eq 'png' ||
|
||||
result.fileExtsn eq 'bmp' ||
|
||||
result.fileExtsn eq 'gif' ||
|
||||
result.fileExtsn eq 'img' }">
|
||||
<span class="item_${result.fmsImageFile}_${result.fileSn}">
|
||||
<a href='${result.fmsLink}' target="_blank">${result.fmsLink}</a>
|
||||
(${result.orignlFileNm})
|
||||
</br>
|
||||
</span>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>첨부다운로드 링크</th>
|
||||
<td colspan="3">
|
||||
<c:forEach var="result" items="${fmsFileList}" varStatus="status">
|
||||
<span class="item_${result.fmsImageFile}_${result.fileSn}">
|
||||
<a href='${result.fmsDownLink}'>${result.fmsDownLink}</a>
|
||||
<c:if test="${listExist}">(</c:if>
|
||||
${result.orignlFileNm}
|
||||
<c:if test="${listExist}">)</c:if>
|
||||
</br>
|
||||
</span>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>최종수정일</th>
|
||||
<td colspan="3">
|
||||
${fmsFileList[0].moddt }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>작성자</th>
|
||||
<td colspan="3">
|
||||
${fmsFileList[0].registerId }
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
|
||||
<!-- 공지 여부 -->
|
||||
<c:choose>
|
||||
<c:when test="${bdMstr.noticeYn == 'Y'}">
|
||||
<c:set var="title">공지여부/공지기간 </c:set>
|
||||
<tr>
|
||||
<th>
|
||||
<label for="noticeAtTitle">${title}</label>
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="noticeAt" id="noticeAt" value="Y">
|
||||
<span style="padding-left: 10px;">/</span>
|
||||
|
||||
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
|
||||
<input style="width:auto;margin-left: 10px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceBgndeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceBgndeHH" name="ntceBgndeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceBgndeMM" name="ntceBgndeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
~
|
||||
<input style="width:auto;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceEnddeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceEnddeHH" name="ntceEnddeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceEnddeMM" name="ntceEnddeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
</td>
|
||||
</tr>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<form:hidden path="noticeAt" value="N" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- 공지 여부 -->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="btnWrap">
|
||||
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="goList(); return false;">
|
||||
<input type="button" class="btnType1 bg_888888" value="미리보기" onclick="fn_egov_regist_preview(); return false;">
|
||||
<c:if test="${!empty fmsFileList[0].fmsId }">
|
||||
<input type="button" class="btnType1" value="삭 제" onclick="fn_fmsfile_delete(); return false;">
|
||||
<input type="button" class="btnType1" value="수 정" onclick="goSave('fmsFile_U'); return false;">
|
||||
</c:if>
|
||||
<c:if test="${empty fmsFileList[0].fmsId }">
|
||||
<input type="button" class="btnType1" value="저 장" onclick="fn_egov_regist_notice(); return false;">
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
<!-- //content 끝 -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%--
|
||||
Class Name : EgovNoticeRegist.jsp
|
||||
Description : 게시물 생성 화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2009.03.24 이삼섭 최초 생성
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
|
||||
author : 공통서비스 개발팀 이삼섭
|
||||
since : 2009.03.24
|
||||
--%>
|
||||
<%@ 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="ckeditor" uri="http://ckeditor.com"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="content-language" content="ko">
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovBBSMng.js' />"></script>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script> <!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
|
||||
<%-- <script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> --%>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script>
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="board" staticJavascript="false" xhtml="true" cdata="false" />
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
});
|
||||
|
||||
function goList() {
|
||||
document.searchForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_regist_notice() {
|
||||
CKEDITOR.instances.nttCn.updateElement();
|
||||
if (!validateBoard(document.board))
|
||||
return;
|
||||
|
||||
//금지어 확인
|
||||
/* var prohibitCheck = false;
|
||||
var form = document.board ;
|
||||
form.checkProhibitCn.value = form.nttSj.value + form.nttCn.value ;
|
||||
var data = new FormData(form);
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/uss/ion/cnf/prohiCheckAjax.do",
|
||||
async:false,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
timeout: 600000,
|
||||
success: function (returnData, status) {
|
||||
if(status == 'success'){
|
||||
if(returnData.result == 'fail'){
|
||||
}else if(returnData.result == 'auth_fail'){
|
||||
}else if(returnData.result =='success'){
|
||||
if(null != returnData.prohibitVO.prohibitCn){
|
||||
alert( returnData.prohibitVO.prohibitCn + " 단어는 금지어로 등록되어 있는 단어입니다." );
|
||||
prohibitCheck = true;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
//alert("등록에 실패하였습니다.");
|
||||
}
|
||||
},
|
||||
error: function (e) {
|
||||
//alert("등록에 실패하였습니다.");
|
||||
}
|
||||
});
|
||||
|
||||
if(prohibitCheck){
|
||||
return;
|
||||
} */
|
||||
|
||||
<c:if test="${bdMstr.bbsId == 'BBSMSTR_000000000731' }">
|
||||
{
|
||||
if($('#ntceBgndeYYYMMDD').val() == ''){
|
||||
alert(" 시작일은 필수입니다.");
|
||||
return;
|
||||
}
|
||||
if($('#ntceEnddeYYYMMDD').val() == ''){
|
||||
alert(" 종료일은 필수입니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
var iChkBeginDe = Number(($('#ntceBgndeYYYMMDD').val()+$('#ntceBgndeHH').val()+$('#ntceBgndeMM').val()).replaceAll("-","") );
|
||||
var iChkEndDe = Number(($('#ntceEnddeYYYMMDD').val()+$('#ntceEnddeHH').val()+$('#ntceEnddeMM').val()).replaceAll("-","") );
|
||||
|
||||
if(iChkBeginDe > iChkEndDe || iChkEndDe < iChkBeginDe ){
|
||||
alert("게시시작일자는 게시종료일자 보다 클수 없고,\n게시종료일자는 게시시작일자 보다 작을수 없습니다. ");
|
||||
return;
|
||||
}
|
||||
$('#ntceBgnde').val(iChkBeginDe) ;
|
||||
$('#ntceEndde').val(iChkEndDe) ;
|
||||
}
|
||||
</c:if>
|
||||
|
||||
if (confirm('<spring:message code="common.regist.msg" />')) {
|
||||
goSave();
|
||||
}
|
||||
}
|
||||
|
||||
function goList() {
|
||||
document.searchForm.action = "<c:url value='/cop/bbs/selectBoardList.do'/>";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_regist_preview() {
|
||||
var PCC_window = window.open('', 'PCCV3Window', 'width=850, height=570, resizable=1, scrollbars=yes, status=0, titlebar=0, toolbar=0, left=350, top=50' );
|
||||
|
||||
var previewImgs = "";
|
||||
var i = 0;
|
||||
|
||||
$("#DIV_IMG_VIEW").find("img").each(function() {
|
||||
previewImgs += $(this).get(0).src + "^";
|
||||
i++;
|
||||
});
|
||||
|
||||
document.board.previewImgs.value = previewImgs;
|
||||
document.board.action = "<c:url value='/cop/bbs/bbsPreview.do'/>";
|
||||
document.board.target = "PCCV3Window";
|
||||
document.board.submit();
|
||||
}
|
||||
</script>
|
||||
<title><c:out value='${bdMstr.bbsNm}' /> - 글 등록</title>
|
||||
<style>
|
||||
.uploaded_obj{width: 100%;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form:form commandName="searchForm" name="searchForm" method="get" action="">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>" />
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>" />
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>" />
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
||||
</form:form>
|
||||
|
||||
<form:form commandName="board" name="board" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
||||
<input type="hidden" name="searchCnd" value="<c:out value='${searchVO.searchCnd}'/>" />
|
||||
<input type="hidden" name="searchWrd" value="<c:out value='${searchVO.searchWrd}'/>" />
|
||||
<input type="hidden" name="bbsId" value="<c:out value='${bdMstr.bbsId}'/>" />
|
||||
<input type="hidden" name="previewImgs" value="" />
|
||||
<input type="hidden" name="checkProhibitCn" value="" />
|
||||
<input type="hidden" name="siteId" value="<c:out value='${bdMstr.siteId}'/>" />
|
||||
<input type="hidden" name="pageType" id="pageType" value="insert" />
|
||||
|
||||
<input id="ntceBgnde" name="ntceBgnde" type="hidden" value="">
|
||||
<input id="ntceEndde" name="ntceEndde" type="hidden" value="">
|
||||
|
||||
<!-- 드래그앤 드롭 파라미터 -->
|
||||
<input type="hidden" name="limitcount" value="${bdMstr.posblAtchFileNumber}" />
|
||||
<div class="contWrap">
|
||||
<div class="pageTitle">
|
||||
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
|
||||
<h2 class="titType1 c_222222 fwBold"><c:out value='${bdMstr.bbsNm}' />- 글 등록 (${bdMstr.menuNm})</h2>
|
||||
<p class="tType6 c_999999">게시판 글을 생성/수정 할 수 있습니다.</p>
|
||||
</div>
|
||||
<div class="pageCont">
|
||||
<table class="tbType2">
|
||||
<colgroup>
|
||||
<col style="width: 20%">
|
||||
<col style="width: 80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<c:if test="${Transfer}">
|
||||
<tr>
|
||||
<th>
|
||||
<label for="secretAt">임시수정</label>
|
||||
</th>
|
||||
<td>
|
||||
등록일 :
|
||||
<input style="width: 10%;" id="frstRegisterPnttm" name="frstRegisterPnttm" title="제목" type="text" value="${board.frstRegisterPnttm}">
|
||||
2000-01-05 (형식)
|
||||
<br>
|
||||
총
|
||||
<input style="width: 10%;" id="inqireCo" name="inqireCo" title="제목" type="text" value="${board.inqireCo}">
|
||||
123 (형식)
|
||||
<br>
|
||||
등록자 :
|
||||
<input style="width: 10%;" id="ntcrNm" name="ntcrNm" title="제목" type="text" value="${board.ntcrNm}">
|
||||
아무개 (형식)
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<tr>
|
||||
<th><span class="reqArea">
|
||||
<span class="reqArea">${bdMstr.bbsTyCode eq 'BBST07' ? "항목" : bdMstr.menuNo eq '9510000' ? "질문" : "제목"}</span>
|
||||
</span>
|
||||
<c:out value="${msgNttSj}" />
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<form:input path="nttSj" title="${msgNttSj}" />
|
||||
<form:errors path="nttSj" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span class="reqArea">
|
||||
${brdMstrVO.menuNo eq '9510000' ? "답변" : "내용"}
|
||||
</span></th>
|
||||
<td colspan="3">
|
||||
<form:textarea path="nttCn" class="textarea" cols="500" rows="20" />
|
||||
<ckeditor:replace replace="nttCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
|
||||
<form:errors path="nttCn" />
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${'BBSMSTR_000000000731' eq bdMstr.bbsId }"><!-- 이벤트 게시판 -->
|
||||
<tr>
|
||||
<th><span class="reqArea">기간</span></th>
|
||||
<td colspan="3">
|
||||
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
|
||||
<input style="width:auto;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceBgndeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceBgndeHH" name="ntceBgndeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceBgndeMM" name="ntceBgndeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
~
|
||||
<input style="width:auto;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceEnddeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceEnddeHH" name="ntceEnddeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceEnddeMM" name="ntceEnddeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
|
||||
<c:if test="${'BBST07' eq bdMstr.bbsTyCode }"><!-- 사전정보공표 -->
|
||||
<tr>
|
||||
<th><span class="reqArea">주기</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubPeriod" name="pubPeriod" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">시기</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubTime" name="pubTime" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">방법(링크)</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubLink" name="pubLink" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><span class="reqArea">담당부서</span></th>
|
||||
<td colspan="3">
|
||||
<input id="pubLoc" name="pubLoc" type="text" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</c:if>
|
||||
|
||||
<c:if test="${bdMstr.fileAtchPosblAt == 'Y'}">
|
||||
<tr>
|
||||
<th>파일 첨부</th>
|
||||
<td class="upload_area">
|
||||
<div class="file_upload_box no_img_box fileWrap">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<th>크기</th>
|
||||
<th>등록일시</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<div class="fileWrap fileAfter file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 60%">
|
||||
<col style="width: 10%">
|
||||
<col style="width: 20%">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<th>크기</th>
|
||||
<th>등록일시</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody_fiielist">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.fmsImageFile}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
||||
<td class="file_name">
|
||||
<img src="/direct/img/upload_hwp_img.png" alt="" />
|
||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileSize}"/>"></span>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${fileList.regdt}"/>
|
||||
</td>
|
||||
<td>
|
||||
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.fmsImageFile}', '${fileList.fileSn}'); return false;">
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="fileInfo file_list_div">
|
||||
<ul class="inline">
|
||||
<li>
|
||||
<p>최대 <span class="c_e40000 fwBold limitcount_li">${bdMstr.posblAtchFileNumber}</span>개 | <span class="c_e40000 fwBold upload_number">50MB</span>제한</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span class="c_456ded fwBold totalfileCount">1</span>개 | <span class="c_456ded fwBold totalfileSize">72.01KB</span></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="uploadBtm">
|
||||
<input type="file" id="file_temp" name="file_temp" class="uploadFile">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${!empty fmsFileList[0].fmsId }">
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>첨부이미지 링크</th>
|
||||
<td colspan="3">
|
||||
<c:forEach var="result" items="${fmsFileList}" varStatus="status">
|
||||
<c:if test="${result.fileExtsn eq 'jpg' ||
|
||||
result.fileExtsn eq 'jpeg' ||
|
||||
result.fileExtsn eq 'png' ||
|
||||
result.fileExtsn eq 'bmp' ||
|
||||
result.fileExtsn eq 'gif' ||
|
||||
result.fileExtsn eq 'img' }">
|
||||
<span class="item_${result.fmsImageFile}_${result.fileSn}">
|
||||
<a href='${result.fmsLink}' target="_blank">${result.fmsLink}</a>
|
||||
(${result.orignlFileNm})
|
||||
</br>
|
||||
</span>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>첨부다운로드 링크</th>
|
||||
<td colspan="3">
|
||||
<c:forEach var="result" items="${fmsFileList}" varStatus="status">
|
||||
<span class="item_${result.fmsImageFile}_${result.fileSn}">
|
||||
<a href='${result.fmsDownLink}'>${result.fmsDownLink}</a>
|
||||
<c:if test="${listExist}">(</c:if>
|
||||
${result.orignlFileNm}
|
||||
<c:if test="${listExist}">)</c:if>
|
||||
</br>
|
||||
</span>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>최종수정일</th>
|
||||
<td colspan="3">
|
||||
${fmsFileList[0].moddt }
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="td_title1"><span class="star_t"></span>작성자</th>
|
||||
<td colspan="3">
|
||||
${fmsFileList[0].registerId }
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
|
||||
<!-- 공지 여부 -->
|
||||
<c:choose>
|
||||
<c:when test="${bdMstr.noticeYn == 'Y'}">
|
||||
<c:set var="title">공지여부/공지기간 </c:set>
|
||||
<tr>
|
||||
<th>
|
||||
<label for="noticeAtTitle">${title}</label>
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="noticeAt" id="noticeAt" value="Y">
|
||||
<span style="padding-left: 10px;">/</span>
|
||||
|
||||
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
|
||||
<input style="width:auto;margin-left: 10px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceBgndeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceBgndeHH" name="ntceBgndeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceBgndeMM" name="ntceBgndeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceBgndeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
~
|
||||
<input style="width:auto;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly="">
|
||||
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceEnddeYYYMMDD);">
|
||||
<input type="button" class="calBtn">
|
||||
</a>
|
||||
<select id="ntceEnddeHH" name="ntceEnddeHH" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeHH}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>시
|
||||
<select id="ntceEnddeMM" name="ntceEnddeMM" class="date_format">
|
||||
<c:forEach var="result" items="${ntceEnddeMM}" varStatus="status">
|
||||
<option value="${result.code}">${result.codeNm}</option>
|
||||
</c:forEach>
|
||||
</select>분
|
||||
</td>
|
||||
</tr>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<form:hidden path="noticeAt" value="N" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- 공지 여부 -->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="btnWrap">
|
||||
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="goList(); return false;">
|
||||
<input type="button" class="btnType1 bg_888888" value="미리보기" onclick="fn_egov_regist_preview(); return false;">
|
||||
<c:if test="${!empty fmsFileList[0].fmsId }">
|
||||
<input type="button" class="btnType1" value="삭 제" onclick="fn_fmsfile_delete(); return false;">
|
||||
<input type="button" class="btnType1" value="수 정" onclick="goSave('fmsFile_U'); return false;">
|
||||
</c:if>
|
||||
<c:if test="${empty fmsFileList[0].fmsId }">
|
||||
<input type="button" class="btnType1" value="저 장" onclick="fn_egov_regist_notice(); return false;">
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
<!-- //content 끝 -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@ -1,26 +1,26 @@
|
||||
<%@ 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="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
|
||||
|
||||
<%@ taglib prefix="compress" uri="http://htmlcompressor.googlecode.com/taglib/compressor"%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="kr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
|
||||
<link rel="stylesheet" href="/publish/testcss/css/reset.css">
|
||||
<link rel="stylesheet" href="/publish/testcss/css/font.css">
|
||||
<link rel="stylesheet" href="/publish/testcss/css/sample.css">
|
||||
<link rel="stylesheet" href="/pb/css/popup.css">
|
||||
<script src="/publish/js/jquery-3.5.0.js"></script>
|
||||
<script src="/publish/js/common.js"></script>
|
||||
</head>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
|
||||
<script src="/js/ncms_common.js"></script>
|
||||
<decorator:head />
|
||||
<!-- body 시작 -->
|
||||
<decorator:body />
|
||||
<!-- body 끝 -->
|
||||
<%@ 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="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
|
||||
|
||||
<%@ taglib prefix="compress" uri="http://htmlcompressor.googlecode.com/taglib/compressor"%>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="kr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
|
||||
<link rel="stylesheet" href="/publish/testcss/css/reset.css">
|
||||
<link rel="stylesheet" href="/publish/testcss/css/font.css">
|
||||
<link rel="stylesheet" href="/publish/testcss/css/sample.css">
|
||||
<link rel="stylesheet" href="/pb/css/popup.css">
|
||||
<script src="/publish/js/jquery-3.5.0.js"></script>
|
||||
<script src="/publish/js/common.js"></script>
|
||||
</head>
|
||||
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
|
||||
<script src="/js/ncms_common.js"></script>
|
||||
<decorator:head />
|
||||
<!-- body 시작 -->
|
||||
<decorator:body />
|
||||
<!-- body 끝 -->
|
||||
</html>
|
||||
@ -317,6 +317,13 @@ function excelFileChange(file) {
|
||||
fn_errorPopClean(); // 에러 popup 초기화
|
||||
fn_rowCntInit();
|
||||
if (file) {
|
||||
// 파일 크기 체크 (20MB)
|
||||
const maxSize = 20 * 1024 * 1024; // 20MB in bytes
|
||||
if (file.size > maxSize) {
|
||||
alert('파일 크기는 20MB를 초과할 수 없습니다.');
|
||||
return;
|
||||
}
|
||||
|
||||
fn_loadAddActive();
|
||||
var reader = new FileReader();
|
||||
var extension = file.name.split('.').pop().toLowerCase();
|
||||
@ -506,7 +513,7 @@ $(document).on("click", "#duplicationChkAll", function(e) {
|
||||
<!-- 엑셀입력 -->
|
||||
<div class="popCont current pop_more_cont" id="popCont_1">
|
||||
<div class="titBox">
|
||||
<p>- 주소록은 한 번에 최대 30만건까지 등록(EXCEL파일, 최대용량 3MB) 가능합니다. </p>
|
||||
<p>- 주소록은 한 번에 최대 30만건까지 등록(EXCEL파일, 최대용량 20MB) 가능합니다. </p>
|
||||
<p>- 엑셀 파일에 비밀번호 설정, 제한된 보기, 수식 등이 설정되어 있는 경우 업로드가 불가합니다.</p>
|
||||
<p>- 구분선(|), 역슬래시(\, ₩), 큰따옴표(") 등 발송불가 특수문자는 저장되지 않습니다.</p>
|
||||
<p>- 이름 200byte, [*1*]~[*4*] 200byte, 메모 250byte까지 입력 가능합니다.</p>
|
||||
|
||||
@ -1,302 +1,302 @@
|
||||
<%--
|
||||
Class Name : EgovNoticeInqire.jsp
|
||||
Description : (사용자)게시물 조회 화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
---------- -------- ---------------------------
|
||||
2009.03.23 이삼섭 최초 생성
|
||||
2009.06.26 한성곤 2단계 기능 추가 (댓글관리, 만족도조사)
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
2013.05.23 이기하 상세보기 오류수정
|
||||
|
||||
author : 공통서비스 개발팀 이삼섭
|
||||
since : 2009.03.23
|
||||
--%>
|
||||
<%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<%pageContext.setAttribute("crlf", "\r\n"); %>
|
||||
<head>
|
||||
<script src="/publish/js/content.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
});
|
||||
|
||||
|
||||
var listPage = $(location).attr('href').split($(location).attr('host'))[1].split('Detail.do')[0]+'List.do'+'?bbsId=${brdMstrVO.bbsId}' ;
|
||||
var detailPage = $(location).attr('href').split($(location).attr('host'))[1].split('?')[0] ;
|
||||
function fn_egov_select_noticeList(pageNo) {
|
||||
/* document.searchForm.action = listPage ;
|
||||
document.searchForm.submit(); */
|
||||
//nttId가 쿼리스트링으로 넘어가는 이유로 인한 listForm 사용.
|
||||
document.listFullForm.action = listPage ;
|
||||
document.listFullForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_select_detail(bbsId , nttId) { //이전/다음글 상세
|
||||
if(listPage.indexOf("contentBbsList.do") > 0){ //컨텐츠 bbs 페이지경우
|
||||
location.href=detailPage+"?bbsId="+bbsId + "&nttId="+nttId+"&menuNo="+$('#menuNo').val() ;
|
||||
return
|
||||
}
|
||||
|
||||
//location.href=detailPage+"?bbsId="+bbsId + "&nttId="+nttId ;
|
||||
|
||||
document.listFullForm.bbsId.value = bbsId;
|
||||
document.listFullForm.nttId.value = nttId;
|
||||
document.listFullForm.seCmmnCdId.value = bbsId;
|
||||
document.listFullForm.method = "get";
|
||||
document.listFullForm.action = detailPage;
|
||||
document.listFullForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_delete_notice() {
|
||||
if (confirm('<spring:message code="common.delete.msg" />')) {
|
||||
document.searchForm.action = "<c:url value='/web/cop/bbs/deleteBoardArticle.do'/>";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function fn_egov_moveUpdt_notice(){
|
||||
document.searchForm.action = "<c:url value='/web/cop/bbs/forUpdateBoardArticle.do'/>";
|
||||
document.searchForm.method = "get";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- 댓글 작성 스크립트 -->
|
||||
<c:if test="${brdMstrVO.addYn == 'Y'}">
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="articleComment" staticJavascript="false" xhtml="true" cdata="false" />
|
||||
<script type="text/javascript">
|
||||
// 댓글 등록
|
||||
function fn_egov_insert_commentList() {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
if (!validateArticleComment(form)){
|
||||
return;
|
||||
}
|
||||
if (confirm('<spring:message code="common.regist.msg" />')) {
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
// 댓글 수정
|
||||
function fn_egov_updt_commentList() {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
if (!validateArticleComment(form)){
|
||||
return;
|
||||
}
|
||||
|
||||
if (confirm('<spring:message code="common.update.msg" />')) {
|
||||
form.modified.value = "true";
|
||||
form.action = "<c:url value='/${siteId}/web/cop/cmt/updateArticleComment.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
// 댓글 수정 화면
|
||||
function fn_egov_selectCommentForupdt(commentNo) {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
//form.subPageIndex.value = pageNo;
|
||||
form.commentNo.value = commentNo;
|
||||
form.action = "<c:url value='/web/cop/bbsWeb/selectBoardArticle.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
// 댓글 삭제
|
||||
function fn_egov_deleteCommentList(commentNo) {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
if (confirm('<spring:message code="common.delete.msg" />')) {
|
||||
form.modified.value = "true";
|
||||
form.commentNo.value = commentNo;
|
||||
form.action = "<c:url value='/${siteId}/web/cop/cmt/deleteArticleComment.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
/* 댓글페이징 */
|
||||
function fn_egov_select_commentList(pageNo) {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
// form.subPageIndex.value = pageNo;
|
||||
form.commentNo.value = '';
|
||||
form.action = "<c:url value='/${siteId}/web/cop/bbsWeb/selectBoardArticle.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
</script>
|
||||
</c:if>
|
||||
<style type="text/css">
|
||||
.view_wrap .view_cont {padding-bottom:0;border-bottom:0 none;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- contents 영역 -->
|
||||
<form:form commandName="searchForm" name="searchForm" method="get" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>">
|
||||
<input type="hidden" name="seCmmnCdId" value="${searchVO.seCmmnCdId}">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>"/>
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>"/>
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${result.bbsId}'/>" />
|
||||
<input name="nttId" type="hidden" value="<c:out value='${result.nttId}'/>" />
|
||||
<input type="hidden" id= "ntcrNm" name="ntcrNm" value=""/>
|
||||
<input type="hidden" id= "menuNo" name="menuNo" value="<c:out value='${masterVO.menuNo}'/>" />
|
||||
</form:form>
|
||||
<form:form commandName="listForm" name="listForm" method="get" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>">
|
||||
<input type="hidden" name="seCmmnCdId" value="${searchVO.seCmmnCdId}">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>"/>
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>"/>
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
||||
</form:form>
|
||||
<form:form commandName="listFullForm" name="listFullForm" method="get" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>">
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
||||
<input name="nttId" type="hidden" value="<c:out value='${searchVO.nttId}'/>" />
|
||||
<input type="hidden" name="seCmmnCdId" value="${searchVO.seCmmnCdId}">
|
||||
<input type="hidden" name="frstRegisterId" value="${searchVO.frstRegisterId}"/>
|
||||
<input type="hidden" name="viewsYn" value="">
|
||||
<input type="hidden" name="menuNo" value="">
|
||||
<input type="hidden" name="searchBgnDe" value="${searchVO.searchBgnDe}">
|
||||
<input type="hidden" name="searchEndDe" value="${searchVO.searchEndDe}">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="searchSortCnd" value="${searchVO.searchSortCnd}" />
|
||||
<input type="hidden" name="searchSortOrd" value="${searchVO.searchSortOrd}" />
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>"/>
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>"/>
|
||||
<input type="hidden" name="pageUnit" value="${searchVO.pageUnit}" />
|
||||
</form:form>
|
||||
<div class="inner">
|
||||
<!-- send top -->
|
||||
<div class="send_top">
|
||||
<!-- tab button -->
|
||||
<ul class="tabType4">
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'1');location.href='/web/cop/bbs/NoticeList.do'">공지사항</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'2');location.href='/web/cop/bbs/TermsList.do'">이용약관</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'3');location.href='/web/cop/bbs/FaqList.do'">자주하는 질문</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'4');location.href='/web/cop/bbs/QnaList.do'">1:1 문의</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'5');location.href='/web/cop/bbs/SuggestList.do'">불편신고</button></li>
|
||||
<li class="tab active"><button type="button" onclick="TabType5(this,'6');location.href='/web/cop/bbs/EventList.do'">이벤트</button></li>
|
||||
</ul><!--// tab button -->
|
||||
<!-- 고객센터 - 상세페이지 -->
|
||||
<div class="serv_content current" id="tab5_1">
|
||||
<div class="heading">
|
||||
<h2>${brdMstrVO.bbsNm}</h2>
|
||||
</div>
|
||||
<div class="list_cont" id="listTab_1">
|
||||
<div class="view_wrap">
|
||||
<div class="view_head">
|
||||
<div class="title"><p><c:out value="${result.nttSj}" /></p></div>
|
||||
<ul class="ext_info">
|
||||
<li><i></i><c:out value="${result.frstRegisterPnttm}" /></li>
|
||||
<li><i></i>운영자<%-- <c:out value="${result.frstRegisterNm}" /> --%></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="view_cont">
|
||||
<div class="cont_in">
|
||||
<%-- <div class="img_cont">
|
||||
<c:if test="${not empty fileList}">
|
||||
<c:forEach var="result" items="${fileList}" varStatus="status">
|
||||
<img src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>' alt="<c:out value='${nttSj}' />_<c:out value='${status.index+1}' />">
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</div> --%>
|
||||
<c:out value="${result.nttCn}" escapeXml="false" />
|
||||
</div>
|
||||
<%-- <div class="attachedFile2">
|
||||
|
||||
<c:if test="${result.atchFileCnt > 0}">
|
||||
<ul class="attach">
|
||||
<li><c:import url="/cmm/fms/selectBBSFileInfsMjon.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${result.atchFileId}" />
|
||||
</c:import>
|
||||
</li>
|
||||
</ul>
|
||||
</c:if>
|
||||
|
||||
|
||||
<!-- <div class="attachedFile_in">
|
||||
<a href="#none"><i></i>2021년 인증서 교체작업 서비스 이용 제한 안내.pdf</a>
|
||||
</div>
|
||||
<div class="attachedFile_in">
|
||||
<a href="#none"><i></i>2021년 인증서 교체작업 서비스 이용 제한 안내.hwp</a>
|
||||
</div> -->
|
||||
</div> --%>
|
||||
</div>
|
||||
<c:if test="${resultCnt > 0 and resultList[0].commentCn != ''}">
|
||||
<div class="view_answer">
|
||||
<div class="view_asnwer_head">
|
||||
<ul class="ext_info">
|
||||
<li><i></i><c:out value="${resultList[0].frstRegisterPnttm}" /></li>
|
||||
<li><i></i><c:out value="${resultList[0].frstRegisterNm}" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="view_asnwer_body">
|
||||
<div class="answer_title"><i></i></div>
|
||||
<div class="answer_cont">
|
||||
<c:out value="${resultList[0].commentCn}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
<div class="view_btnWrap">
|
||||
<c:if test="${'9997200' eq brdMstrVO.menuNo && empty answerList && 'T' ne result.secretAt}">
|
||||
<button type="button" class="btnType btnType1" onclick="javascript:fn_egov_moveUpdt_notice(); return false;">수정</button>
|
||||
<button type="button" class="btnType btnType2" onclick="javascript:fn_egov_delete_notice('1'); return false;">삭제</button>
|
||||
</c:if>
|
||||
<button type="button" class="btnType" onclick="javascript:fn_egov_select_noticeList(); return false;">목록</button>
|
||||
</div>
|
||||
<ul class="list_prev-next">
|
||||
<li class="list_prev">
|
||||
<div><span>이전글<i></i></span></div>
|
||||
<div>
|
||||
<c:choose>
|
||||
<c:when test="${empty prevNttIdNSj}">
|
||||
이전글이 없습니다.
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="prevNttId" value="${fn:split(prevNttIdNSj, '|')[0]}" />
|
||||
<c:set var="prevNttSj" value="${fn:split(prevNttIdNSj, '|')[1]}" />
|
||||
<c:set var="prevNttDate" value="${fn:split(prevNttIdNSj, '|')[2]}" />
|
||||
<a href="#" onclick="fn_egov_select_detail('<c:out value='${result.bbsId}'/>' , '<c:out value='${prevNttId}'/>'); return false;" title="현재창 이전글이동">
|
||||
<c:out value="${prevNttSj}" />
|
||||
</a>
|
||||
<span class="nb_date"><c:out value="${prevNttDate}" /></span>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- <a href="#none">[공지] 세금계산서 발행 안내</a> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="list_next">
|
||||
<div><span>다음글<i></i></span></div>
|
||||
<div>
|
||||
<c:choose>
|
||||
<c:when test="${empty nextNttIdNSj}">
|
||||
다음글이 없습니다.
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="nextNttId" value="${fn:split(nextNttIdNSj, '|')[0]}" />
|
||||
<c:set var="nextNttSj" value="${fn:split(nextNttIdNSj, '|')[1]}" />
|
||||
<c:set var="nextNttDate" value="${fn:split(nextNttIdNSj, '|')[2]}" />
|
||||
<a href="#" onclick="fn_egov_select_detail('<c:out value='${result.bbsId}'/>' , '<c:out value='${nextNttId}'/>'); return false;" title="현재창 다음글이동">
|
||||
<c:out value="${nextNttSj}" />
|
||||
</a>
|
||||
<span class="nb_date"><c:out value="${nextNttDate}" /></span>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- <a href="#none">[공지] 문자온 6월 30일 정식 서비스 오픈 안내</a> -->
|
||||
<div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- 고객센터 - 상세페이지 -->
|
||||
|
||||
</div><!--// send top -->
|
||||
|
||||
</body>
|
||||
|
||||
<%--
|
||||
Class Name : EgovNoticeInqire.jsp
|
||||
Description : (사용자)게시물 조회 화면
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
---------- -------- ---------------------------
|
||||
2009.03.23 이삼섭 최초 생성
|
||||
2009.06.26 한성곤 2단계 기능 추가 (댓글관리, 만족도조사)
|
||||
2011.08.31 JJY 경량환경 버전 생성
|
||||
2013.05.23 이기하 상세보기 오류수정
|
||||
|
||||
author : 공통서비스 개발팀 이삼섭
|
||||
since : 2009.03.23
|
||||
--%>
|
||||
<%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<%pageContext.setAttribute("crlf", "\r\n"); %>
|
||||
<head>
|
||||
<script src="/publish/js/content.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
});
|
||||
|
||||
|
||||
var listPage = $(location).attr('href').split($(location).attr('host'))[1].split('Detail.do')[0]+'List.do'+'?bbsId=${brdMstrVO.bbsId}' ;
|
||||
var detailPage = $(location).attr('href').split($(location).attr('host'))[1].split('?')[0] ;
|
||||
function fn_egov_select_noticeList(pageNo) {
|
||||
/* document.searchForm.action = listPage ;
|
||||
document.searchForm.submit(); */
|
||||
//nttId가 쿼리스트링으로 넘어가는 이유로 인한 listForm 사용.
|
||||
document.listFullForm.action = listPage ;
|
||||
document.listFullForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_select_detail(bbsId , nttId) { //이전/다음글 상세
|
||||
if(listPage.indexOf("contentBbsList.do") > 0){ //컨텐츠 bbs 페이지경우
|
||||
location.href=detailPage+"?bbsId="+bbsId + "&nttId="+nttId+"&menuNo="+$('#menuNo').val() ;
|
||||
return
|
||||
}
|
||||
|
||||
//location.href=detailPage+"?bbsId="+bbsId + "&nttId="+nttId ;
|
||||
|
||||
document.listFullForm.bbsId.value = bbsId;
|
||||
document.listFullForm.nttId.value = nttId;
|
||||
document.listFullForm.seCmmnCdId.value = bbsId;
|
||||
document.listFullForm.method = "get";
|
||||
document.listFullForm.action = detailPage;
|
||||
document.listFullForm.submit();
|
||||
}
|
||||
|
||||
function fn_egov_delete_notice() {
|
||||
if (confirm('<spring:message code="common.delete.msg" />')) {
|
||||
document.searchForm.action = "<c:url value='/web/cop/bbs/deleteBoardArticle.do'/>";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function fn_egov_moveUpdt_notice(){
|
||||
document.searchForm.action = "<c:url value='/web/cop/bbs/forUpdateBoardArticle.do'/>";
|
||||
document.searchForm.method = "get";
|
||||
document.searchForm.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- 댓글 작성 스크립트 -->
|
||||
<c:if test="${brdMstrVO.addYn == 'Y'}">
|
||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||
<validator:javascript formName="articleComment" staticJavascript="false" xhtml="true" cdata="false" />
|
||||
<script type="text/javascript">
|
||||
// 댓글 등록
|
||||
function fn_egov_insert_commentList() {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
if (!validateArticleComment(form)){
|
||||
return;
|
||||
}
|
||||
if (confirm('<spring:message code="common.regist.msg" />')) {
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
// 댓글 수정
|
||||
function fn_egov_updt_commentList() {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
if (!validateArticleComment(form)){
|
||||
return;
|
||||
}
|
||||
|
||||
if (confirm('<spring:message code="common.update.msg" />')) {
|
||||
form.modified.value = "true";
|
||||
form.action = "<c:url value='/${siteId}/web/cop/cmt/updateArticleComment.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
// 댓글 수정 화면
|
||||
function fn_egov_selectCommentForupdt(commentNo) {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
//form.subPageIndex.value = pageNo;
|
||||
form.commentNo.value = commentNo;
|
||||
form.action = "<c:url value='/web/cop/bbsWeb/selectBoardArticle.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
// 댓글 삭제
|
||||
function fn_egov_deleteCommentList(commentNo) {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
if (confirm('<spring:message code="common.delete.msg" />')) {
|
||||
form.modified.value = "true";
|
||||
form.commentNo.value = commentNo;
|
||||
form.action = "<c:url value='/${siteId}/web/cop/cmt/deleteArticleComment.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
/* 댓글페이징 */
|
||||
function fn_egov_select_commentList(pageNo) {
|
||||
var form = document.getElementById("articleCommentVO");
|
||||
// form.subPageIndex.value = pageNo;
|
||||
form.commentNo.value = '';
|
||||
form.action = "<c:url value='/${siteId}/web/cop/bbsWeb/selectBoardArticle.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
</script>
|
||||
</c:if>
|
||||
<style type="text/css">
|
||||
.view_wrap .view_cont {padding-bottom:0;border-bottom:0 none;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- contents 영역 -->
|
||||
<form:form commandName="searchForm" name="searchForm" method="get" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>">
|
||||
<input type="hidden" name="seCmmnCdId" value="${searchVO.seCmmnCdId}">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>"/>
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>"/>
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${result.bbsId}'/>" />
|
||||
<input name="nttId" type="hidden" value="<c:out value='${result.nttId}'/>" />
|
||||
<input type="hidden" id= "ntcrNm" name="ntcrNm" value=""/>
|
||||
<input type="hidden" id= "menuNo" name="menuNo" value="<c:out value='${masterVO.menuNo}'/>" />
|
||||
</form:form>
|
||||
<form:form commandName="listForm" name="listForm" method="get" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>">
|
||||
<input type="hidden" name="seCmmnCdId" value="${searchVO.seCmmnCdId}">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>"/>
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>"/>
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
||||
</form:form>
|
||||
<form:form commandName="listFullForm" name="listFullForm" method="get" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>">
|
||||
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
||||
<input name="nttId" type="hidden" value="<c:out value='${searchVO.nttId}'/>" />
|
||||
<input type="hidden" name="seCmmnCdId" value="${searchVO.seCmmnCdId}">
|
||||
<input type="hidden" name="frstRegisterId" value="${searchVO.frstRegisterId}"/>
|
||||
<input type="hidden" name="viewsYn" value="">
|
||||
<input type="hidden" name="menuNo" value="">
|
||||
<input type="hidden" name="searchBgnDe" value="${searchVO.searchBgnDe}">
|
||||
<input type="hidden" name="searchEndDe" value="${searchVO.searchEndDe}">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="searchSortCnd" value="${searchVO.searchSortCnd}" />
|
||||
<input type="hidden" name="searchSortOrd" value="${searchVO.searchSortOrd}" />
|
||||
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>"/>
|
||||
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>"/>
|
||||
<input type="hidden" name="pageUnit" value="${searchVO.pageUnit}" />
|
||||
</form:form>
|
||||
<div class="inner">
|
||||
<!-- send top -->
|
||||
<div class="send_top">
|
||||
<!-- tab button -->
|
||||
<ul class="tabType4">
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'1');location.href='/web/cop/bbs/NoticeList.do'">공지사항</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'2');location.href='/web/cop/bbs/TermsList.do'">이용약관</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'3');location.href='/web/cop/bbs/FaqList.do'">자주하는 질문</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'4');location.href='/web/cop/bbs/QnaList.do'">1:1 문의</button></li>
|
||||
<li class="tab"><button type="button" onclick="TabType5(this,'5');location.href='/web/cop/bbs/SuggestList.do'">불편신고</button></li>
|
||||
<li class="tab active"><button type="button" onclick="TabType5(this,'6');location.href='/web/cop/bbs/EventList.do'">이벤트</button></li>
|
||||
</ul><!--// tab button -->
|
||||
<!-- 고객센터 - 상세페이지 -->
|
||||
<div class="serv_content current" id="tab5_1">
|
||||
<div class="heading">
|
||||
<h2>${brdMstrVO.bbsNm}</h2>
|
||||
</div>
|
||||
<div class="list_cont" id="listTab_1">
|
||||
<div class="view_wrap">
|
||||
<div class="view_head">
|
||||
<div class="title"><p><c:out value="${result.nttSj}" /></p></div>
|
||||
<ul class="ext_info">
|
||||
<li><i></i><c:out value="${result.frstRegisterPnttm}" /></li>
|
||||
<li><i></i>운영자<%-- <c:out value="${result.frstRegisterNm}" /> --%></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="view_cont">
|
||||
<div class="cont_in">
|
||||
<%-- <div class="img_cont">
|
||||
<c:if test="${not empty fileList}">
|
||||
<c:forEach var="result" items="${fileList}" varStatus="status">
|
||||
<img src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>' alt="<c:out value='${nttSj}' />_<c:out value='${status.index+1}' />">
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</div> --%>
|
||||
<c:out value="${result.nttCn}" escapeXml="false" />
|
||||
</div>
|
||||
<%-- <div class="attachedFile2">
|
||||
|
||||
<c:if test="${result.atchFileCnt > 0}">
|
||||
<ul class="attach">
|
||||
<li><c:import url="/cmm/fms/selectBBSFileInfsMjon.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${result.atchFileId}" />
|
||||
</c:import>
|
||||
</li>
|
||||
</ul>
|
||||
</c:if>
|
||||
|
||||
|
||||
<!-- <div class="attachedFile_in">
|
||||
<a href="#none"><i></i>2021년 인증서 교체작업 서비스 이용 제한 안내.pdf</a>
|
||||
</div>
|
||||
<div class="attachedFile_in">
|
||||
<a href="#none"><i></i>2021년 인증서 교체작업 서비스 이용 제한 안내.hwp</a>
|
||||
</div> -->
|
||||
</div> --%>
|
||||
</div>
|
||||
<c:if test="${resultCnt > 0 and resultList[0].commentCn != ''}">
|
||||
<div class="view_answer">
|
||||
<div class="view_asnwer_head">
|
||||
<ul class="ext_info">
|
||||
<li><i></i><c:out value="${resultList[0].frstRegisterPnttm}" /></li>
|
||||
<li><i></i><c:out value="${resultList[0].frstRegisterNm}" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="view_asnwer_body">
|
||||
<div class="answer_title"><i></i></div>
|
||||
<div class="answer_cont">
|
||||
<c:out value="${resultList[0].commentCn}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
<div class="view_btnWrap">
|
||||
<c:if test="${'9997200' eq brdMstrVO.menuNo && empty answerList && 'T' ne result.secretAt}">
|
||||
<button type="button" class="btnType btnType1" onclick="javascript:fn_egov_moveUpdt_notice(); return false;">수정</button>
|
||||
<button type="button" class="btnType btnType2" onclick="javascript:fn_egov_delete_notice('1'); return false;">삭제</button>
|
||||
</c:if>
|
||||
<button type="button" class="btnType" onclick="javascript:fn_egov_select_noticeList(); return false;">목록</button>
|
||||
</div>
|
||||
<ul class="list_prev-next">
|
||||
<li class="list_prev">
|
||||
<div><span>이전글<i></i></span></div>
|
||||
<div>
|
||||
<c:choose>
|
||||
<c:when test="${empty prevNttIdNSj}">
|
||||
이전글이 없습니다.
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="prevNttId" value="${fn:split(prevNttIdNSj, '|')[0]}" />
|
||||
<c:set var="prevNttSj" value="${fn:split(prevNttIdNSj, '|')[1]}" />
|
||||
<c:set var="prevNttDate" value="${fn:split(prevNttIdNSj, '|')[2]}" />
|
||||
<a href="#" onclick="fn_egov_select_detail('<c:out value='${result.bbsId}'/>' , '<c:out value='${prevNttId}'/>'); return false;" title="현재창 이전글이동">
|
||||
<c:out value="${prevNttSj}" />
|
||||
</a>
|
||||
<span class="nb_date"><c:out value="${prevNttDate}" /></span>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- <a href="#none">[공지] 세금계산서 발행 안내</a> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="list_next">
|
||||
<div><span>다음글<i></i></span></div>
|
||||
<div>
|
||||
<c:choose>
|
||||
<c:when test="${empty nextNttIdNSj}">
|
||||
다음글이 없습니다.
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="nextNttId" value="${fn:split(nextNttIdNSj, '|')[0]}" />
|
||||
<c:set var="nextNttSj" value="${fn:split(nextNttIdNSj, '|')[1]}" />
|
||||
<c:set var="nextNttDate" value="${fn:split(nextNttIdNSj, '|')[2]}" />
|
||||
<a href="#" onclick="fn_egov_select_detail('<c:out value='${result.bbsId}'/>' , '<c:out value='${nextNttId}'/>'); return false;" title="현재창 다음글이동">
|
||||
<c:out value="${nextNttSj}" />
|
||||
</a>
|
||||
<span class="nb_date"><c:out value="${nextNttDate}" /></span>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- <a href="#none">[공지] 문자온 6월 30일 정식 서비스 오픈 안내</a> -->
|
||||
<div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- 고객센터 - 상세페이지 -->
|
||||
|
||||
</div><!--// send top -->
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@ -1,482 +1,482 @@
|
||||
<%@ 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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>문자온</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
var pageType = '${msgcampain}';
|
||||
var loginVO = '${loginVO}';
|
||||
var popCustomScrT=0;
|
||||
$(document).ready(function(){
|
||||
|
||||
// 맞춤제작 셈플 리스트
|
||||
customSampleListAjax(1);
|
||||
|
||||
customPopup();
|
||||
customPopupDetail();
|
||||
|
||||
// 맞춤제작 팝업 내보관함 리스트 로그인이 완료된 경우에만 로드되도록
|
||||
if(loginVO != "" && loginVO != null){
|
||||
myCustomListAjax(1);
|
||||
}
|
||||
|
||||
// 전체,기업, 개인 선택 옵션 처리
|
||||
$('.tDep1_mType').click(function(){
|
||||
|
||||
var mType = $(this).find('.on_active').text();
|
||||
var form = document.customSampleForm;
|
||||
|
||||
if(mType == "전체"){
|
||||
|
||||
form.memberType.value = "";
|
||||
|
||||
}else if(mType == "기업"){
|
||||
|
||||
form.memberType.value = "B";
|
||||
|
||||
}else{
|
||||
|
||||
form.memberType.value = "P";
|
||||
|
||||
}
|
||||
|
||||
//문자 리스트 불러오기
|
||||
form.letterType.value = "C";
|
||||
form.categoryCode.value = "";
|
||||
form.hashTag.value = "";
|
||||
form.pageIndex.value = 1;
|
||||
|
||||
//문자 리스트 불러오기
|
||||
customSampleListAjax(1);
|
||||
});
|
||||
|
||||
$('.tDep1_cateCode').click(function(){ // 카테고리 선택 시 옵션 처리
|
||||
|
||||
var cateCode = $(this).find('.on').attr("value");
|
||||
var form = document.customSampleForm;
|
||||
|
||||
if(cateCode == "all"){ //전체 선택시
|
||||
cateCode = "";
|
||||
} else {
|
||||
//카테고리 코드 클릭 시 해쉬태그 초기화 후 전체 선택
|
||||
form.hashTag.value="";
|
||||
$('.tDep2_hashTag').find('.on').removeClass('on');
|
||||
$('.tDep2_hashTag').find('.hashAll').addClass('on');
|
||||
}
|
||||
|
||||
form.categoryCode.value = cateCode;
|
||||
form.pageIndex.value = 1;
|
||||
|
||||
// 맞춤제작 셈플 리스트
|
||||
var pageUnit = $("#CPageUnit").val();
|
||||
customSampleListAjax(1);
|
||||
});
|
||||
|
||||
$('.tDep2_hashTag').click(function(){ //해시 태그 선택 시 옵션 처리
|
||||
var hashTag = $(this).find('.on').attr("value");
|
||||
var form = document.customSampleForm;
|
||||
|
||||
//해쉬태그 클릭 시 카테고리코드 초기화 후 전체 선택
|
||||
form.categoryCode.value="";
|
||||
$('.tDep1_cateCode').find('.on').removeClass('on');
|
||||
$('.tDep1_cateCode').find('.cateAll').addClass('on');
|
||||
|
||||
form.hashTag.value = hashTag;
|
||||
form.pageIndex.value = 1;
|
||||
|
||||
//문자 리스트 불러오기
|
||||
customSampleListAjax(1);
|
||||
});
|
||||
|
||||
if(pageType == "msgcampain"){
|
||||
$(".tDep1_cateCode a").each(function(index, item){
|
||||
if($(this).text() == "선거"){
|
||||
$('.tDep1_cateCode').find('.on').removeClass('on');
|
||||
$(this).addClass('on');
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
function fnCPageUnit(){
|
||||
var pageUnit = $("#CPageUnit").val();
|
||||
document.customSampleForm.pageUnit.value = pageUnit;
|
||||
customSampleListAjax(1);
|
||||
}
|
||||
|
||||
function fnMPageUnit(){
|
||||
var pageUnit = $("#myPageUnit").val();
|
||||
document.myCustomForm.pageUnit.value = pageUnit;
|
||||
customSampleListAjax(1);
|
||||
}
|
||||
|
||||
// 맞춤제작 셈플 리스트
|
||||
function customSampleListAjax(pageNo){
|
||||
document.customSampleForm.pageIndex.value = pageNo;
|
||||
var sendData= $(document.customSampleForm).serializeArray();
|
||||
$("#customSampleLoad").load("/web/mjon/custom/selectMsgCustomSampleListAjax.do", sendData ,function(response, status, xhr){
|
||||
photoLayerView();
|
||||
});
|
||||
}
|
||||
|
||||
//맞춤제작 내보관함 리스트
|
||||
function myCustomListAjax(pageNo){
|
||||
|
||||
if(!fn_G_cmndataValueChk("startDate", "endDate", 12)){
|
||||
return;
|
||||
};
|
||||
|
||||
document.myCustomForm.pageIndex.value = pageNo;
|
||||
var sendData= $(document.myCustomForm).serializeArray();
|
||||
$("#myCustomLoad").load("/web/mjon/custom/selectMsgMyCustomListAjax.do", sendData ,function(response, status, xhr){
|
||||
photoLayerView();
|
||||
});
|
||||
}
|
||||
|
||||
//맞춤제작 내보관함 정렬 조회
|
||||
function fnMyCustomSearchListOrd(){
|
||||
|
||||
var form = document.myCustomForm;
|
||||
var sortOrd = form.searchSortOrd.value;
|
||||
|
||||
if(sortOrd == 'desc'){
|
||||
|
||||
form.searchSortOrd.value = 'asc';
|
||||
$('#sortCnd').text('등록순');
|
||||
|
||||
}else{
|
||||
|
||||
form.searchSortOrd.value = 'desc';
|
||||
$('#sortCnd').text('최근순');
|
||||
|
||||
}
|
||||
|
||||
//내문자함 내용 검색하기
|
||||
myCustomListAjax(1);
|
||||
|
||||
}
|
||||
//맞춤제작 등록 Popup
|
||||
function customPopup(){
|
||||
$("#customPopup").load("/web/mjon/custom/selectMsgCustomPopupAjax.do", "" ,function(response, status, xhr){
|
||||
popupImgList(1);
|
||||
});
|
||||
}
|
||||
|
||||
function openMsgCustomPopup() {
|
||||
if(loginVO == "" || loginVO == null){
|
||||
alert("로그인 후 이용이 가능합니다.");
|
||||
return false;
|
||||
} else {
|
||||
$("#customPopupOpen").trigger("click");
|
||||
}
|
||||
$("#customType04").hide();
|
||||
popCustomScrT=$(window).scrollTop();
|
||||
popScrTarget();
|
||||
}
|
||||
|
||||
//맞춤제작 등록 Popup
|
||||
function customPopupDetail(){
|
||||
$("#customPopupDetail").load("/web/mjon/custom/MsgCustomVeiwPopupAjax.do", "" ,function(response, status, xhr){
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkPhoPage(pageNo){
|
||||
customSampleListAjax(pageNo);
|
||||
}
|
||||
|
||||
function myCustomPage(pageNo){
|
||||
myCustomListAjax(pageNo);
|
||||
}
|
||||
|
||||
function fnCustomImgSendMsg(atchFileId, fileSn, strImgPath){
|
||||
|
||||
var form = document.customImgSendForm;
|
||||
|
||||
form.atchFileId1.value = atchFileId;
|
||||
form.fileSn.value = fileSn;
|
||||
form.strImgPath.value = strImgPath;
|
||||
form.customImgFlag.value = "Y";
|
||||
|
||||
form.action = "<c:url value='/web/mjon/msgdata/selectMsgDataView.do'/>";
|
||||
form.submit();
|
||||
|
||||
}
|
||||
|
||||
$(function(){
|
||||
sitemapTabView();
|
||||
});
|
||||
function sitemapTabView(){
|
||||
var oldUrl=window.location.href;
|
||||
var idx=oldUrl.slice(-1);
|
||||
var n=oldUrl.indexOf('?');
|
||||
var changeUrl=oldUrl.slice(0,n);
|
||||
|
||||
/* if(typeof (history.pushState) != 'undefined' && oldUrl.indexOf('?') !== -1){
|
||||
history.pushState(null, null, changeUrl);
|
||||
}else{} */
|
||||
if(oldUrl.indexOf('?') !== -1){
|
||||
$('.tabType4 li').removeClass('active').eq(idx-1).addClass('active');
|
||||
$('.custom_content').removeClass('current');
|
||||
$('.custom_content.custom'+idx).addClass('current');
|
||||
|
||||
TabType4(this, idx);
|
||||
}
|
||||
}
|
||||
|
||||
$(window).on('load',function(){
|
||||
setTimeout(function(){
|
||||
popScrTarget();
|
||||
},500);
|
||||
});
|
||||
|
||||
function popScrTarget(){
|
||||
var closeTarget=$('.custom_layer .tooltip-close');
|
||||
closeTarget.attr('onclick','popScrCloseSetting();');
|
||||
}
|
||||
|
||||
function popScrCloseSetting(){
|
||||
setTimeout(function(){
|
||||
$(window).scrollTop(popCustomScrT);
|
||||
},1);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- content 영역 -->
|
||||
<div class="inner">
|
||||
<input type="hidden" id="msgcampain" value="${msgcampain}"/>
|
||||
<!-- 공통 visal -->
|
||||
<div class="custom_visual">
|
||||
<div class="custom_visual_image"></div>
|
||||
</div>
|
||||
<!-- send top -->
|
||||
<div class="send_top">
|
||||
<!-- tab button -->
|
||||
<ul class="tabType4">
|
||||
<li class="tab active">
|
||||
<button type="button" onclick="TabType4(this,'1');">맞춤제작 샘플</button>
|
||||
</li>
|
||||
<li class="tab">
|
||||
<button type="button" onclick="TabType4(this,'2');">제작방법 및 이용안내</button>
|
||||
</li>
|
||||
<li class="tab">
|
||||
<button type="button" onclick="TabType4(this,'3');">내보관함</button>
|
||||
</li>
|
||||
</ul>
|
||||
<form id="customImgSendForm" name="customImgSendForm" method="post">
|
||||
<input type="hidden" id="atchFileId1" name="atchFileId1" value=""/>
|
||||
<input type="hidden" id="fileSn" name="fileSn" value=""/>
|
||||
<input type="hidden" id="strImgPath" name="strImgPath" value=""/>
|
||||
<input type="hidden" id="customImgFlag" name="customImgFlag" value="N"/>
|
||||
</form>
|
||||
<!--// tab button -->
|
||||
<form id="customSampleForm" name="customSampleForm" method="post">
|
||||
<input type="hidden" name="pageIndex" />
|
||||
<input type="hidden" name="hashTag" id="hashTag" />
|
||||
<input type="hidden" name="letterType" id="letterType" />
|
||||
<input type="hidden" name="memberType" id="memberType" />
|
||||
<input type="hidden" name="pageUnit" id="pageUnit" value="${searchVO.pageUnit}"/>
|
||||
<input type="hidden" name="categoryCode" id="categoryCode"
|
||||
<c:if test="${msgcampain eq 'msgcampain'}">
|
||||
value="${searchVO.categoryCode}"
|
||||
</c:if>
|
||||
/>
|
||||
<!-- tab content1 맞춤제작 샘플 -->
|
||||
<div class="custom_content current custom1" id="tab4_1">
|
||||
<div class="area_tabs">
|
||||
<div class="top_tab">
|
||||
<!-- <div class="tab_depth1 tDep1_mType">
|
||||
<a href="#none" class="on" value="">전체</a>
|
||||
<a href="#none" value="B">기업</a>
|
||||
<a href="#none" class="on" value="P">개인</a>
|
||||
<div class="on_active">전체</div>
|
||||
</div> -->
|
||||
<div class="customReq">
|
||||
<input type="hidden" id="customPopupOpen" data-tooltip="popup01">
|
||||
<button type="button" onclick="openMsgCustomPopup(); return false;"><i></i>맞춤제작 요청</button>
|
||||
</div>
|
||||
<select name="CPageUnit" id="CPageUnit" class="selType2" onChange="fnCPageUnit(); return false;">
|
||||
<option value="10">2줄보기</option>
|
||||
<option value="20">4줄보기</option>
|
||||
<option value="30">6줄보기</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="bottom_tab">
|
||||
<div class="tab_depth3 tDep1_cateCode">
|
||||
<a href="#none" class="on cateAll" value="">All</a>
|
||||
<a href="#none" value="best">BEST</a>
|
||||
<c:forEach var="cateList" items="${cateCodeList}" varStatus="status">
|
||||
<a href="#none" value="<c:out value='${cateList.cateCode}'/>"><c:out value="${cateList.cateNm}"/></a>
|
||||
</c:forEach>
|
||||
</div>
|
||||
<div class="tab_depth4 tDep2_hashTag">
|
||||
<a href="#none" class="on hashAll" value="">전체</a>
|
||||
<c:forEach var="hashList" items="${hashTagList}" varStatus="status">
|
||||
<a href="#none" value="${hashList.hashNm}">#<c:out value="${hashList.hashNm}"/></a>
|
||||
</c:forEach>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="customSampleLoad">
|
||||
</div>
|
||||
</div>
|
||||
<!--// tab content1 맞춤제작 샘플 -->
|
||||
</form>
|
||||
<!-- tab content2 제작방법 및 이용안내 -->
|
||||
<div class="custom_content custom2" id="tab4_2">
|
||||
<div class="heading">
|
||||
<h2>제작방법 및 이용안내</h2>
|
||||
</div>
|
||||
<div class="cont_top">
|
||||
<table>
|
||||
<caption>제작방법 및 이용안내에 대한 구분, 용도, 가격, 제공방법 표</caption>
|
||||
<colgroup>
|
||||
<col style="width: 520px;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 25%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">구분</th>
|
||||
<th scope="col">용도</th>
|
||||
<th scope="col">가격<span>(VAT별도)</span></th>
|
||||
<th scope="col">구분</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>문자온 샘플 수정(글자, 색상, 폰트 등)</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customSamplePrice}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>이미지 편집(첨부이미지 1장)</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customEditPrice}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>이미지 편집(첨부이미지 3장이하)</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customEdit3Price}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>텍스트 단순수정</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customTextPrice}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="custom_notice">
|
||||
<div>
|
||||
<i></i>
|
||||
<p>유의사항</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>- 모든 완성본은 1장만 제공됩니다.</p>
|
||||
<p>- 제작 완료 후 추가 수정 시 별도 비용이 발생됩니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>- 제작기간은 영업일 기준 1~3일 정도 소요됩니다.</p>
|
||||
<p>- 제작 완료된 이미지는 내보관함에 자동 저장됩니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>- PSD 원본 파일은 제공하지 않습니다.</p>
|
||||
<p>- 제작비용은 신청 시 즉시 차감됩니다.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cont_bottom">
|
||||
<div class="custom_step">
|
||||
<div class="step_title">
|
||||
<p><span>샘플</span> 제작 요청방법</p>
|
||||
<span class="summary">전문 디자이너가 직접 제작하는 고퀄리티 맞춤제작 서비스</span>
|
||||
</div>
|
||||
<ol>
|
||||
<li>
|
||||
<div class="step">STEP <strong>01</strong></div>
|
||||
<div class="text">문자온 문자 샘플 목록에서<br><strong>원하는 이미지 선택</strong></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="step">STEP <strong>02</strong></div>
|
||||
<div class="text">작업 요청내역 입력 후<br><strong>신청하기 버튼 클릭</strong></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="step">STEP <strong>03</strong></div>
|
||||
<div class="text"><strong>내보관함</strong>에서<br>완성된 이미지 확인<span>(문자, 카톡 등)</span></div>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--// tab content2 제작방법 및 이용안내 -->
|
||||
|
||||
<!-- tab content3 내 보관함 -->
|
||||
<form id="myCustomForm" name="myCustomForm" method="post">
|
||||
<input type="hidden" name="pageIndex" />
|
||||
<input type="hidden" name="pageUnit" id="pageUnit" value="${searchVO.pageUnit}"/>
|
||||
<input name="searchSortOrd" type="hidden" value="desc"/>
|
||||
<div class="custom_content custom3" id="tab4_3">
|
||||
<div class="search_wrap clearfix">
|
||||
<div class="btn_left">
|
||||
<span>· 기간</span>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="startDate inp calendar" title="검색 시작일" id="startDate" name="searchStartDate" value="${myStartDate}" data-datecontrol="true">
|
||||
<span class="dateEtc">~</span>
|
||||
<input type="text" class="endDate inp calendar" title="검색 종료일" id="endDate" name="searchEndDate" value="${myEndDate}" data-datecontrol="true">
|
||||
</div>
|
||||
<div class="search">
|
||||
<!-- <label for="searchWord" class="label"></label> -->
|
||||
<!-- <input type="text" id="searchWord" name="searchWord" placeholder="내보관함 검색" onfocus="this.placeholder=''" onblur="this.placeholder='내보관함 검색'"> -->
|
||||
<button type="button" class="btnType btnType2" onclick="javascript:myCustomListAjax(1); return false;">검색</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" id="sortOrd" name="sortOrd" onClick="javascript:fnMyCustomSearchListOrd(); return false;"><span id="sortCnd">최근순</span><i></i></button>
|
||||
<!-- <label for="" class="label">검색조건 선택</label>
|
||||
<select name="" id="" class="selType2">
|
||||
<option value="">전체보기</option>
|
||||
<option value="">전체보기</option>
|
||||
<option value="">전체보기</option>
|
||||
</select> -->
|
||||
<label for="pageUnit" class="label"></label>
|
||||
<select name="myPageUnit" id="myPageUnit" class="selType2" onChange="fnMPageUnit(); return false;">
|
||||
<option value="10">2줄보기</option>
|
||||
<option value="20">4줄보기</option>
|
||||
<option value="30">6줄보기</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div id="myCustomLoad">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<!--//tab content3 내 보관함 -->
|
||||
<!-- 맞춤제작 요청 레이어 팝업 -->
|
||||
<div class="tooltip-wrap" id="customPopup">
|
||||
</div>
|
||||
<!--// 맞춤제작 요청 레이어 팝업 -->
|
||||
<!-- 내 보관함 상세보기 레이어 팝업 -->
|
||||
<div class="tooltip-wrap" id="customPopupDetail">
|
||||
</div>
|
||||
<!--// 내 보관함 상세보기 레이어 팝업 -->
|
||||
</div>
|
||||
<!--// send top -->
|
||||
</div>
|
||||
<!--// content 영역 -->
|
||||
</body>
|
||||
</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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>문자온</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
var pageType = '${msgcampain}';
|
||||
var loginVO = '${loginVO}';
|
||||
var popCustomScrT=0;
|
||||
$(document).ready(function(){
|
||||
|
||||
// 맞춤제작 셈플 리스트
|
||||
customSampleListAjax(1);
|
||||
|
||||
customPopup();
|
||||
customPopupDetail();
|
||||
|
||||
// 맞춤제작 팝업 내보관함 리스트 로그인이 완료된 경우에만 로드되도록
|
||||
if(loginVO != "" && loginVO != null){
|
||||
myCustomListAjax(1);
|
||||
}
|
||||
|
||||
// 전체,기업, 개인 선택 옵션 처리
|
||||
$('.tDep1_mType').click(function(){
|
||||
|
||||
var mType = $(this).find('.on_active').text();
|
||||
var form = document.customSampleForm;
|
||||
|
||||
if(mType == "전체"){
|
||||
|
||||
form.memberType.value = "";
|
||||
|
||||
}else if(mType == "기업"){
|
||||
|
||||
form.memberType.value = "B";
|
||||
|
||||
}else{
|
||||
|
||||
form.memberType.value = "P";
|
||||
|
||||
}
|
||||
|
||||
//문자 리스트 불러오기
|
||||
form.letterType.value = "C";
|
||||
form.categoryCode.value = "";
|
||||
form.hashTag.value = "";
|
||||
form.pageIndex.value = 1;
|
||||
|
||||
//문자 리스트 불러오기
|
||||
customSampleListAjax(1);
|
||||
});
|
||||
|
||||
$('.tDep1_cateCode').click(function(){ // 카테고리 선택 시 옵션 처리
|
||||
|
||||
var cateCode = $(this).find('.on').attr("value");
|
||||
var form = document.customSampleForm;
|
||||
|
||||
if(cateCode == "all"){ //전체 선택시
|
||||
cateCode = "";
|
||||
} else {
|
||||
//카테고리 코드 클릭 시 해쉬태그 초기화 후 전체 선택
|
||||
form.hashTag.value="";
|
||||
$('.tDep2_hashTag').find('.on').removeClass('on');
|
||||
$('.tDep2_hashTag').find('.hashAll').addClass('on');
|
||||
}
|
||||
|
||||
form.categoryCode.value = cateCode;
|
||||
form.pageIndex.value = 1;
|
||||
|
||||
// 맞춤제작 셈플 리스트
|
||||
var pageUnit = $("#CPageUnit").val();
|
||||
customSampleListAjax(1);
|
||||
});
|
||||
|
||||
$('.tDep2_hashTag').click(function(){ //해시 태그 선택 시 옵션 처리
|
||||
var hashTag = $(this).find('.on').attr("value");
|
||||
var form = document.customSampleForm;
|
||||
|
||||
//해쉬태그 클릭 시 카테고리코드 초기화 후 전체 선택
|
||||
form.categoryCode.value="";
|
||||
$('.tDep1_cateCode').find('.on').removeClass('on');
|
||||
$('.tDep1_cateCode').find('.cateAll').addClass('on');
|
||||
|
||||
form.hashTag.value = hashTag;
|
||||
form.pageIndex.value = 1;
|
||||
|
||||
//문자 리스트 불러오기
|
||||
customSampleListAjax(1);
|
||||
});
|
||||
|
||||
if(pageType == "msgcampain"){
|
||||
$(".tDep1_cateCode a").each(function(index, item){
|
||||
if($(this).text() == "선거"){
|
||||
$('.tDep1_cateCode').find('.on').removeClass('on');
|
||||
$(this).addClass('on');
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
function fnCPageUnit(){
|
||||
var pageUnit = $("#CPageUnit").val();
|
||||
document.customSampleForm.pageUnit.value = pageUnit;
|
||||
customSampleListAjax(1);
|
||||
}
|
||||
|
||||
function fnMPageUnit(){
|
||||
var pageUnit = $("#myPageUnit").val();
|
||||
document.myCustomForm.pageUnit.value = pageUnit;
|
||||
customSampleListAjax(1);
|
||||
}
|
||||
|
||||
// 맞춤제작 셈플 리스트
|
||||
function customSampleListAjax(pageNo){
|
||||
document.customSampleForm.pageIndex.value = pageNo;
|
||||
var sendData= $(document.customSampleForm).serializeArray();
|
||||
$("#customSampleLoad").load("/web/mjon/custom/selectMsgCustomSampleListAjax.do", sendData ,function(response, status, xhr){
|
||||
photoLayerView();
|
||||
});
|
||||
}
|
||||
|
||||
//맞춤제작 내보관함 리스트
|
||||
function myCustomListAjax(pageNo){
|
||||
|
||||
if(!fn_G_cmndataValueChk("startDate", "endDate", 12)){
|
||||
return;
|
||||
};
|
||||
|
||||
document.myCustomForm.pageIndex.value = pageNo;
|
||||
var sendData= $(document.myCustomForm).serializeArray();
|
||||
$("#myCustomLoad").load("/web/mjon/custom/selectMsgMyCustomListAjax.do", sendData ,function(response, status, xhr){
|
||||
photoLayerView();
|
||||
});
|
||||
}
|
||||
|
||||
//맞춤제작 내보관함 정렬 조회
|
||||
function fnMyCustomSearchListOrd(){
|
||||
|
||||
var form = document.myCustomForm;
|
||||
var sortOrd = form.searchSortOrd.value;
|
||||
|
||||
if(sortOrd == 'desc'){
|
||||
|
||||
form.searchSortOrd.value = 'asc';
|
||||
$('#sortCnd').text('등록순');
|
||||
|
||||
}else{
|
||||
|
||||
form.searchSortOrd.value = 'desc';
|
||||
$('#sortCnd').text('최근순');
|
||||
|
||||
}
|
||||
|
||||
//내문자함 내용 검색하기
|
||||
myCustomListAjax(1);
|
||||
|
||||
}
|
||||
//맞춤제작 등록 Popup
|
||||
function customPopup(){
|
||||
$("#customPopup").load("/web/mjon/custom/selectMsgCustomPopupAjax.do", "" ,function(response, status, xhr){
|
||||
popupImgList(1);
|
||||
});
|
||||
}
|
||||
|
||||
function openMsgCustomPopup() {
|
||||
if(loginVO == "" || loginVO == null){
|
||||
alert("로그인 후 이용이 가능합니다.");
|
||||
return false;
|
||||
} else {
|
||||
$("#customPopupOpen").trigger("click");
|
||||
}
|
||||
$("#customType04").hide();
|
||||
popCustomScrT=$(window).scrollTop();
|
||||
popScrTarget();
|
||||
}
|
||||
|
||||
//맞춤제작 등록 Popup
|
||||
function customPopupDetail(){
|
||||
$("#customPopupDetail").load("/web/mjon/custom/MsgCustomVeiwPopupAjax.do", "" ,function(response, status, xhr){
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkPhoPage(pageNo){
|
||||
customSampleListAjax(pageNo);
|
||||
}
|
||||
|
||||
function myCustomPage(pageNo){
|
||||
myCustomListAjax(pageNo);
|
||||
}
|
||||
|
||||
function fnCustomImgSendMsg(atchFileId, fileSn, strImgPath){
|
||||
|
||||
var form = document.customImgSendForm;
|
||||
|
||||
form.atchFileId1.value = atchFileId;
|
||||
form.fileSn.value = fileSn;
|
||||
form.strImgPath.value = strImgPath;
|
||||
form.customImgFlag.value = "Y";
|
||||
|
||||
form.action = "<c:url value='/web/mjon/msgdata/selectMsgDataView.do'/>";
|
||||
form.submit();
|
||||
|
||||
}
|
||||
|
||||
$(function(){
|
||||
sitemapTabView();
|
||||
});
|
||||
function sitemapTabView(){
|
||||
var oldUrl=window.location.href;
|
||||
var idx=oldUrl.slice(-1);
|
||||
var n=oldUrl.indexOf('?');
|
||||
var changeUrl=oldUrl.slice(0,n);
|
||||
|
||||
/* if(typeof (history.pushState) != 'undefined' && oldUrl.indexOf('?') !== -1){
|
||||
history.pushState(null, null, changeUrl);
|
||||
}else{} */
|
||||
if(oldUrl.indexOf('?') !== -1){
|
||||
$('.tabType4 li').removeClass('active').eq(idx-1).addClass('active');
|
||||
$('.custom_content').removeClass('current');
|
||||
$('.custom_content.custom'+idx).addClass('current');
|
||||
|
||||
TabType4(this, idx);
|
||||
}
|
||||
}
|
||||
|
||||
$(window).on('load',function(){
|
||||
setTimeout(function(){
|
||||
popScrTarget();
|
||||
},500);
|
||||
});
|
||||
|
||||
function popScrTarget(){
|
||||
var closeTarget=$('.custom_layer .tooltip-close');
|
||||
closeTarget.attr('onclick','popScrCloseSetting();');
|
||||
}
|
||||
|
||||
function popScrCloseSetting(){
|
||||
setTimeout(function(){
|
||||
$(window).scrollTop(popCustomScrT);
|
||||
},1);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- content 영역 -->
|
||||
<div class="inner">
|
||||
<input type="hidden" id="msgcampain" value="${msgcampain}"/>
|
||||
<!-- 공통 visal -->
|
||||
<div class="custom_visual">
|
||||
<div class="custom_visual_image"></div>
|
||||
</div>
|
||||
<!-- send top -->
|
||||
<div class="send_top">
|
||||
<!-- tab button -->
|
||||
<ul class="tabType4">
|
||||
<li class="tab active">
|
||||
<button type="button" onclick="TabType4(this,'1');">맞춤제작 샘플</button>
|
||||
</li>
|
||||
<li class="tab">
|
||||
<button type="button" onclick="TabType4(this,'2');">제작방법 및 이용안내</button>
|
||||
</li>
|
||||
<li class="tab">
|
||||
<button type="button" onclick="TabType4(this,'3');">내보관함</button>
|
||||
</li>
|
||||
</ul>
|
||||
<form id="customImgSendForm" name="customImgSendForm" method="post">
|
||||
<input type="hidden" id="atchFileId1" name="atchFileId1" value=""/>
|
||||
<input type="hidden" id="fileSn" name="fileSn" value=""/>
|
||||
<input type="hidden" id="strImgPath" name="strImgPath" value=""/>
|
||||
<input type="hidden" id="customImgFlag" name="customImgFlag" value="N"/>
|
||||
</form>
|
||||
<!--// tab button -->
|
||||
<form id="customSampleForm" name="customSampleForm" method="post">
|
||||
<input type="hidden" name="pageIndex" />
|
||||
<input type="hidden" name="hashTag" id="hashTag" />
|
||||
<input type="hidden" name="letterType" id="letterType" />
|
||||
<input type="hidden" name="memberType" id="memberType" />
|
||||
<input type="hidden" name="pageUnit" id="pageUnit" value="${searchVO.pageUnit}"/>
|
||||
<input type="hidden" name="categoryCode" id="categoryCode"
|
||||
<c:if test="${msgcampain eq 'msgcampain'}">
|
||||
value="${searchVO.categoryCode}"
|
||||
</c:if>
|
||||
/>
|
||||
<!-- tab content1 맞춤제작 샘플 -->
|
||||
<div class="custom_content current custom1" id="tab4_1">
|
||||
<div class="area_tabs">
|
||||
<div class="top_tab">
|
||||
<!-- <div class="tab_depth1 tDep1_mType">
|
||||
<a href="#none" class="on" value="">전체</a>
|
||||
<a href="#none" value="B">기업</a>
|
||||
<a href="#none" class="on" value="P">개인</a>
|
||||
<div class="on_active">전체</div>
|
||||
</div> -->
|
||||
<div class="customReq">
|
||||
<input type="hidden" id="customPopupOpen" data-tooltip="popup01">
|
||||
<button type="button" onclick="openMsgCustomPopup(); return false;"><i></i>맞춤제작 요청</button>
|
||||
</div>
|
||||
<select name="CPageUnit" id="CPageUnit" class="selType2" onChange="fnCPageUnit(); return false;">
|
||||
<option value="10">2줄보기</option>
|
||||
<option value="20">4줄보기</option>
|
||||
<option value="30">6줄보기</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="bottom_tab">
|
||||
<div class="tab_depth3 tDep1_cateCode">
|
||||
<a href="#none" class="on cateAll" value="">All</a>
|
||||
<a href="#none" value="best">BEST</a>
|
||||
<c:forEach var="cateList" items="${cateCodeList}" varStatus="status">
|
||||
<a href="#none" value="<c:out value='${cateList.cateCode}'/>"><c:out value="${cateList.cateNm}"/></a>
|
||||
</c:forEach>
|
||||
</div>
|
||||
<div class="tab_depth4 tDep2_hashTag">
|
||||
<a href="#none" class="on hashAll" value="">전체</a>
|
||||
<c:forEach var="hashList" items="${hashTagList}" varStatus="status">
|
||||
<a href="#none" value="${hashList.hashNm}">#<c:out value="${hashList.hashNm}"/></a>
|
||||
</c:forEach>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="customSampleLoad">
|
||||
</div>
|
||||
</div>
|
||||
<!--// tab content1 맞춤제작 샘플 -->
|
||||
</form>
|
||||
<!-- tab content2 제작방법 및 이용안내 -->
|
||||
<div class="custom_content custom2" id="tab4_2">
|
||||
<div class="heading">
|
||||
<h2>제작방법 및 이용안내</h2>
|
||||
</div>
|
||||
<div class="cont_top">
|
||||
<table>
|
||||
<caption>제작방법 및 이용안내에 대한 구분, 용도, 가격, 제공방법 표</caption>
|
||||
<colgroup>
|
||||
<col style="width: 520px;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 25%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">구분</th>
|
||||
<th scope="col">용도</th>
|
||||
<th scope="col">가격<span>(VAT별도)</span></th>
|
||||
<th scope="col">구분</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>문자온 샘플 수정(글자, 색상, 폰트 등)</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customSamplePrice}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>이미지 편집(첨부이미지 1장)</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customEditPrice}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>이미지 편집(첨부이미지 3장이하)</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customEdit3Price}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>텍스트 단순수정</td>
|
||||
<td>문자/카톡</td>
|
||||
<td>${customTextPrice}원</td>
|
||||
<td>내보관함/카톡/이메일</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="custom_notice">
|
||||
<div>
|
||||
<i></i>
|
||||
<p>유의사항</p>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>- 모든 완성본은 1장만 제공됩니다.</p>
|
||||
<p>- 제작 완료 후 추가 수정 시 별도 비용이 발생됩니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>- 제작기간은 영업일 기준 1~3일 정도 소요됩니다.</p>
|
||||
<p>- 제작 완료된 이미지는 내보관함에 자동 저장됩니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>- PSD 원본 파일은 제공하지 않습니다.</p>
|
||||
<p>- 제작비용은 신청 시 즉시 차감됩니다.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cont_bottom">
|
||||
<div class="custom_step">
|
||||
<div class="step_title">
|
||||
<p><span>샘플</span> 제작 요청방법</p>
|
||||
<span class="summary">전문 디자이너가 직접 제작하는 고퀄리티 맞춤제작 서비스</span>
|
||||
</div>
|
||||
<ol>
|
||||
<li>
|
||||
<div class="step">STEP <strong>01</strong></div>
|
||||
<div class="text">문자온 문자 샘플 목록에서<br><strong>원하는 이미지 선택</strong></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="step">STEP <strong>02</strong></div>
|
||||
<div class="text">작업 요청내역 입력 후<br><strong>신청하기 버튼 클릭</strong></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="step">STEP <strong>03</strong></div>
|
||||
<div class="text"><strong>내보관함</strong>에서<br>완성된 이미지 확인<span>(문자, 카톡 등)</span></div>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--// tab content2 제작방법 및 이용안내 -->
|
||||
|
||||
<!-- tab content3 내 보관함 -->
|
||||
<form id="myCustomForm" name="myCustomForm" method="post">
|
||||
<input type="hidden" name="pageIndex" />
|
||||
<input type="hidden" name="pageUnit" id="pageUnit" value="${searchVO.pageUnit}"/>
|
||||
<input name="searchSortOrd" type="hidden" value="desc"/>
|
||||
<div class="custom_content custom3" id="tab4_3">
|
||||
<div class="search_wrap clearfix">
|
||||
<div class="btn_left">
|
||||
<span>· 기간</span>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="startDate inp calendar" title="검색 시작일" id="startDate" name="searchStartDate" value="${myStartDate}" data-datecontrol="true">
|
||||
<span class="dateEtc">~</span>
|
||||
<input type="text" class="endDate inp calendar" title="검색 종료일" id="endDate" name="searchEndDate" value="${myEndDate}" data-datecontrol="true">
|
||||
</div>
|
||||
<div class="search">
|
||||
<!-- <label for="searchWord" class="label"></label> -->
|
||||
<!-- <input type="text" id="searchWord" name="searchWord" placeholder="내보관함 검색" onfocus="this.placeholder=''" onblur="this.placeholder='내보관함 검색'"> -->
|
||||
<button type="button" class="btnType btnType2" onclick="javascript:myCustomListAjax(1); return false;">검색</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" id="sortOrd" name="sortOrd" onClick="javascript:fnMyCustomSearchListOrd(); return false;"><span id="sortCnd">최근순</span><i></i></button>
|
||||
<!-- <label for="" class="label">검색조건 선택</label>
|
||||
<select name="" id="" class="selType2">
|
||||
<option value="">전체보기</option>
|
||||
<option value="">전체보기</option>
|
||||
<option value="">전체보기</option>
|
||||
</select> -->
|
||||
<label for="pageUnit" class="label"></label>
|
||||
<select name="myPageUnit" id="myPageUnit" class="selType2" onChange="fnMPageUnit(); return false;">
|
||||
<option value="10">2줄보기</option>
|
||||
<option value="20">4줄보기</option>
|
||||
<option value="30">6줄보기</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div id="myCustomLoad">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<!--//tab content3 내 보관함 -->
|
||||
<!-- 맞춤제작 요청 레이어 팝업 -->
|
||||
<div class="tooltip-wrap" id="customPopup">
|
||||
</div>
|
||||
<!--// 맞춤제작 요청 레이어 팝업 -->
|
||||
<!-- 내 보관함 상세보기 레이어 팝업 -->
|
||||
<div class="tooltip-wrap" id="customPopupDetail">
|
||||
</div>
|
||||
<!--// 내 보관함 상세보기 레이어 팝업 -->
|
||||
</div>
|
||||
<!--// send top -->
|
||||
</div>
|
||||
<!--// content 영역 -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user