摘要:
添加@Optios注解 keyProperty 将自增的ID返回该属性 @Insert("INSERT INTO admin_method_category (title,sort,icon_type) VALUES(#{category.name},#{category.sort},#{categ 阅读全文
摘要:
在不需要显示的字段上添加@JsonIgnore 注解即可 @ToString @Data public class User implements Serializable { private Integer id; private String loginId; @JsonIgnore priva 阅读全文