mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-06 01:06:39 +00:00
后台首页更 新,新增会员总数/作家总数/作品总数/交易总数统计,新增7日内会员新增/作家新增/作品新增/交易新增统计报表
This commit is contained in:
@ -0,0 +1,54 @@
|
||||
package com.java2nb.system.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import com.java2nb.system.vo.UserVO;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.java2nb.common.domain.Tree;
|
||||
import com.java2nb.system.domain.DeptDO;
|
||||
import com.java2nb.system.domain.UserDO;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@Service
|
||||
public interface SysUserService {
|
||||
UserDO get(Long id);
|
||||
|
||||
List<UserDO> list(Map<String, Object> map);
|
||||
|
||||
int count(Map<String, Object> map);
|
||||
|
||||
int save(UserDO user);
|
||||
|
||||
int update(UserDO user);
|
||||
|
||||
int remove(Long userId);
|
||||
|
||||
int batchremove(Long[] userIds);
|
||||
|
||||
boolean exit(Map<String, Object> params);
|
||||
|
||||
Set<String> listRoles(Long userId);
|
||||
|
||||
int resetPwd(UserVO userVO,UserDO userDO) throws Exception;
|
||||
int adminResetPwd(UserVO userVO) throws Exception;
|
||||
Tree<DeptDO> getTree();
|
||||
|
||||
/**
|
||||
* 更新个人信息
|
||||
* @param userDO
|
||||
* @return
|
||||
*/
|
||||
int updatePersonal(UserDO userDO);
|
||||
|
||||
/**
|
||||
* 更新个人图片
|
||||
* @param file 图片
|
||||
* @param avatar_data 裁剪信息
|
||||
* @param userId 用户ID
|
||||
* @throws Exception
|
||||
*/
|
||||
Map<String, Object> updatePersonalImg(MultipartFile file, String avatar_data, Long userId) throws Exception;
|
||||
}
|
Reference in New Issue
Block a user