update Page.size to long
This commit is contained in:
@@ -31,5 +31,5 @@ public interface IssueMapper extends BaseMapper<Issue, Long> {
|
||||
* @param limit 数据量
|
||||
* @return 反馈列表
|
||||
*/
|
||||
List<Issue> listByIssuePage(@Param("issuePage") IssuePage issuePage, long offset, int limit);
|
||||
List<Issue> listByIssuePage(@Param("issuePage") IssuePage issuePage, long offset, long limit);
|
||||
}
|
||||
|
||||
@@ -19,5 +19,5 @@ public interface MergeMapper extends BaseMapper<Merge, Long> {
|
||||
|
||||
long countByMergePage(@Param("mergePage") MergePage mergePage);
|
||||
|
||||
List<Merge> listByMergePage(@Param("mergePage") MergePage mergePage, long offset, int limit);
|
||||
List<Merge> listByMergePage(@Param("mergePage") MergePage mergePage, long offset, long limit);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ public interface ReleaseMapper extends BaseMapper<Release, Long> {
|
||||
@Select("SELECT COUNT(1) FROM git_release WHERE repository_id = #{repositoryId}" + NOT_DELETE)
|
||||
long countByRepositoryId(long repositoryId);
|
||||
|
||||
List<ReleaseView> listByRepositoryId(long repositoryId, long offset, int limit);
|
||||
List<ReleaseView> listByRepositoryId(long repositoryId, long offset, long limit);
|
||||
|
||||
@Select("SELECT * FROM git_release WHERE repository_id = #{repositoryId}" + NOT_DELETE + "ORDER BY created_at DESC" + LIMIT_1)
|
||||
Release queryLatestByRepositoryId(long repositoryId);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package com.imyeyu.api.modules.git.vo.issue;
|
||||
|
||||
import com.imyeyu.api.modules.common.entity.Comment;
|
||||
import com.imyeyu.spring.bean.Page;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import com.imyeyu.api.modules.common.entity.Comment;
|
||||
import com.imyeyu.spring.bean.Page;
|
||||
|
||||
/**
|
||||
* @author 夜雨
|
||||
@@ -13,7 +13,7 @@ import com.imyeyu.spring.bean.Page;
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class CommentPage extends Page {
|
||||
public class CommentPage extends Page<Comment> {
|
||||
|
||||
private Comment.BizType bizType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user