package com.crsp.service;

import java.util.List;

import com.crsp.dto.RecordDTO;
import com.crsp.dto.ResourceDTO;
import com.crsp.dto.UserDTO;
import com.crsp.entity.User;
import com.crsp.utils.Page;

public interface UserServiceI {
	//装入id, user_name, school_name, department_name
	public UserDTO login(String id, String password);		//用户登录
	
	//装入id, user_name, school_name, department_name
	public UserDTO register(User user);	//用户注册
	
	//每个ResourceDTO装入id, resource_name, status_name, time, type
	public List<ResourceDTO> getMyUpload(int userId, Page page);
	
	//每个ResourceDTO装入id, resource_name, status_name, time, type
	public List<ResourceDTO> getMyDownload(int userId, Page page);
	
	//每个RecordDTO装入id, delta, time, 
	public List<RecordDTO> getMyRecord(int userId, Page page);
}

@@ -24,32 +24,8 @@
 e;%0A%0A
-import java.util.List;%0A%0A
 impo
@@ -169,16 +169,45 @@
 ls.Page;
+%0Aimport com.crsp.utils.Pages;
 %0A%0Apublic
@@ -498,36 +498,37 @@
 e, type%0A%09public 
-List
+Pages
 %3CResourceDTO%3E ge
@@ -632,20 +632,21 @@
 %09public 
-List
+Pages
 %3CResourc
@@ -737,12 +737,13 @@
 lic 
-List
+Pages
 %3CRec

fix UserServiceI