From 43b878fc35d2c4b2a7163aa472a333ac9fbd53f2 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 18:19:17 +0800
Subject: [PATCH] fix(erp/crm): 单据明细单价口径由「不含税单价」改为「含税单价」

---
 yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestItemDO.java |   44 ++++++++++++++++++++++++++++----------------
 1 files changed, 28 insertions(+), 16 deletions(-)

diff --git a/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestItemDO.java b/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestItemDO.java
index 7e54ce2..7422f8f 100644
--- a/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestItemDO.java
+++ b/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestItemDO.java
@@ -11,8 +11,6 @@
 
 /**
  * ERP 閲囪喘鐢宠鏄庣粏 DO
- *
- * @author 鑺嬮亾婧愮爜
  */
 @TableName("erp_purchase_request_items")
 @KeySequence("erp_purchase_request_items_seq")
@@ -29,47 +27,50 @@
      */
     @TableId
     private Long id;
+
     /**
      * 閲囪喘鐢宠缂栧彿
-     *
-     * 鍏宠仈 {@link ErpPurchaseRequestDO#getId()}
      */
     private Long requestId;
+
     /**
-     * 鐗╂枡缂栧彿
-     *
-     * 鍏宠仈 {@link cn.iocoder.yudao.module.mdm.api.item.dto.MdmItemRespDTO#getId()}
+     * 浜у搧缂栧彿
      */
     private Long productId;
+
     /**
-     * 璁¢噺鍗曚綅缂栧彿
-     *
-     * 鍏宠仈 {@link cn.iocoder.yudao.module.mdm.api.unitmeasure.dto.MdmUnitMeasureRespDTO#getId()}
+     * 浜у搧鍗曚綅缂栧彿
      */
     private Long productUnitId;
 
     /**
-     * 浜у搧鍗曚环锛堝弬鑰冧环锛夛紝鍗曚綅锛氬厓
+     * 浜у搧鍙傝�冨惈绋庡崟浠�
      */
     private BigDecimal productPrice;
+
     /**
      * 鏁伴噺
      */
     private BigDecimal count;
+
     /**
-     * 鎬讳环锛屽崟浣嶏細鍏�
+     * 涓嶅惈绋庨噾棰�
      *
-     * totalPrice = productPrice * count
+     * 鍚◣閲戦 = productPrice * count
+     * totalPrice = 鍚◣閲戦 - taxPrice
      */
     private BigDecimal totalPrice;
+
     /**
      * 绋庣巼锛岀櫨鍒嗘瘮
      */
     private BigDecimal taxPercent;
+
     /**
-     * 绋庨锛屽崟浣嶏細鍏�
+     * 绋庨
      *
-     * taxPrice = totalPrice * taxPercent
+     * 鍚◣閲戦 = productPrice * count
+     * taxPrice = 鍚◣閲戦 * taxPercent
      */
     private BigDecimal taxPrice;
 
@@ -77,9 +78,20 @@
      * 闇�姹傛棩鏈�
      */
     private LocalDate demandTime;
+
     /**
      * 澶囨敞
      */
     private String remark;
 
-}
+    /**
+     * 鏄惁闇�瑕佹潵鏂欐楠�
+     */
+    private Boolean qcCheckFlag;
+
+    /**
+     * 鍏ュ簱鏁伴噺
+     */
+    private BigDecimal inCount;
+
+}
\ No newline at end of file

--
Gitblit v1.9.3