소스 검색

地址使用自增长主键

LiFei 6 년 전
부모
커밋
5777a414ec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      happy-boot-module-hppay/src/main/java/org/jeecg/modules/hpposition/entity/PositionAddress.java

+ 1 - 1
happy-boot-module-hppay/src/main/java/org/jeecg/modules/hpposition/entity/PositionAddress.java

@@ -29,7 +29,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
 public class PositionAddress {
     
 	/**岗位地址表主键*/
-	@TableId(type = IdType.UUID)
+	@TableId(type = IdType.AUTO)
     @ApiModelProperty(value = "岗位地址表主键")
 	private Integer id;
 	/**所属岗位*/