133 lines
2.9 KiB
Plaintext
133 lines
2.9 KiB
Plaintext
package com.bonus.sys.service;
|
|
|
|
import java.util.List;
|
|
|
|
import com.bonus.sys.AjaxRes;
|
|
import com.bonus.sys.BaseService;
|
|
import com.bonus.sys.Page;
|
|
import com.bonus.sys.beans.UserBean;
|
|
import com.bonus.sys.beans.ZNode;
|
|
|
|
public interface UserService extends BaseService<UserBean> {
|
|
|
|
UserBean findUserBeanByLoginName(String username);
|
|
|
|
void setPerData(UserBean o);
|
|
|
|
void setSetting(String skin);
|
|
|
|
int preResetPwd(String opwd, String npwd, String qpwd);
|
|
|
|
int sysResetPwd(UserBean o);
|
|
|
|
int webResetPwd(UserBean o);
|
|
|
|
List<ZNode> getOrgBeans();
|
|
|
|
List<ZNode> getOrgBeansList();
|
|
|
|
int insertUser(UserBean o);
|
|
|
|
void deleteBatch(String chks);
|
|
|
|
List<UserBean> findAllByRole(UserBean o);
|
|
List<UserBean> findAllByNewRole(UserBean o);
|
|
|
|
void updateUsers(int roleId, String chks);
|
|
|
|
UserBean findAll(UserBean o);
|
|
|
|
UserBean findByidcard(String idCard);
|
|
|
|
List<UserBean> findAllUser();
|
|
|
|
List<UserBean> findAllBuyer(int postId);//获取采购员
|
|
List<UserBean> findAllKeeperForOrgId(int orgId);//获取库管班人员
|
|
|
|
List<UserBean> findByRepair();
|
|
|
|
List<UserBean> findByOrg(UserBean o);
|
|
|
|
String findCompanyName(UserBean o);
|
|
|
|
List<UserBean> getUnit(UserBean o);
|
|
|
|
List<ZNode> findPerson(UserBean o);
|
|
|
|
UserBean findByUserId(String userId,int flag);
|
|
|
|
UserBean findUserBeanById(String userId);
|
|
|
|
List<UserBean> findPersonByOrgId(String orgId);
|
|
|
|
List<UserBean> findCIdByOrgId(String orgId,String postId);
|
|
|
|
List<ZNode> findAllInternalEmp();
|
|
|
|
List<UserBean> findAllPerson();
|
|
|
|
void insertUserRole(UserBean o);
|
|
|
|
Integer insertBean(UserBean o);
|
|
|
|
Integer webInsertBean(UserBean o);
|
|
|
|
UserBean selectUser(String loginName);
|
|
|
|
UserBean getnum(String phonenum);
|
|
|
|
List<UserBean> getDeptEmpByDeptId(UserBean o);
|
|
List<UserBean> getUserList();
|
|
|
|
Page<UserBean> findByPageOfWebUser(UserBean o, Page<UserBean> page);
|
|
|
|
List<UserBean> findListByPhone(String phone);
|
|
|
|
List<ZNode> clientUnitTree(UserBean o);
|
|
|
|
List<ZNode> findNewRole(UserBean o);
|
|
|
|
List<UserBean> findAllClient(UserBean o);
|
|
|
|
Page<UserBean> findByPageOfBrotherUser(UserBean o, Page<UserBean> page);
|
|
|
|
List<ZNode> getRepairEmpList(Integer id);
|
|
|
|
List<ZNode> getTecEmp(Integer id);
|
|
|
|
List<UserBean> findAllKeeper();
|
|
|
|
List<UserBean> getRepairOrg();
|
|
|
|
List<ZNode> findRepairTeam(UserBean o);
|
|
|
|
Page<UserBean> findByPageOfNew(UserBean o, Page<UserBean> page);
|
|
|
|
List<UserBean> findBuyersList();
|
|
|
|
List<UserBean> findCompanyList();
|
|
|
|
AjaxRes addUser(UserBean o);
|
|
|
|
UserBean findOrgId(Integer orgId);
|
|
|
|
UserBean findUserInfoById(UserBean o);
|
|
|
|
AjaxRes updateUser(UserBean o);
|
|
|
|
List<UserBean> findInternalEmp();
|
|
|
|
List<UserBean> getUserByEmp();
|
|
|
|
List<UserBean> getListByPost();
|
|
|
|
UserBean getUserInfo(UserBean user);
|
|
|
|
List<UserBean> findUserBySelect(UserBean o);
|
|
|
|
List<ZNode> getOrgTreeList(UserBean o);
|
|
|
|
int findCountByLoginName(String loginName);
|
|
|
|
}
|