소스 검색

修改costs 主表自增

785834757 2 년 전
부모
커밋
1c7055f469
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/ydtech/modules/protocols/entity/po/PtlAgreementProductCostsNew.java

+ 1 - 1
src/main/java/com/ydtech/modules/protocols/entity/po/PtlAgreementProductCostsNew.java

@@ -20,7 +20,7 @@ import java.util.List;
 @AllArgsConstructor
 public class PtlAgreementProductCostsNew {
 
-    @TableId(value = "id")
+    @TableId(value = "id",type= IdType.AUTO)
     private String id;
 
     @ApiModelProperty(value = "协议id")