From 1d908e629d7a1750eebaa849e944be08ba7f5876 Mon Sep 17 00:00:00 2001
From: liuxm <liuxm_a@163.com>
Date: 星期四, 23 五月 2024 10:30:01 +0800
Subject: [PATCH] id序列化;技术参数保存修改
---
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltMaterial.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltMaterial.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltMaterial.java
index 636152c..8c7f10f 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltMaterial.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltMaterial.java
@@ -1,6 +1,7 @@
package com.dy.pmsGlobal.pojoPlt;
import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -18,12 +19,14 @@
/**
* 缂栧彿
*/
+ @JSONField(serializeUsing= ObjectWriterImplToString.class)
@TableId(type = IdType.AUTO)
public Integer id;
/**
* 浜у搧瀹炰綋缂栧彿
*/
+ @JSONField(serializeUsing= ObjectWriterImplToString.class)
@NotEmpty(message = "浜у搧瀹炰綋缂栧彿涓嶈兘涓虹┖")
public Long proId;
--
Gitblit v1.8.0