⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wdscwddao.java

📁 以前做的一个j2ee的项目
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
//Source file: D:\\OLLA\\DS_WORK\\gzds-uml\\gov\\gdlt\\taxcore\\taxdao\\ssgly\\wdsc\\WDSCwdDAO.java

package gov.gdlt.ssgly.taxcore.taxdao.wdsc;

import java.sql.*;
import java.util.Date;

import com.ibatis.sqlmap.client.*;
import gov.gdlt.ssgly.taxcore.comm.dao.*;
//import gov.gdlt.taxcore.comm.dao.BaseDataAccessObject;
import gov.gdlt.ssgly.taxcore.comm.log.*;
import gov.gdlt.ssgly.taxcore.comm.servicelocator.*;
/**
 * 存放生成好的文档
 */
public class WDSCwdDAO extends BaseDataAccessObject
{
    LogWritter log = new LogWritter();
    private String nsrnbm;//保存当前纳税人内部码
   private SqlMapClient sqlMap;
   private Connection m_conn;

   private String m_blobFileName;

   private String m_swjg;

   //已生成好的文档内容,字符串
   private String m_strWdNr;
   /**
    * 文档名称
    */
   private String m_wdmc;

   /**
    * 文档内容
    */
   private Object m_wdnr;

   /**
    * 文档说明
    */
   private String m_wdsm;

   /**
    * 文档生成时间
    */
   private Date m_wdscsj;

   /**
    * 文档修改时间
    */
   private Date m_wdxgsj;

   /**
    * 文档操作员
    */
   private String m_wdczy;

   /**
    * 文档模板编码
    */
   private String m_wdmbbm;

   private String m_strWdscsj;

   /**
    * @roseuid 42D3371C01A5
    */
   public WDSCwdDAO()
   {
       m_wdxgsj = new Date();
   }

   public SqlMapClient getSqlMapClient() {
             sqlMap = super.getSqlMapClient();
             return sqlMap;
   }

   public String getM_blobFileName()
   {
       return m_blobFileName;
   }

   public void setM_blobFileName(String blobFileName)
   {
       m_blobFileName = blobFileName;
   }
   /**
    * Access method for the m_wdmc property.
    *
    * @return   the current value of the m_wdmc property
    */
   public java.lang.String getM_wdmc()
   {
      return m_wdmc;
   }

   /**
    * Sets the value of the m_wdmc property.
    *
    * @param aM_wdmc the new value of the m_wdmc property
    */
   public void setM_wdmc(java.lang.String aM_wdmc)
   {
      m_wdmc = aM_wdmc;
   }

   /**
    * Access method for the m_wdnr property.
    *
    * @return   the current value of the m_wdnr property
    */
   public java.lang.Object getM_wdnr()
   {
      return m_wdnr;
   }

   /**
    * Sets the value of the m_wdnr property.
    *
    * @param aM_wdnr the new value of the m_wdnr property
    */
   public void setM_wdnr(java.lang.Object aM_wdnr)
   {
      m_wdnr = aM_wdnr;
   }

   /**
    * Access method for the m_wdsm property.
    *
    * @return   the current value of the m_wdsm property
    */
   public java.lang.String getM_wdsm()
   {
      return m_wdsm;
   }

   /**
    * Sets the value of the m_wdsm property.
    *
    * @param aM_wdsm the new value of the m_wdsm property
    */
   public void setM_wdsm(java.lang.String aM_wdsm)
   {
      m_wdsm = aM_wdsm;
   }

   /**
    * Access method for the m_wdscsj property.
    *
    * @return   the current value of the m_wdscsj property
    */
   public java.util.Date getM_wdscsj()
   {
      return m_wdscsj;
   }

   /**
    * Sets the value of the m_wdscsj property.
    *
    * @param aM_wdscsj the new value of the m_wdscsj property
    */
   public void setM_wdscsj(java.util.Date aM_wdscsj)
   {
      m_wdscsj = aM_wdscsj;
   }

   /**
    * Access method for the m_wdxgsj property.
    *
    * @return   the current value of the m_wdxgsj property
    */
   public java.util.Date getM_wdxgsj()
   {
      return m_wdxgsj;
   }

   /**
    * Sets the value of the m_wdxgsj property.
    *
    * @param aM_wdxgsj the new value of the m_wdxgsj property
    */
   public void setM_wdxgsj(java.util.Date aM_wdxgsj)
   {
      m_wdxgsj = aM_wdxgsj;
   }

   /**
    * Access method for the m_wdczy property.
    *
    * @return   the current value of the m_wdczy property
    */
   public java.lang.String getM_wdczy()
   {
      return m_wdczy;
   }

   /**
    * Sets the value of the m_wdczy property.
    *
    * @param aM_wdczy the new value of the m_wdczy property
    */
   public void setM_wdczy(java.lang.String aM_wdczy)
   {
      m_wdczy = aM_wdczy;
   }

   /**
    * Access method for the m_wdmbbm property.
    *
    * @return   the current value of the m_wdmbbm property
    */
   public java.lang.String getM_wdmbbm()
   {
      return m_wdmbbm;
   }

   /**
    * Sets the value of the m_wdmbbm property.
    *
    * @param aM_wdmbbm the new value of the m_wdmbbm property
    */
   public void setM_wdmbbm(java.lang.String aM_wdmbbm)
   {
      m_wdmbbm = aM_wdmbbm;
   }

   public void setSqlMap(SqlMapClient sqlMap) {
       this.sqlMap = sqlMap;
   }

  public void setM_strWdNr(String m_strWdNr) {
    this.m_strWdNr = m_strWdNr;
  }

    public void setM_swjg(String m_swjg) {
        this.m_swjg = m_swjg;
    }

    public void setNsrnbm(String nsrnbm) {
        this.nsrnbm = nsrnbm;
    }

    public void setM_strWdscsj(String m_strWdscsj) {
        this.m_strWdscsj = m_strWdscsj;
    }

    public void setM_conn(Connection m_conn) {
        this.m_conn = m_conn;
    }

    public SqlMapClient getSqlMap() {
       return this.sqlMap;
   }

  public String getM_strWdNr() {
    return m_strWdNr;
  }

    public String getM_swjg() {
        return m_swjg;
    }

    public String getNsrnbm() {
        return nsrnbm;
    }

    public String getM_strWdscsj() {
        return m_strWdscsj;
    }

    public Connection getM_conn() {
        return m_conn;
    }

    /*
    public WDSCwdDAO getWdByWdbm(String wdbm) throws Exception {
       WDSCwdDAO wd = null;
       try {
           this.setM_wdmc(wdbm);
           wd = (WDSCwdDAO) selectE("WDSC.selectWdByMc", this);
       } catch (Exception ex) {
          ex.printStackTrace();
          throw new Exception(ex.getMessage());
       }

       return wd;
   }
*/
   //通过纳税人内部码得到最近一条文档
   //USED
   public WDSCwdDAO getWdByNsrnbm(String nsrbm) throws Exception {
       WDSCwdDAO wd = new WDSCwdDAO();

       Connection conn = null;
       try {
           this.setM_wdmc(nsrbm + "%");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -