类上打注解
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class GetSalaryInfoResponse {
private String payDate;
}
类上打注解
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class GetSalaryInfoResponse {
private String payDate;
}