PatrolInspectionSiteService.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.usky.fire.service;
  2. import com.usky.common.core.bean.CommonPage;
  3. import com.usky.common.mybatis.core.CrudService;
  4. import com.usky.fire.domain.PatrolInspectionSite;
  5. import com.usky.fire.domain.PatrolInspectionSiteContent;
  6. import com.usky.fire.service.vo.PatrolInspectionAreaVo;
  7. import com.usky.fire.service.vo.PatrolInspectionSiteExportVo;
  8. import org.springframework.web.multipart.MultipartFile;
  9. import java.util.List;
  10. /**
  11. * <p>
  12. * 服务类
  13. * </p>
  14. *
  15. * @author JCB
  16. * @since 2022-07-13
  17. */
  18. public interface PatrolInspectionSiteService extends CrudService<PatrolInspectionSite> {
  19. List<PatrolInspectionAreaVo> areaLeftList();
  20. CommonPage<PatrolInspectionSite> patrolInspectionSiteList(Integer areaId, String siteName, Integer pageNum, Integer pageSize, Integer id);
  21. void updatePatrolInspectionSiteList(List<PatrolInspectionSite> patrolInspectionSiteList);
  22. void updatePatrolInspectionSite(PatrolInspectionSite patrolInspectionSite);
  23. void delPatrolInspectionSite(Integer id);
  24. void addSiteContent(List<PatrolInspectionSiteContent> siteContentList);
  25. Integer[] siteContentList(Integer siteId);
  26. List<PatrolInspectionSiteExportVo> patrolInspectionSiteListExport(Integer areaId, String siteName, String idList);
  27. /**
  28. * 根据区域ID查询地点ID
  29. *
  30. * @param areaIdList 区域ID
  31. * @return
  32. */
  33. List<Integer> siteIdList(List<Integer> areaIdList);
  34. void patrolInspectionSiteImport(MultipartFile multipartFile);
  35. }