分页插件修改
parent
c541b1f5e3
commit
0874923be8
|
|
@ -27,7 +27,7 @@ public class MyBatisPlusConfig {
|
|||
@Bean
|
||||
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
||||
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
||||
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL)); // 分页插件
|
||||
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.DM)); // 分页插件
|
||||
return interceptor;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,6 +65,10 @@ public class AddressBook extends Model<AddressBook> implements Serializable {
|
|||
@ApiModelProperty(value = "职务")
|
||||
private String position;
|
||||
|
||||
@TableField("RESPONSIBILITY")
|
||||
@ApiModelProperty(value = "职责")
|
||||
private String responsibility;
|
||||
|
||||
@TableField("COMMENTS")
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String comments;
|
||||
|
|
|
|||
Loading…
Reference in New Issue