mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
🐛 oracle limit 查询不正确
This commit is contained in:
parent
fea84deca0
commit
16fd1a9639
@ -151,7 +151,7 @@ public class QueryWrapperX<T> extends QueryWrapper<T> {
|
|||||||
switch (SqlConstants.DB_TYPE) {
|
switch (SqlConstants.DB_TYPE) {
|
||||||
case ORACLE:
|
case ORACLE:
|
||||||
case ORACLE_12C:
|
case ORACLE_12C:
|
||||||
super.eq("ROWNUM", n);
|
super.le("ROWNUM", n);
|
||||||
break;
|
break;
|
||||||
case SQL_SERVER:
|
case SQL_SERVER:
|
||||||
case SQL_SERVER2005:
|
case SQL_SERVER2005:
|
||||||
|
@ -11,8 +11,7 @@ import jakarta.validation.constraints.Size;
|
|||||||
@Data
|
@Data
|
||||||
public class NoticeSaveReqVO {
|
public class NoticeSaveReqVO {
|
||||||
|
|
||||||
@Schema(description = "岗位公告编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
@Schema(description = "岗位公告编号", example = "1024")
|
||||||
@NotNull(message = "岗位公告编号不能为空")
|
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "小博主")
|
@Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "小博主")
|
||||||
|
Loading…
Reference in New Issue
Block a user