首页>代码>java servlet+bootstrap+ajax实现的教师年度工作填报系统>/report_servlet/src/com/mocha/report/article/service/ArticleSer.java
package com.mocha.report.article.service;

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

import com.mocha.report.entites.Article;

public interface ArticleSer {

	List<Map<String,String>> findTotal() ;
	List<Article> findByCondition(Article article,int page,int perPage);
	
	/**
	 * 获取最大页数
	 * @return 
	 */
	int getMaxPage(int perPage,Article article) throws SQLException;
	/**
	 * 根据usercode查询登陆用户的论文信息
	 * 条件查询
	 * 分页技术
	 */
	
	List<Article> findByUsercode(String usercode,int page,int perPage);
	
	/**
	 * 查询最大页数
	 * @param perPage
	 * @return
	 * @throws SQLException 
	 */
	public int getMaxPage(int perPage,String usercode) throws SQLException;
	
	/**
	 * 根据论文aid查询论文信息
	 *
	 */
	Article findByAid(int aid);
	
	/**
	 * 删除
	 */
	void delete(int aid);
	
	/**
	 * 添加
	 */
	void save(Article article);
	
	/**
	 * 修改
	 */
	void update(Article article);
}
最近下载更多
森sdfgf  LV8 4月2日
hongdongdong  LV12 2023年6月17日
try8023  LV18 2023年4月29日
mousse  LV1 2023年3月13日
liu2022  LV14 2022年7月31日
lvhongquan  LV11 2022年6月16日
Zac141  LV3 2022年4月27日
zacoder  LV3 2022年3月26日
HONG SIR  LV8 2022年2月28日
早早早  LV1 2022年1月18日
最近浏览更多
森sdfgf  LV8 4月2日
rongtao  LV1 1月9日
WBelong  LV7 2023年12月25日
186092  LV4 2023年9月20日
攻城狮aoao  LV3 2023年8月29日
wersdfs  LV1 2023年7月10日
hongdongdong  LV12 2023年6月17日
try8023  LV18 2023年4月29日
sweetbox  LV10 2023年4月10日
mousse  LV1 2023年3月13日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友