From f9b3bc593ec9625674cd72cc06f0d6474405e7dd Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期一, 12 一月 2026 13:10:06 +0800
Subject: [PATCH] #pda获取收货区增加权限

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java
index 78f2cad..844ab0a 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java
@@ -2,6 +2,7 @@
 
 import com.baomidou.mybatisplus.annotation.*;
 
+import java.math.BigDecimal;
 import java.text.SimpleDateFormat;
 import java.util.*;
 
@@ -84,6 +85,15 @@
 
     @ApiModelProperty(value = "鎵╁睍瀛楁鍞竴鏍囪瘑")
     private String fieldsIndex;
+
+    @ApiModelProperty("瀹㈡埛璁㈠崟鍙�")
+    private String platOrderCode;
+
+    @ApiModelProperty("宸ュ崟鍙�")
+    private String platWorkCode;
+
+    @ApiModelProperty("椤圭洰鍙�")
+    private String projectCode;
 
     /**
      * 鐗╂枡鍚嶇О
@@ -173,6 +183,7 @@
      * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
      */
     @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
+    @TableLogic
     private Integer deleted;
 
     /**
@@ -281,6 +292,14 @@
 //            null    // 澶囨敞
 //    );
 
+    public BigDecimal getAbleQty(){
+        BigDecimal anfmeDec = new BigDecimal(this.anfme.toString());
+        BigDecimal workQtyDec = new BigDecimal(this.workQty.toString());
+        BigDecimal qtyDec = new BigDecimal(this.qty.toString());
+
+        return anfmeDec.subtract(workQtyDec).subtract(qtyDec);
+    }
+
     public String getShipperId$(){
         CompanysService service = SpringUtils.getBean(CompanysService.class);
         Companys companys = service.getById(this.shipperId);

--
Gitblit v1.9.1