From e42a1f99f14136657f78c0a803014acb9e03972c Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 25 四月 2024 09:36:55 +0800
Subject: [PATCH] 提交拉去 报工修改
---
north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java b/north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java
index 83d0cca..0a27f16 100644
--- a/north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java
+++ b/north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java
@@ -1,21 +1,26 @@
package com.example.erp.entity.sd;
+import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
+import com.example.erp.entity.mm.FinishedGoodsInventory;
import lombok.Data;
import java.time.LocalDate;
@Data
-@TableName("`order`")
+@TableName("sd.`order`")
public class Order {
@TableId(type = IdType.AUTO)
-
+ @ExcelProperty("id")
private Long id;
+ @ExcelProperty("璁㈠崟缂栧彿")
private String orderId;
+ @ExcelProperty("椤圭洰鍚嶇О")
private String project;
-
+ private Integer customerId;
private String customerName;
private String orderType;
private String orderClassify;
@@ -24,7 +29,7 @@
private String deliveryDate;
private String batch;
private Integer calculateType;
- private String salesmanId;
+ private Integer salesmanId;
private String salesman;
private String alType;
private Double money;
@@ -36,13 +41,14 @@
private Double otherMoney;
private String otherMoneyRemarks;
private String processingNote;
- private String otherRemaks;
+ private String otherRemarks;
private Double area;
private Long quantity;
+ private String perimeter;
private String verifierId;
private String verifier;
- private String createrId;
- private String creater;
+ private String creatorId;
+ private String creator;
private Integer createOrder;
private Integer processReview;
private Integer orderReview;
@@ -52,7 +58,12 @@
private Integer delivery;
private LocalDate createTime;
private LocalDate updateTime;
+ @TableField(select = false,exist = false)
+ private Integer goodsQuantity;
+ @TableField(value = "customer_id")
private Customer customer;
+ @TableField(select = false)
+ private FinishedGoodsInventory finishedGoodsInventory;
}
--
Gitblit v1.8.0