From 85156554438bb13930c89072ee0b7fa93192a7fe Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 16 七月 2026 17:43:30 +0800
Subject: [PATCH] 1.联调优化采购申请到入库的整个逻辑

---
 yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestDO.java |  141 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 141 insertions(+), 0 deletions(-)

diff --git a/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestDO.java b/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestDO.java
new file mode 100644
index 0000000..ec47b9e
--- /dev/null
+++ b/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal/dataobject/purchase/ErpPurchaseRequestDO.java
@@ -0,0 +1,141 @@
+package cn.iocoder.yudao.module.erp.dal.dataobject.purchase;
+
+import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
+import com.baomidou.mybatisplus.annotation.KeySequence;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.*;
+
+import java.math.BigDecimal;
+import java.time.LocalDateTime;
+
+/**
+ * ERP 閲囪喘鐢宠 DO
+ */
+@TableName("erp_purchase_request")
+@KeySequence("erp_purchase_request_seq")
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ToString(callSuper = true)
+@Builder
+@NoArgsConstructor
+@AllArgsConstructor
+public class ErpPurchaseRequestDO extends BaseDO {
+
+    /**
+     * 缂栧彿
+     */
+    @TableId
+    private Long id;
+
+    /**
+     * 閲囪喘鐢宠鍗曞彿
+     */
+    private String no;
+
+    /**
+     * 鐘舵��
+     *
+     * 0: 鏈彁浜�
+     * 10: 瀹℃壒涓�
+     * 20: 瀹℃牳閫氳繃
+     * 30: 瀹℃牳涓嶉�氳繃
+     * 40: 宸插彇娑�
+     */
+    private Integer status;
+
+    /**
+     * 鐢宠浜虹紪鍙�
+     */
+    private Long requestUserId;
+
+    /**
+     * 鐢宠閮ㄩ棬缂栧彿
+     */
+    private Long requestDeptId;
+
+    /**
+     * 鐢宠鏃堕棿
+     */
+    private LocalDateTime requestTime;
+
+    /**
+     * 鐢宠鐞嗙敱
+     */
+    private String requestReason;
+
+    /**
+     * 渚涘簲鍟嗙紪鍙凤紙鍙�夛級
+     */
+    private Long supplierId;
+
+    /**
+     * 鍚堣鏁伴噺
+     */
+    private BigDecimal totalCount;
+
+    /**
+     * 鍚堣浠锋牸
+     */
+    private BigDecimal totalPrice;
+
+    /**
+     * 鍚堣浜у搧浠锋牸
+     */
+    private BigDecimal totalProductPrice;
+
+    /**
+     * 鍚堣绋庨
+     */
+    private BigDecimal totalTaxPrice;
+
+    /**
+     * 浼樻儬鐜囷紝鐧惧垎姣�
+     */
+    private BigDecimal discountPercent;
+
+    /**
+     * 浼樻儬閲戦
+     */
+    private BigDecimal discountPrice;
+
+    /**
+     * 瀹氶噾閲戦
+     */
+    private BigDecimal depositPrice;
+
+    /**
+     * 闄勪欢鍦板潃
+     */
+    private String fileUrl;
+
+    /**
+     * 澶囨敞
+     */
+    private String remark;
+
+    /**
+     * BPM 娴佺▼瀹炰緥缂栧彿
+     */
+    private String processInstanceId;
+
+    /**
+     * 鐢熸垚鐨勯噰璐鍗曠紪鍙�
+     */
+    private Long orderId;
+
+    /**
+     * 鐢熸垚鐨勯噰璐鍗曞彿
+     */
+    private String orderNo;
+
+    /**
+     * 鍏ュ簱鐘舵��
+     *
+     * 0: 鏈叆搴�
+     * 1: 閮ㄥ垎鍏ュ簱
+     * 2: 鍏ㄩ儴鍏ュ簱
+     */
+    private Integer inStatus;
+
+}
\ No newline at end of file

--
Gitblit v1.9.3