From 6586962332bf672e231716a7d944aa7380ccdd23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=A3=AE=E5=A3=AE?= Date: Tue, 21 Jan 2025 09:17:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:LimitCreditEntity=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E7=B1=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../athena/app/ptc/infra/entity/LimitCreditEntity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/infra/entity/LimitCreditEntity.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/infra/entity/LimitCreditEntity.java index db10bd9..06d5b37 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/infra/entity/LimitCreditEntity.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/infra/entity/LimitCreditEntity.java @@ -1,5 +1,7 @@ package com.digiwin.athena.app.ptc.infra.entity; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; @@ -20,6 +22,10 @@ import java.math.BigDecimal; @TableName(value = "cim_limit_credit", autoResultMap = true) public class LimitCreditEntity { + @SerializedName(value = "id") + @TableId(value = "id",type = IdType.INPUT) + private Long id; + /** 客户编号 */ @SerializedName(value = "customer_no") private String customerNo;