From dc9228656b202a8f1ec7720d78eb0421a94a28c9 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 23 十月 2025 16:20:14 +0800
Subject: [PATCH] 聚乳酸明细增加丙交酯含量,%指标
---
src/main/java/com/zy/asrs/entity/Pla.java | 249 ++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 231 insertions(+), 18 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/Pla.java b/src/main/java/com/zy/asrs/entity/Pla.java
index 17e4a38..cb0f6e7 100644
--- a/src/main/java/com/zy/asrs/entity/Pla.java
+++ b/src/main/java/com/zy/asrs/entity/Pla.java
@@ -1,12 +1,16 @@
package com.zy.asrs.entity;
+import com.alibaba.excel.annotation.ExcelProperty;
+import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
+import com.core.common.Cools;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
+import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@@ -18,96 +22,305 @@
//鍏ュ簱鏃堕棿
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- private String pakinTime;
+ private Date pakinTime;
- //鎵瑰彿
- private String batch;
+ //涓讳綋
+ @ExcelProperty(value = "涓讳綋")
+ @TableField("owner")
+ private String owner;
- //鍖呰鍙�
- private String packageNo;
+ //涓讳綋
+ @ExcelProperty(value = "鐗╄祫绫诲埆")
+ @TableField("type")
+ private String type;
- //鐗屽彿
- private String brand;
-
- //閲嶉噺
- private Double weight;
+ //鐢熶骇璁㈠崟缂栧彿
+ @ExcelProperty(value = "鐢熶骇璁㈠崟缂栧彿")
+ @TableField("pro_order_no")
+ private String proOrderNo;
//杞﹂棿
+ @ExcelProperty(value = "鐢熶骇杞﹂棿")
+ @TableField("workshop")
private String workshop;
//鐢熶骇绾�
+ @ExcelProperty(value = "鐢熶骇绾�")
+ @TableField("line")
private String line;
+ //鐢熶骇绾�
+ @ExcelProperty(value = "瀛樿揣缂栫爜")
+ @TableField("matnr")
+ private String matnr;
+
+ //鐗屽彿
+ @ExcelProperty(value = "鐗屽彿")
+ @TableField("brand")
+ private String brand;
+
+ //鎵瑰彿
+ @TableField("batch")
+ @ExcelProperty(value = "鎵瑰彿")
+ private String batch;
+
+ //鍖呰鍙�
+ @TableField("package_no")
+ @ExcelProperty(value = "鍖呰鍙�")
+ private Integer packageNo;
+
+ //鐗屽彿
+ @ExcelProperty(value = "鍏宠仈鐗屽彿")
+ @TableField("new_brand")
+ private String newBrand;
+
+ //鎵瑰彿
+ @TableField("new_batch")
+ @ExcelProperty(value = "鍏宠仈鎵瑰彿")
+ private String newBatch;
+
+ //鍖呰鍙�
+ @TableField("new_package_no")
+ @ExcelProperty(value = "鍏宠仈鍖呰鍙�")
+ private Integer newPackageNo;
+
+ //鍖呰鍙�
+ @ExcelProperty(value = "鐢熶骇鏃ユ湡")
+ @TableField("pro_date")
+ private String proDate;
+
+ //閲嶉噺
+ @TableField("weight")
+ @ExcelProperty(value = "閲嶉噺KG")
+ private Double weight;
+
+ @ApiModelProperty(value= "鍗曚綅")
+ //@ExcelProperty(value = "鍗曚綅")
+ @TableField("unit")
+ private String unit;
+
//鍖呰绫诲瀷
+ @TableField("package_type")
+ @ExcelProperty(value = "鍖呰绫诲瀷")
private String packageType;
//鎵樼洏绫诲瀷
+ @TableField("zpallet_type")
+ @ExcelProperty(value = "鎵樼洏绫诲瀷")
private String zpalletType;
//缂犺啘
+ @TableField("film_wrap")
+ @ExcelProperty(value = "缂犺啘")
private String filmWrap;
//鐔旀寚
+ @TableField("finger_melting")
+ @ExcelProperty(value = "鐔旀寚,g/10min")
private Double fingerMelting;
+ //姘村垎
+ @TableField("water")
+ @ExcelProperty(value = "姘村垎,ppm")
+ private Double water;
+
//鐔旂偣
+ @TableField("fusing_point")
+ @ExcelProperty(value = "鐔旂偣,鈩�")
private Double fusingPoint;
//鎸ュ彂浠�1
+ @TableField("vadf1")
+ @ExcelProperty(value = "鎸ュ彂娈�,%")
private Double vadf1;
//鎸ュ彂浠�2
+ @TableField("vadf2")
+ @ExcelProperty(value = "鍒嗚В娈�,%")
private Double vadf2;
//榛勫害
+ @TableField("yellowness")
+ @ExcelProperty(value = "榛勫害")
private Double yellowness;
//涓嶉�忔槑搴�
+ @TableField("opacity")
+ @ExcelProperty(value = "涓嶉�忔槑搴�,%")
private Double opacity;
- //姘村垎
- private Double water;
+ @TableField("lactide_content")
+ @ExcelProperty(value = "涓欎氦閰惈閲�,%")
+ private Double lactideContent;
//L鍊�
+ @TableField("l")
+ @ExcelProperty(value = "L*")
private Double l;
//a鍊�
+ @TableField("a")
+ @ExcelProperty(value = "a*")
private Double a;
//b鍊�
+ @TableField("b")
+ @ExcelProperty(value = "b*")
private Double b;
//濉厖
+ @TableField("fill_in")
+ @ExcelProperty(value = "濉厖,%")
private Double fillIn;
+ @ExcelProperty(value = "鎷変几寮哄害,MPa")
+ private String str1;
+
+ @ExcelProperty(value = "鏂浼搁暱鐜�,%")
+ private String str2;
+
+ @ExcelProperty(value = "缂哄彛鍐插嚮,KJ/m2")
+ private String str3;
+
+ @ExcelProperty(value = "缁村崱,鈩�")
+ private String str4;
+
+ @ExcelProperty(value = "鍗婄粨鏅舵椂闂�,min")
+ private String str5;
+
+ @ExcelProperty(value = "缁撴櫠搴�.%")
+ private String str6;
+
+// @ExcelProperty(value = "濉厖")
+ private String str7;
+//
+// @ExcelProperty(value = "濉厖")
+ private String str8;
+
+
//璐ㄩ噺鐘舵��
+ @TableField("mass_state")
+ @ExcelProperty(value = "璐ㄩ噺鐘舵��")
private String massState;
//璐ㄩ噺闂
+ @TableField("problem")
+ @ExcelProperty(value = "澶囨敞")
private String problem;
+ //搴旂敤鏂瑰悜
+ @ExcelProperty(value = "搴旂敤鏂瑰悜")
+ @TableField("direction")
+ private String direction;
+
+ //瀛樻斁浣嶇疆
+ @ExcelProperty(value = "瀛樻斁浣嶇疆")
+ @TableField("position")
+ private String position;
+
+ //鍓╀綑閲嶉噺
+ @TableField("weight_anfme")
+ @ExcelProperty(value = "鍏ュ簱閲�")
+ private Double weightAnfme = 0.0;
+ //寰呭嚭搴撴暟閲�
+ @TableField("qty_anfme")
+ private Double qtyAnfme = 0.0;
+
//浠撳簱
+ @TableField("stash")
+ //@ExcelProperty(value = "浠撳簱")
private String stash;
//搴撲綅
+ @TableField("loc_no")
+ @ExcelProperty(value = "搴撲綅")
private String locNo;
- //鍓╀綑閲嶉噺
- private Double weightAnfme = 0.0;
- //鍓╀綑閲嶉噺
- private Double qtyAnfme = 0.0;
-
//鐘舵��
+ @TableField("status")
private String status;
//姝ラ
- private int step;
+ @TableField("step")
+ private Integer step;
+ @TableField("create_time")
private Date createTime;
+ @TableField("modify_time")
private Date modifyTime;
+ @TableField("create_user")
private String createUser;
+ @TableField("modify_user")
private String modifyUser;
+
+ @TableField("order_no")
+ private String orderNo;
+
+ @TableField("pakout_time")
+ private String pakoutTime;
+
+ @TableField("order_weight")
+ private Double orderWeight;
+
+ @TableField("handler_by")
+ private String handlerBy;
+
+ @TableField("transfer")
+ private String transfer;
+
+ @TableField("customer")
+ private String customer;
+
+ @TableField("allocate")
+ private String allocate;
+
+ @TableField("memo")
+ private String memo;
+
+ @TableField("stock_freeze")
+ private Integer stockFreeze;
+
+ @TableField("stock_freeze_by")
+ private String stockFreezeBy;
+
+ @TableField("stock_freeze_date")
+ private Date stockFreezeDate;
+
+ public String getCreateTime$() {
+ if (Cools.isEmpty(this.createTime)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd").format(this.createTime);
+ }
+
+ public String getPackageNo$(){
+ if(Cools.isEmpty(packageNo)){
+ return null;
+ }
+ if(packageNo < 10){
+ return "00" + packageNo;
+ }else if(packageNo < 100){
+ return "0" + packageNo;
+ }else {
+ return packageNo + "";
+ }
+
+ }
+
+ public String getPakinTime$() {
+ if (Cools.isEmpty(this.pakinTime)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.pakinTime);
+ }
+
+ public String getStockFreezeDate$() {
+ if (Cools.isEmpty(this.stockFreezeDate)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.stockFreezeDate);
+ }
}
--
Gitblit v1.9.1