From 2d9f1f41744f49377a7ec930635d4889b9d355c6 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 01 四月 2025 16:04:00 +0800
Subject: [PATCH] fix: 修改设备添加逻辑

---
 platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java b/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java
index 2f70181..86aa69f 100644
--- a/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java
+++ b/platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java
@@ -29,16 +29,16 @@
 @Table(appliesTo = "receiving_note", comment = "楠屾敹琛�")
 public class ReceivingNote extends BaseModel<ReceivingNote> {
 	/**
-	 * 鎵跨鍚堝悓Id
+	 * 鍚堝悓Id
 	 */
-	@Column(columnDefinition="long comment '鎵跨鍚堝悓Id'")
-	private Long lesseeContractId;
+	@Column(columnDefinition="long comment '鍚堝悓Id'")
+	private Long contractId;
 
-	/**
-	 * 绉熺敤鍚堝悓Id
-	 */
-	@Column(columnDefinition="long comment '绉熺敤鍚堝悓Id'")
-	private Long rentContractId;
+//	/**
+//	 * 绉熺敤鍚堝悓Id
+//	 */
+//	@Column(columnDefinition="long comment '绉熺敤鍚堝悓Id'")
+//	private Long rentContractId;
 
 	@Schema(description = "楠屾敹鍏徃")
 	@Column(columnDefinition="VARCHAR(64) comment '楠屾敹鍏徃'")
@@ -69,7 +69,7 @@
 	 * 鏉ユ簮绫诲瀷
 	 */
 	@Schema(description = "鏉ユ簮绫诲瀷")
-	@Column(columnDefinition="INTEGER comment '鏉ユ簮绫诲瀷'")
+	@Column(columnDefinition="INTEGER comment '鏉ユ簮绫诲瀷 0 绉熻祦 1 閲囪喘'")
 	private String resourceType;
 
 	/**

--
Gitblit v1.9.1