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

📄 assetdao.java

📁 固定资产管理系统包括一个基本的部分
💻 JAVA
字号:
package com.shenlong.assetmanage.dao;

import java.sql.SQLException;
import java.util.List;

import com.shenlong.assetmanage.domain.Asset;



public interface AssetDao {
	
	
	public Asset queryAssetById(int id) throws SQLException;
	
	
	public int saveNewAsset (Asset asset) throws SQLException;
	
	
	public List<Asset> queryAssetByName(String name) throws SQLException;
	
	
	public List<Asset> queryAssetByName(String name, int page, int total) throws SQLException;
	
	
	public int getAssetCountByName(String name) throws SQLException;
	
	
	
	public List<Asset> queryAssetByClass(int class2Id, int page, int total) throws SQLException;
	
	
	public int getAssetCountByClass(int class2Id) throws SQLException;
	
	
	public int getAssetCountByEmpName(String empName) throws SQLException;
	
	
	public List<Asset> queryAssetByEmpName(String empName, int page, int total) throws SQLException;
	
	
	public int modifyAsset(Asset asset) throws SQLException;
	
	
	public int deleteAssetById(int id) throws SQLException;
	
	
	public int updateEmpId(int assetId, int empId) throws SQLException;
}

⌨️ 快捷键说明

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