OrganizationService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.goafanti.organization.service;
  2. import com.goafanti.admin.bo.AdminListBo;
  3. import com.goafanti.core.mybatis.page.Pagination;
  4. import com.goafanti.organization.bo.DepOut;
  5. import com.goafanti.organization.bo.InputDep;
  6. import com.goafanti.organization.bo.OrganizationListOut;
  7. import java.util.List;
  8. public interface OrganizationService {
  9. /**
  10. * 部门组织管理查询
  11. * @param olo
  12. * @param pageNo
  13. * @param pageSize
  14. * @return
  15. */
  16. Pagination<OrganizationListOut>
  17. listOrganizationManagement(OrganizationListOut olo,Integer pageNo, Integer pageSize);
  18. /**组织名称查上级组织*/
  19. List<DepOut> selectSuperId(Integer hideSign);
  20. List<DepOut> getAllDep(Integer hideSign);
  21. /**
  22. *
  23. * @param name 组织名称
  24. * @param managerId 负责人ID
  25. * @param type 组织类型
  26. * @param superId 上级组织
  27. * @param desc 组织职能说明
  28. * @return
  29. */
  30. int addOrganization(String name,String managerId,String type,String superId,String desc,
  31. Integer workingHoursType,Integer hideSign,String depNo);
  32. /**
  33. * 模糊查询负责人名称
  34. * @param name
  35. * @return
  36. */
  37. List<AdminListBo> selectName(String name);
  38. OrganizationListOut selectAllById(String id);
  39. int deleteById(String id);
  40. int updateOrganization(InputDep in);
  41. boolean checkDepNo(String depNo,Integer type);
  42. }