From ba4f2ca4b3ae845d2bd1e92338b948a8f95ffaaa Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 09 六月 2026 15:11:27 +0800
Subject: [PATCH] 修改废品入库类型
---
src/main/java/com/ruoyi/stock/pojo/StockInRecord.java | 32 ++++++++++++++++++++++++++++++--
1 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/ruoyi/stock/pojo/StockInRecord.java b/src/main/java/com/ruoyi/stock/pojo/StockInRecord.java
index 8c4f036..9d188f3 100644
--- a/src/main/java/com/ruoyi/stock/pojo/StockInRecord.java
+++ b/src/main/java/com/ruoyi/stock/pojo/StockInRecord.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.enums.ReviewStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -27,6 +28,9 @@
@Schema(description = "鍏ュ簱鏁伴噺")
private BigDecimal stockInNum;
+ @Schema(description = "鎵瑰彿")
+ private String batchNo;
+
@Schema(description = "璁板綍绫诲瀷 鏋氫妇")
private String recordType;
@@ -39,11 +43,13 @@
@Schema(description = "澶囨敞")
private String remark;
- @Schema(description = "绫诲瀷 0鍚堟牸鍏ュ簱 1涓嶅悎鏍煎叆搴�")
+ @Schema(description = "棰勮鏁伴噺")
+ private BigDecimal warnNum;
+
+ @Schema(description = "绫诲瀷 0鍚堟牸鍏ュ簱 1涓嶅悎鏍煎叆搴� 2搴熷搧鍏ュ簱")
private String type;
@Schema(description = "鍒涘缓鏃堕棿")
- @TableField(fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createTime;
@@ -62,6 +68,28 @@
@TableField(fill = FieldFill.INSERT_UPDATE)
private Integer updateUser;
+ @Schema(description = "瀹℃壒鐘舵�� 0-寰呭鎵� 1-閫氳繃 2-椹冲洖", implementation = ReviewStatusEnum.class)
+ private Integer approvalStatus;
+
@TableField(fill = FieldFill.INSERT)
private Long deptId;
+
+ @Schema(description = "鍘傚ID")
+ private Long manufacturerId;
+
+ @Schema(description = "鏉ユ簮")
+ private String source;
+
+ @Schema(description = "鏄惁鍚按")
+ private Boolean isContainsWater;
+
+ @Schema(description = "鍚按閲�")
+ private BigDecimal waterContent;
+
+ @Schema(description = "鐞嗚鍏ュ簱鏁伴噺")
+ private BigDecimal theoryStockInNum;
+
+ @TableField(exist = false)
+ @Schema(description = "宸锛堢悊璁哄叆搴撴暟閲�-瀹為檯鍏ュ簱鏁伴噺锛�")
+ private BigDecimal differenceNum;
}
--
Gitblit v1.9.3