Forráskód Böngészése

出入库统计添加单价

lazhaoqian 3 éve
szülő
commit
ed4a8f540f

+ 11 - 0
ruoyi-warehouse/src/main/java/com/ruoyi/anpin/WarhousrExcel.java

@@ -37,6 +37,8 @@ public class WarhousrExcel {
     private String feeUnitName;
     @Excel(name = "数量")
     private BigDecimal fQty;
+    @Excel(name = "单价")
+    private BigDecimal fUnitprice;
     @Excel(name = "金额")
     private BigDecimal fAmount;
     @Excel(name = "供货商")
@@ -67,6 +69,14 @@ public class WarhousrExcel {
     //开票公司ID
     private Long fSbu;
 
+    public BigDecimal getfUnitprice() {
+        return fUnitprice;
+    }
+
+    public void setfUnitprice(BigDecimal fUnitprice) {
+        this.fUnitprice = fUnitprice;
+    }
+
     public String getFeeUnitName() {
         return feeUnitName;
     }
@@ -271,6 +281,7 @@ public class WarhousrExcel {
                 ", checkName='" + checkName + '\'' +
                 ", fAmount='" + fAmount + '\'' +
                 ", feeUnitName='" + feeUnitName + '\'' +
+                ", fUnitprice='" + fUnitprice + '\'' +
                 '}';
     }
 }

+ 1 - 0
ruoyi-warehouse/src/main/resources/mapper/warehouseBusiness/TWarehousebillsfeesMapper.xml

@@ -1015,6 +1015,7 @@
         tf.f_currency AS fCurrencyName,/*物资规格*/
         tw.f_qty AS fQty,/*实际数量*/
         tw.f_amount AS fAmount,/*金额*/
+        tw.f_unitprice AS fUnitprice,/*单价*/
         tc.f_name AS corpName,/*供货商*/
         tc.f_manage AS fManage,/*联系人*/
         tc.f_tel AS fTel,/*联系电话*/