From d90ed73ed54d517ba264e4d048590c4e65cc9796 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Wed, 13 Mar 2024 16:43:23 +0800 Subject: [PATCH] bug --- .../marketingActivity/cardFule/entity/CardFuelRecord.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/entity/CardFuelRecord.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/entity/CardFuelRecord.java index b5e29cded..21ffe6883 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/entity/CardFuelRecord.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFule/entity/CardFuelRecord.java @@ -2,6 +2,8 @@ package com.fuint.business.marketingActivity.cardFule.entity; import java.util.Date; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.annotation.JsonFormat; import com.fuint.repository.model.base.BaseEntity; import lombok.Data; @@ -18,6 +20,7 @@ public class CardFuelRecord extends BaseEntity { /** * 主键id */ + @TableId(type = IdType.AUTO) private Integer id; private Integer oilNumberId;