TravelCommentsMapper.java 629 B

12345678910111213141516171819202122232425
  1. package com.travel.mapper;
  2. import com.travel.model.Travel;
  3. import com.travel.model.TravelComments;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import java.util.List;
  6. import java.util.Map;
  7. @Mapper
  8. public interface TravelCommentsMapper {
  9. void addComments(TravelComments comments);
  10. void delComments(TravelComments comments);
  11. List<TravelComments> getComments(TravelComments comments);
  12. List<Map<String, Object>> getCommentsUser(TravelComments travelComments);
  13. Travel getPtyhUserTravel(String uuid);
  14. Travel getGysUserTravel(String uuid);
  15. int getCommentsUserCount(TravelComments travelComments);
  16. }