This commit is contained in:
杜建超 2020-11-17 10:09:24 +08:00
parent 650bbd91a5
commit 62986d16d4
2 changed files with 4 additions and 1 deletions

View File

@ -21,4 +21,7 @@ public class OwnResultReq {
@ApiModelProperty("结束时间,必传")
private String endTime;
@ApiModelProperty("条数,默认6条")
private Integer size = 6;
}

View File

@ -292,7 +292,7 @@
or (DATE_FORMAT(start_time,'%Y-%m') <= #{req.endTime} and DATE_FORMAT(start_time,'%Y-%m') >= #{req.startTime})
)
</if>
order by start_id desc
order by start_id desc limit #{req.size}
</select>