nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class net.capitalonline.gcw.netDiskManage.netDiskAccountCapacity.NetDiskAccountCapacityInfo with invalid types (NetDiskAccountInfo) or values (4). Cause: java.lang.IllegalArgumentException: argument type mismatch
public class User {
@ApiModelProperty(value = "主键")
private Integer id;
private String username;
private Integer departmentId;
}
需要加构造函数
public class User {
@ApiModelProperty(value = "主键")
private Integer id;
private String username;
private Integer departmentId;
public User() {}
}