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

📄 t_dp_checkdispstat_dao.java

📁 一个javaweb开的小例子
💻 JAVA
字号:
package cn.com.pkusoft.entity.dao;

import java.util.List;
import cn.com.pkusoft.entity.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public class T_Dp_CheckDispStat_Dao extends BaseDao
{
    public T_Dp_CheckDispStat_Dao()
    {
    }
    public List select(String strFilter) throws java.sql.SQLException
    {
	/**@todo Implement this cn.com.pkusoft.entity.dao.BaseDao abstract method*/
	throw new java.lang.UnsupportedOperationException("Method select() not yet implemented.");
    }
    public int update(BaseEntityData bd) throws java.sql.SQLException
    {
	/**@todo Implement this cn.com.pkusoft.entity.dao.BaseDao abstract method*/
	throw new java.lang.UnsupportedOperationException("Method update() not yet implemented.");
    }
    public int insert(BaseEntityData bd) throws java.sql.SQLException
    {
		T_Dp_CheckDispStat_BD checkdispstat_Bd = new T_Dp_CheckDispStat_BD();
		/*
		 INSERT INTO DP_USER (
		 USERNUM, LOGINNAME, LOGINPASS,
		 LOGINQUES, LOGINANSE, EMAIL,
		 TELE, ADDRESS, USERGRADE,
		 REMARK, FAX)
		 VALUES ( , , ,
		  , , ,
		  , , ,
		  , )
		 */
		StringBuffer sqlBuffer = new StringBuffer("");
		sqlBuffer.append("INSERT INTO ");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.TABLE_NAME);
		sqlBuffer.append("( ");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.CHECKSTAT);
		sqlBuffer.append(",");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.CHECKTIME);
		sqlBuffer.append(",");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.REASON);
		sqlBuffer.append(",");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.REGIMANNUM);
		sqlBuffer.append(",");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.REMARK);
		sqlBuffer.append(",");
		sqlBuffer.append(T_Dp_CheckDispStat_BD.REQUNUM);
		sqlBuffer.append(") VALUES (");
		sqlBuffer.append(checkdispstat_Bd.getCheckstat());
		sqlBuffer.append(",");
		sqlBuffer.append(checkdispstat_Bd.getChecktime());
		sqlBuffer.append(",");
		sqlBuffer.append(checkdispstat_Bd.getReason());
		sqlBuffer.append(",");
		sqlBuffer.append(checkdispstat_Bd.getRegimannum());
		sqlBuffer.append(",");
		sqlBuffer.append(checkdispstat_Bd.getRemark());
		sqlBuffer.append(",");
		sqlBuffer.append(checkdispstat_Bd.getRequnum());
		sqlBuffer.append(")");


		String strSql = sqlBuffer.toString();
	   //delete sqlBuffer;
	   int nReturn = this.execute(strSql);

	   return nReturn;



    }
    protected String getSequenceName() throws java.sql.SQLException
    {
	/**@todo Implement this cn.com.pkusoft.entity.dao.BaseDao abstract method*/
	throw new java.lang.UnsupportedOperationException("Method getSequenceName() not yet implemented.");
    }
    public int delete(BaseEntityData bd) throws java.sql.SQLException
    {
	/**@todo Implement this cn.com.pkusoft.entity.dao.BaseDao abstract method*/
	throw new java.lang.UnsupportedOperationException("Method delete() not yet implemented.");
    }

}

⌨️ 快捷键说明

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