elastic-data-test

UnitMapper.java 972B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.vcarecity.publish.mapper;
  2. import com.vcarecity.publish.entity.UnitAgencyMergeEntity;
  3. import com.vcarecity.publish.entity.UnitEntity;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * @author VcKerry on 12/17/19
  9. */
  10. @Mapper
  11. public interface UnitMapper {
  12. /**
  13. * find update
  14. *
  15. * @param fromDate
  16. * @param toDate
  17. * @return
  18. */
  19. List<UnitEntity> findUpdateList(@Param("fromDate") String fromDate, @Param("toDate") String toDate);
  20. /**
  21. * find update
  22. *
  23. * @param fromDate
  24. * @param toDate
  25. * @return
  26. */
  27. List<UnitAgencyMergeEntity> findUpdateUaList(@Param("fromDate") String fromDate, @Param("toDate") String toDate);
  28. /**
  29. * find all by page
  30. *
  31. * @param page
  32. * @param size
  33. * @return
  34. */
  35. List<UnitAgencyMergeEntity> findAllWithPage(@Param("page") int page, @Param("size") int size);
  36. }