From c327ae2c32c988c43d6881c9caf196e42bab3f8c Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期四, 27 四月 2023 14:09:48 +0800 Subject: [PATCH] 修复订单系统 --- src/main/java/com/zy/asrs/entity/Order.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Order.java b/src/main/java/com/zy/asrs/entity/Order.java index 4f8cc19..99abc64 100644 --- a/src/main/java/com/zy/asrs/entity/Order.java +++ b/src/main/java/com/zy/asrs/entity/Order.java @@ -1,7 +1,9 @@ package com.zy.asrs.entity; import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; +import com.baomidou.mybatisplus.enums.IdType; import com.core.common.Cools; import com.core.common.SpringUtils; import com.zy.asrs.service.DocTypeService; @@ -26,6 +28,7 @@ * ID */ @ApiModelProperty(value= "ID") + @TableId(value = "id", type = IdType.AUTO) private Long id; /** -- Gitblit v1.9.1