From 10c883f30280d042146f5708d01977107795fdb1 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 14 十一月 2023 14:25:06 +0800
Subject: [PATCH] 用户管理中,所有接收前端传参为long型id的改为接收String类型id
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaRolePrivilege.java | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaRolePrivilege.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaRolePrivilege.java
index d5cbc2f..c3cf336 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaRolePrivilege.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaRolePrivilege.java
@@ -1,10 +1,15 @@
package com.dy.pipIrrGlobal.pojoBa;
+import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dy.common.po.BaseEntity;
import lombok.*;
-
-@TableName(autoResultMap = true)
+/**
+ * 瑙掕壊涓庢潈闄愬叧绯诲疄浣�
+ */
+@TableName(value="ba_role_privilege", autoResultMap = true)
@Data
@Builder
@ToString
@@ -14,8 +19,12 @@
public static final long serialVersionUID = 202311062027001L;
+ @JSONField(serializeUsing= ObjectWriterImplToString.class)
+ @TableField(value = "roleId")
public Long roleId;
+ @JSONField(serializeUsing= ObjectWriterImplToString.class)
+ @TableField(value = "privilegeId")
public Long privilegeId;
}
\ No newline at end of file
--
Gitblit v1.8.0