ycl-pojo/src/main/java/com/ycl/platform/domain/vo/CalculateReportVO.java
@@ -6,12 +6,11 @@
import java.math.BigDecimal;
import java.util.List;
import java.time.LocalDateTime;
import enumeration.general.CalculateReportStatusEnum;
import org.springframework.lang.NonNull;
import org.springframework.beans.BeanUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * 核算报告展示
@@ -20,7 +19,6 @@
 * @since 2024-04-23
 */
@Data
@Accessors(chain = true)
public class CalculateReportVO extends AbsVo {
    /** 合同 */
@@ -38,14 +36,29 @@
    /** 扣减总金额 */
    private BigDecimal deductMoney;
    /** 哪年的 */
    private Integer whichYear;
    /** 哪月的 */
    private Integer whichMonth;
    /** 修改人 */
    private Long updateBy;
    private String updateBy;
    /** 最近一次核算时间 */
    private LocalDateTime latestTime;
    /** 能否发布 */
    private Boolean canPublish;
    private CalculateReportStatusEnum status;
    /** 最新一次扣款 */
    private BigDecimal latestDeductMoney;
    /** 明细 */
    private List<CalculateRecordVO> recordList;
    private Integer whichYear;
    private Integer whichMonth;
    private Integer whichDay;
    private Integer latestMonth;
    private Integer latestDay;
    public static CalculateReportVO getVoByEntity(@NonNull CalculateReport entity, CalculateReportVO vo) {
        if(vo == null) {