143 lines
3.7 KiB
Plaintext
143 lines
3.7 KiB
Plaintext
package com.bonus.sys.dao;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import com.bonus.core.BonusBatis;
|
|
import com.bonus.sys.BaseDao;
|
|
import com.bonus.sys.Page;
|
|
import com.bonus.sys.beans.OrgBean;
|
|
import com.bonus.sys.beans.UserBean;
|
|
import com.bonus.sys.beans.ZNode;
|
|
|
|
@BonusBatis
|
|
public interface UserDao extends BaseDao<UserBean> {
|
|
|
|
public int deleteByPrimaryKey(Integer id);
|
|
|
|
public int insertSelective(UserBean record);
|
|
|
|
public int insertBean(UserBean o);
|
|
|
|
public UserBean selectByPrimaryKey(Integer id);
|
|
|
|
public UserBean findByidcard(String idCard);
|
|
|
|
public int updateByPrimaryKeySelective(UserBean record);
|
|
|
|
public int updateByPrimaryKey(UserBean record);
|
|
|
|
public UserBean findUserBeanByLoginName(String loginName);
|
|
|
|
public int findLoginName(String loginName);
|
|
|
|
public void setSetting(UserBean cu);
|
|
|
|
public void resetPwd(UserBean o);
|
|
|
|
public List<ZNode> getOrgBeans();
|
|
|
|
public List<ZNode> getOrgBeansList();
|
|
|
|
public int findCountByLoginName(String loginName);
|
|
|
|
public List<UserBean> findAllByRole(UserBean o);
|
|
|
|
public List<UserBean> findAllByNewRole(UserBean o);
|
|
|
|
public void insertUserRole(UserBean ub);
|
|
|
|
public void deleteUserRole(int roleId);
|
|
|
|
public UserBean findAll(UserBean o);
|
|
|
|
public List<UserBean> findAllUser();
|
|
|
|
public List<UserBean> findByOrg(UserBean o);
|
|
|
|
public List<UserBean> findByRepair();
|
|
|
|
public String findCompanyName(UserBean o);
|
|
|
|
public List<UserBean> getUnit(UserBean o);
|
|
|
|
public List<ZNode> findPerson(UserBean o);
|
|
|
|
public UserBean findByUserId(@Param("userId") String userId, @Param("flag") int flag);
|
|
|
|
public UserBean findUserBeanById(String userId);
|
|
|
|
public List<UserBean> findPersonByOrgId(@Param("orgId") String orgId);
|
|
|
|
public List<UserBean> findCIdByOrgId(@Param("orgId") String orgId, @Param("postId") String postId);
|
|
|
|
public List<UserBean> findByPageOfWebUser(@Param("param")UserBean o,Page<UserBean> page);
|
|
|
|
public List<UserBean> findAllPerson();
|
|
|
|
public UserBean selectUser(String loginName);
|
|
|
|
public UserBean getnum(String phonenum);
|
|
|
|
public List<UserBean> getUserList();
|
|
|
|
public List<ZNode> findAllInternalEmp();
|
|
|
|
public List<UserBean> getDeptEmpByDeptId(UserBean o);
|
|
|
|
public List<UserBean> findListByPhone(@Param("phone")String phone);
|
|
|
|
public List<ZNode> clientUnitTree(UserBean o);
|
|
|
|
public List<ZNode> findNewRole(UserBean o);
|
|
|
|
public List<UserBean> findAllClient(UserBean o);
|
|
|
|
public List<UserBean> findEmpsByOrgId(UserBean o);
|
|
|
|
public List<UserBean> findByPageOfBrotherUser(@Param("param")UserBean o, Page<UserBean> page);
|
|
|
|
public List<ZNode> getRepairEmpList(Integer id);
|
|
|
|
public List<ZNode> getTecEmp(Integer id);
|
|
|
|
public List<UserBean> findProjectCollarList();
|
|
|
|
public Map<String, Float> findProjectCollarMap();
|
|
|
|
public List<UserBean> findInuseProjectCollarList();
|
|
|
|
public List<UserBean> findAllKeeper();
|
|
|
|
public List<UserBean> getRepairOrg();
|
|
|
|
public List<UserBean> findBuyersList();
|
|
|
|
public List<ZNode> findRepairTeam(UserBean o);
|
|
|
|
public List<UserBean> findByPageOfNew(@Param("param")UserBean o, Page<UserBean> page);
|
|
|
|
public List<UserBean> findCompanyList(UserBean o);
|
|
|
|
public UserBean findUserInfoById(UserBean o);
|
|
|
|
public UserBean findOrgId(Integer orgId);
|
|
|
|
public List<UserBean> findInternalEmp();
|
|
|
|
public List<UserBean> findAllBuyer(UserBean o);
|
|
public List<UserBean> findAllKeeperForOrgId(UserBean o);
|
|
|
|
public List<UserBean> getUserByEmp();
|
|
|
|
public List<UserBean> getListByPost();
|
|
|
|
public UserBean getUserInfo(@Param("param")UserBean user);
|
|
|
|
public List<UserBean> findUserBySelect(UserBean o);
|
|
|
|
public List<ZNode> getOrgTreeList(UserBean o);
|
|
|
|
} |