1
0

UserAskRelationMapper.java 900 B

12345678910111213141516171819202122232425262728293031
  1. package com.qxgmat.data.relation;
  2. import com.qxgmat.data.dao.entity.UserAsk;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. /**
  6. * Created by gaojie on 2017/11/9.
  7. */
  8. public interface UserAskRelationMapper {
  9. List<UserAsk> listWithUser(
  10. @Param("category") Number category,
  11. @Param("userId") Number userId,
  12. @Param("questionId") Number questionId,
  13. @Param("target") String target,
  14. @Param("status") Integer status,
  15. @Param("showStatus") Integer showStatus,
  16. @Param("min") Integer min,
  17. @Param("max") Integer max,
  18. String order,
  19. String direction
  20. );
  21. void adjust(
  22. @Param("questionId") Number questionId,
  23. @Param("order") Integer order,
  24. @Param("direction") String direction,
  25. @Param("flag") String flag
  26. );
  27. }