10 小时以前 7bf754a7835d06f26240c4ca15bc5f83650de377
src/main/java/com/ruoyi/sales/pojo/SalesLedger.java
@@ -50,7 +50,7 @@
    /**
     * 录入日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date entryDate;
@@ -109,6 +109,9 @@
    @Schema(description = "付款方式")
    private String paymentMethod;
    @Schema(description = "实际合同金额")
    private BigDecimal netContractAmount;
    @TableField(exist = false)
    @Schema(description = "生产状态")
    private String productionStatus = "未开始";
@@ -140,5 +143,50 @@
    @TableField(exist = false)
    private Boolean hasProductionRecord;
    /**
     * 销售类型:卖油 / 代储(卖存储位置)
     * 注意:不要与子表行的 SaleEnum(type) 混用,那是销售/采购/项目
     */
    @Schema(description = "销售类型:卖油/代储")
    @Excel(name = "销售类型")
    private String ledgerType;
    @Schema(description = "油库id(类型=代储时使用)")
    private Long oilDepotId;
    @Schema(description = "油库名称")
    @Excel(name = "油库")
    private String oilDepotName;
    @Schema(description = "储罐id(类型=代储时使用)")
    private Long tankId;
    @Schema(description = "储罐号")
    @Excel(name = "储罐号")
    private String tankNo;
    @Schema(description = "吨位(类型=代储时使用,选填)")
    @Excel(name = "吨位")
    private BigDecimal tonnage;
    @Schema(description = "审批状态:待审批/审核中/通过/拒绝")
    @Excel(name = "审批状态")
    private String approvalStatus;
    /**
     * 客户信托基金(查询时由服务层按 customerId 回填,不是本表字段)
     */
    @Schema(description = "客户信托基金")
    @TableField(exist = false)
    @Excel(name = "客户信托基金")
    private BigDecimal trustFund;
    /**
     * 本笔合同金额是否超出客户信托基金(超出则前端标红,不是本表字段)
     */
    @Schema(description = "本笔合同金额是否超出客户信托基金")
    @TableField(exist = false)
    private Boolean exceedsTrustFund;
}