yaowanxin
2025-09-22 37ffff3101151099120c385fc82c8ba4ba685f9a
src/main/java/com/ruoyi/procurementrecord/dto/ProcurementPageDto.java
@@ -1,10 +1,13 @@
package com.ruoyi.procurementrecord.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
@@ -15,6 +18,8 @@
public class ProcurementPageDto {
    private Integer id;
    private Long createUser;
    /**
     * 入库批次
@@ -27,23 +32,39 @@
     */
    private String purchaseContractNumber;
    private String salesLedgerProductId;
    /**
     * 出入库数量
     */
    @Excel(name = "出入库数量")
    @Excel(name = "入库数量")
    private BigDecimal inboundNum;
    /**
     * 待出库数量
     */
//    @Excel(name = "待出库数量")
    private BigDecimal inboundNum0;
    /**
     * 出入库时间
     */
    @Excel(name = "出入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createDate;
//    @Excel(name = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 出入库时间
     */
    @Excel(name = "入库时间")
    private String time;
    /**
     * 出入库用户
     */
    @Excel(name = "出入库用户")
    @Excel(name = "入库人")
    private String createBy;
    /**
@@ -74,7 +95,7 @@
    /**
     * 税率
     */
    @Excel(name = "税率")
    @Excel(name = "税率(%)")
    private BigDecimal taxRate;
    /**
@@ -94,5 +115,35 @@
     */
    @Excel(name = "不含税总价")
    private BigDecimal taxExclusiveTotalPrice;
    /**
     * 报表日报
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate reportDate;
    /**
     * 报表月报
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startMonth;
    /**
     * 报表月报
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endMonth;
    /**
     * 报表月报
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    /**
     * 报表月报
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}