From 80677945b8ad3f73870e0b6d5a424e7130694431 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期四, 22 一月 2026 15:07:28 +0800
Subject: [PATCH] lsh#单据接收

---
 rsf-open-api/src/main/java/com/vincent/rsf/openApi/entity/phyz/Order.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/entity/phyz/Order.java b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/entity/phyz/Order.java
index 4c1c2c8..5b733f6 100644
--- a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/entity/phyz/Order.java
+++ b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/entity/phyz/Order.java
@@ -75,4 +75,24 @@
     private String saleUserId;
     // 閿�鍞憳鍚嶇О
     private String saleUserName;
+
+    public void setType(String type) {
+        if (type == null) {
+            this.type = type;
+        } else {
+            switch (type) {
+                case "1":
+                    this.type = "out";
+                    break;
+                case "2":
+                    this.type = "in";
+                    break;
+                case "3":
+                    this.type = "check";
+                    break;
+                default:
+                    this.type = type;
+            }
+        }
+    }
 }

--
Gitblit v1.9.1