From fc0db201e10ed1cc6d68aaf0a37d65933398c2f6 Mon Sep 17 00:00:00 2001 From: shiyunteng <shiyunteng@example.com> Date: 星期五, 28 三月 2025 16:05:23 +0800 Subject: [PATCH] 库存流水 合同 验收 台账 厂商 招标 中标 技术协议 列表根据时间倒序 --- platformx-device-api/src/main/java/com/by4cloud/platformx/device/entity/ReceivingNote.java | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 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 5670ea3..b2b9af4 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 @@ -11,7 +11,9 @@ import javax.persistence.Column; import javax.persistence.Entity; +import javax.persistence.Transient; import java.util.Date; +import java.util.List; /** * @author kdq @@ -27,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 '楠屾敹鍏徃'") @@ -127,4 +129,8 @@ @Schema(description = "浣跨敤鍏徃") @Column(columnDefinition="long comment '浣跨敤鍏徃'") private Long deptId; + + @Transient + @TableField(exist = false) + private List<ReceivingNoteItem> noteItemList; } -- Gitblit v1.9.1