From bcd4c6fc21eef7abf7e28661bd4f9e1f5cdd2a61 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 09 十二月 2024 16:37:29 +0800
Subject: [PATCH] 补片新增修改会出现重复编号的问题

---
 north-glass-erp/src/main/java/com/example/erp/entity/sd/ProductDetail.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/entity/sd/ProductDetail.java b/north-glass-erp/src/main/java/com/example/erp/entity/sd/ProductDetail.java
index 5f2c59f..2877505 100644
--- a/north-glass-erp/src/main/java/com/example/erp/entity/sd/ProductDetail.java
+++ b/north-glass-erp/src/main/java/com/example/erp/entity/sd/ProductDetail.java
@@ -1,6 +1,7 @@
 package com.example.erp.entity.sd;
 
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import lombok.Data;
 
@@ -22,5 +23,6 @@
     private String process;
     private String separation;
     private LocalDate createTime;
+    @TableField(select = false)
     private Product product;
 }
\ No newline at end of file

--
Gitblit v1.8.0