Package com.ordobill.webapp.beans

Examples of com.ordobill.webapp.beans.Economic


       
        return message;
    }
   
    public Economic getEconomic(String _figUid) throws Exception {
      Economic ec = new Economic();
      try
      {
       ec = EconomicTable.Geteconomic(_figUid);
      }catch(Exception e)
      {
        System.out.println(e.getMessage());
            log.debug(e.getMessage());
      }
      if (ec == null) ec = new Economic();
      return ec;
    }
View Full Code Here


     * @param medeling Modeling Bean 을 받아 Modeling 테이블을 조회합니다.
     * @return Modeling Bean 의 형태로 반환합니다.
     * @throws Exception
     */
    public static Economic EconomicBean(Economic economic) throws Exception{
      Economic getEconomic = (Economic) sqlMap.queryForObject("Economic.list", economic);
        return getEconomic;
    }   
View Full Code Here

     */   
    public static int economicPreDelete(SqlMapClient sqlMap, Economic[] economic) throws Exception{
        int message = -1;
        System.out.println("modelingPreDelete->"+message);
        if(economic.length > 0){
          Economic ec = economic[0];
            message = (Integer)sqlMap.delete("Economic.economicPreDelete", ec);
            System.out.println("modelingPreDelete->"+message);
            if(message < 0){
                return message;
            }
View Full Code Here

       
        if(figUid == ""){
            throw new Exception("Economic Project Uid는 0이상이여야 합니다.");
        }else{
           
            message = (Integer)sqlMap.delete("Economic.economicPreDelete", new Economic(figUid));
           
            if(message < 0){
                return message;
            }
           
View Full Code Here

      }
      return message;
    }
   
    public static Economic Geteconomic(String _figUid) throws Exception{
      Economic getEconomic = (Economic) sqlMap.queryForObject("Economic.selectEconomic", _figUid);
     
      return getEconomic;
    }
View Full Code Here

TOP

Related Classes of com.ordobill.webapp.beans.Economic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.