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;