From 41ab7abd0b0ec0fefb03b60bbaf42c02fbda666b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 23 四月 2026 15:53:16 +0800
Subject: [PATCH] feat(production): 添加生产订单与销售台账关联功能
---
src/main/java/com/ruoyi/basic/pojo/StorageAttachment.java | 22 ++++------------------
1 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/src/main/java/com/ruoyi/basic/pojo/StorageAttachment.java b/src/main/java/com/ruoyi/basic/pojo/StorageAttachment.java
index 0e30cad..cf44612 100644
--- a/src/main/java/com/ruoyi/basic/pojo/StorageAttachment.java
+++ b/src/main/java/com/ruoyi/basic/pojo/StorageAttachment.java
@@ -2,7 +2,6 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
-import com.ruoyi.basic.dto.StorageBlobDTO;
import lombok.Data;
import java.io.Serializable;
@@ -11,8 +10,6 @@
/**
* 閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭� 瀹炰綋绫�
*
- * @author ruoyi
- * @date 2025-05-29
*/
@Data
@TableName("storage_attachment")
@@ -20,9 +17,6 @@
private static final long serialVersionUID = 1L;
- /**
- *
- */
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@@ -45,28 +39,20 @@
* 鍏宠仈鐨勮褰曠被鍨�
*/
@TableField(value = "record_type")
- private Long recordType;
+ private String recordType;
/**
* 鍏宠仈鐨勮褰昳d
*/
@TableField(value = "record_id")
private Long recordId;
/**
- * 绫诲瀷鍚嶇О, 濡�: file, avatar (鍖哄垎鍚屼竴鏉¤褰曚笉鍚岀被鍨嬬殑闄勪欢)
+ * 鏂囦欢鐢ㄩ��, 濡�: file, avatar (鍖哄垎鍚屼竴鏉¤褰曚笉鍚岀被鍨嬬殑闄勪欢)
*/
- @TableField(value = "name")
- private String name;
+ @TableField(value = "application")
+ private String application;
/**
* 鍏宠仈storage_blob璁板綍id
*/
@TableField(value = "storage_blob_id")
private Long storageBlobId;
-
- private StorageBlobDTO storageBlobDTO;
-
- public StorageAttachment(String fileType, Long recordType, Long recordId) {
- this.name = fileType;
- this.recordType = recordType;
- this.recordId = recordId;
- }
}
\ No newline at end of file
--
Gitblit v1.9.3