Exemple #1
0
  @SuppressWarnings("unchecked")
  public List chman_login_his(HashMap paramMap) {
    List list = null;

    try {
      String pageNum = WebUtil.nullCheck((String) paramMap.get("pageNum"), "1");
      String pageSize = WebUtil.nullCheck((String) paramMap.get("pageSize"), "10");

      int totCnt = chmanDao.chman_login_hisCount(paramMap);

      NewPageNavigator pageNavi = new NewPageNavigator();
      pageNavi.setParameterMap(paramMap);
      pageNavi.setTotalRow(totCnt);
      pageNavi.setPageSize(Integer.parseInt(pageSize));
      pageNavi.setCurrentPage(Integer.parseInt(pageNum));

      paramMap.put("pageSize", pageSize);
      paramMap.put("pageNum", pageNum);
      paramMap.put("pageNavi", pageNavi);

      list = chmanDao.chman_login_his(paramMap);

    } catch (Exception e) {
      logger.error(e, e);
    }
    return list;
  }
Exemple #2
0
 /**
  * 고객 회사정보 insert
  *
  * @param map
  * @return
  */
 @SuppressWarnings("unchecked")
 public boolean ChmanComInsert(Map map) {
   boolean retBoolean = false;
   try {
     String corp_no = chmanDao.selectCorpNo(map);
     map.put("corp_no", corp_no);
     chmanDao.insertChmanCom(map);
     retBoolean = true;
   } catch (Exception e) {
     retBoolean = false;
     logger.error(e, e);
   }
   return retBoolean;
 }
Exemple #3
0
 /**
  * 담당자정보 수정
  *
  * @param map
  * @return
  */
 @SuppressWarnings("unchecked")
 public boolean modChmanUpdate(HashMap map) throws BizException {
   boolean retTrue = false;
   try {
     chmanDao.modChmanUpdate(map);
     chmanDao.updateChmanADMIN(map);
     retTrue = true;
   } catch (Exception e) {
     retTrue = false;
     logger.error(e, e);
     throw new BizException("");
   }
   return retTrue;
 }
Exemple #4
0
 /**
  * 담당자 정보 VIEW
  *
  * @param map
  * @return
  */
 @SuppressWarnings("unchecked")
 public HashMap getChmanView(Map map) throws Exception {
   HashMap rMap = new HashMap();
   try {
     rMap = chmanDao.getChmanView(map);
   } catch (Exception e) {
     throw new Exception();
   }
   return rMap;
 }
Exemple #5
0
 @SuppressWarnings("unchecked")
 public int chman_login_hisCount(Map map) throws Exception {
   int nRet = 0;
   try {
     nRet = chmanDao.chman_login_hisCount(map);
   } catch (Exception e) {
     throw new Exception();
   }
   return nRet;
 }
Exemple #6
0
 /**
  * 고객 회사정보 카운트
  *
  * @param map
  * @return
  */
 @SuppressWarnings("unchecked")
 public int getChmanComCount(Map map) throws Exception {
   int nRet = 0;
   try {
     nRet = chmanDao.selectChmanComTotCount(map);
   } catch (Exception e) {
     throw new Exception();
   }
   return nRet;
 }
Exemple #7
0
 public HashMap ssnCheck(HashMap map, HttpServletRequest request) {
   List list = null;
   HashMap resultMap = new HashMap();
   try {
     list = chmanDao.ssnCheck(map);
     String result = ServiceUtil.parseXmlMap(list);
     resultMap.put("result", result);
   } catch (Exception e) {
     logger.error(e, e);
   }
   return resultMap;
 }
Exemple #8
0
 /**
  * 고객 회사정보 사용여부 update
  *
  * @param map
  * @return
  */
 @SuppressWarnings("unchecked")
 public boolean ChmanComUseUpdate(Map map) {
   boolean retBoolean = false;
   try {
     chmanDao.ChmanComUseUpdate(map);
     retBoolean = true;
   } catch (Exception e) {
     retBoolean = false;
     logger.error(e, e);
   }
   return retBoolean;
 }
Exemple #9
0
 /**
  * 계정정보 insert
  *
  * @param map
  * @return
  */
 @SuppressWarnings("unchecked")
 public boolean insertADMIN(Map map) {
   boolean retBoolean = false;
   try {
     chmanDao.insertADMIN(map);
     retBoolean = true;
   } catch (Exception e) {
     retBoolean = false;
     logger.error(e, e);
   }
   return retBoolean;
 }
Exemple #10
0
  /**
   * 코드 정보
   *
   * @param map
   * @return
   */
  @SuppressWarnings("unchecked")
  public List getCode(HashMap paramMap) {
    List list = null;
    try {
      list = null;
      list = chmanDao.getCode(paramMap);

    } catch (Exception e) {
      logger.error(e, e);
    }
    return list;
  }
Exemple #11
0
  /**
   * 사용자 XML정보 가져오기
   *
   * @param map
   * @param request
   * @return
   */
  public HashMap selectXmlChmanList(HashMap map, HttpServletRequest request) {
    List list = null;
    HashMap resultMap = new HashMap();
    try {
      map.put("pageSize", "10");
      map.put("pageNum", "1");

      list = chmanDao.selectXmlChmanList(map);

      String result = ServiceUtil.parseXmlMap(list);
      resultMap.put("result", result);
    } catch (Exception e) {
      logger.error(e, e);
    }
    return resultMap;
  }