eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/Salary.java
@@ -348,6 +348,11 @@ @ApiModelProperty(value = "承认状态") private String approveStatus; @Column(name = "`travel_allowance`",nullable = false) @NotNull @ApiModelProperty(value = "出差补助金额") private BigDecimal travelAllowance; public void copy(Salary source){ BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); }