IUnitServiceSMO.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.java110.front.smo;
  2. import com.java110.core.context.IPageData;
  3. import org.springframework.http.ResponseEntity;
  4. /**
  5. * @ClassName IUnitServiceSMO
  6. * @Description TODO 小区单元服务类
  7. * @Author wuxw
  8. * @Date 2019/5/2 19:27
  9. * @Version 1.0
  10. * add by wuxw 2019/5/2
  11. **/
  12. public interface IUnitServiceSMO {
  13. /**
  14. * 加载小区单元
  15. * 单元目前不考虑 分页问题
  16. *
  17. * @param pd 页面数据封装 包含小区楼ID
  18. * @return ResponseEntity 对象给前段页面
  19. */
  20. ResponseEntity<String> listUnits(IPageData pd);
  21. /**
  22. * 保存小区单元信息
  23. *
  24. * @param pd 页面数据封装
  25. * @return ResponseEntity对象
  26. */
  27. ResponseEntity<String> saveUnit(IPageData pd);
  28. /**
  29. * 修改小区单元信息
  30. *
  31. * @param pd 页面数据封装
  32. * @return ResponseEntity对象
  33. */
  34. ResponseEntity<String> updateUnit(IPageData pd);
  35. /**
  36. * 删除小区单元
  37. *
  38. * @param pd 页面数据封装
  39. * @return ResponseEntity对象
  40. */
  41. ResponseEntity<String> deleteUnit(IPageData pd);
  42. }