原因:实体类主键id 缺少注解
解决方式:
/**
* 主键
*/
@TableId(type = IdType.INPUT)
private Long SharingId;
加上注解 :@TableId(type = IdType.INPUT)
原因:实体类主键id 缺少注解
解决方式:
/**
* 主键
*/
@TableId(type = IdType.INPUT)
private Long SharingId;
加上注解 :@TableId(type = IdType.INPUT)