refactor(pojo): 修正Article类中attributeid字段的列名拼写
feat(controller): 在ArticleController中添加根据属性ID获取文章的方法 style(repository): 在CategoryRepository方法上添加空行提高可读性 chore: 移除MyAfterProjecyApplication中多余的MapperScan注解
This commit is contained in:
@@ -22,7 +22,7 @@ public class Article {
|
||||
private String content;
|
||||
|
||||
@NotNull(message = "类别id不能为空")
|
||||
@Column(name = "attributeid")
|
||||
@Column(name = "attribute_id")
|
||||
private Integer attributeid;
|
||||
|
||||
@Column(name = "img")
|
||||
|
||||
Reference in New Issue
Block a user