From 29f8a95833b9df4a88b49e1e207b12487c18bc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=AD=90?= <395030787@qq.com> Date: Thu, 28 Nov 2024 08:51:48 +0000 Subject: [PATCH] =?UTF-8?q?update=20sop-gateway/src/main/java/com/gitee/so?= =?UTF-8?q?p/gateway/entity/ConfigServiceRoute.java.=20ConfigServiceRoute?= =?UTF-8?q?=E4=B8=BB=E9=94=AE=E4=B8=BA=E8=87=AA=E5=AE=9A=E4=B9=89=E4=B8=BB?= =?UTF-8?q?=E9=94=AE,=20=E8=A7=A3=E5=86=B3=E6=89=B9=E9=87=8F=E7=9B=AE?= =?UTF-8?q?=E5=89=8D=E9=85=8D=E7=BD=AE=E4=B8=BA=E8=87=AA=E5=A2=9E=E4=B8=BB?= =?UTF-8?q?=E9=94=AE=E5=AF=BC=E8=87=B4=E6=89=B9=E9=87=8F=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=97=B6=E4=B8=BB=E9=94=AE=E5=86=B2=E7=AA=81=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 程子 <395030787@qq.com> --- .../java/com/gitee/sop/gateway/entity/ConfigServiceRoute.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sop-gateway/src/main/java/com/gitee/sop/gateway/entity/ConfigServiceRoute.java b/sop-gateway/src/main/java/com/gitee/sop/gateway/entity/ConfigServiceRoute.java index e157a0c7..ddc7027c 100644 --- a/sop-gateway/src/main/java/com/gitee/sop/gateway/entity/ConfigServiceRoute.java +++ b/sop-gateway/src/main/java/com/gitee/sop/gateway/entity/ConfigServiceRoute.java @@ -1,5 +1,6 @@ package com.gitee.sop.gateway.entity; +import com.gitee.fastmybatis.annotation.PkStrategy; import lombok.Data; import com.gitee.fastmybatis.annotation.Pk; @@ -13,7 +14,7 @@ import java.util.Date; * * @author tanghc */ -@Table(name = "config_service_route",pk = @Pk(name = "id")) +@Table(name = "config_service_route",pk = @Pk(name = "id",strategy = PkStrategy.NONE)) @Data public class ConfigServiceRoute { /** 数据库字段:id */