@ -13,7 +13,7 @@ import lombok.Data;
public class CopyForMeRequest {
@ApiModelProperty(value = "当前页码,默认为第一页")
private Integer page = 0;
private Integer page = 1;
@ApiModelProperty(value = "每页记录数,默认显示10条")
private Integer size = 10;
@ -77,6 +77,7 @@ public class DgCopyUserServiceImpl extends ServiceImpl<DgCopyUserMapper, DgCopyU
}
String userId = this.getUserId();
copyForMeRequest.setUserId(Integer.parseInt(userId));
copyForMeRequest.setSize((copyForMeRequest.getPage()-1)*copyForMeRequest.getSize());
List<CopyForMeResponse> copyForMeResponseList = baseMapper.selectCopyForMe(copyForMeRequest);
if (copyForMeResponseList.size() > 0) {