Commit db23c40e by HuAnYing

修改主键规则

parent 32473551
......@@ -25,7 +25,7 @@ public class CustomProductBlacklistEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info的id
......
......@@ -26,7 +26,7 @@ public class CustomProductCnRemarkEntity implements Serializable {
/**
* id
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info表id
......
......@@ -25,7 +25,7 @@ public class CustomProductCraftRelEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info 的id
......
......@@ -25,7 +25,7 @@ public class CustomProductDiyUserRelEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info的id
......
......@@ -26,7 +26,7 @@ public class CustomProductFactoryPriceIntervalRelEntity implements Serializable
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info 表id
......
......@@ -27,7 +27,7 @@ public class CustomProductFactoryPriceRelEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info表id
......
......@@ -26,7 +26,7 @@ public class CustomProductImageEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* 商品ID
......
......@@ -27,7 +27,7 @@ public class CustomProductInfoEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* sku
......
......@@ -25,7 +25,7 @@ public class CustomProductInfoPropertyEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info表id
......
......@@ -27,7 +27,7 @@ public class CustomProductItemEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* 商品ID
......
......@@ -26,7 +26,7 @@ public class CustomProductRemarkEntity implements Serializable {
/**
* id
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* custom_product_info表id
......
......@@ -25,7 +25,7 @@ public class CustomProductWarehouseRelEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
*
......
......@@ -26,7 +26,7 @@ public class CustomWarehouseInfoEntity implements Serializable {
/**
*
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Long id;
/**
* 仓库名称
......
......@@ -28,7 +28,7 @@ public class DbDiyEntity implements Serializable {
/**
* 主键
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* 唯一标识
......
......@@ -26,7 +26,7 @@ public class LogCustomProductEntity implements Serializable {
/**
* 主键
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Long id;
/**
* 商品id(custom_product_info表id)
......
......@@ -25,7 +25,7 @@ public class SysMenuEntity implements Serializable {
/**
* 菜单ID
*/
@TableId(value = "menu_id",type= IdType.ASSIGN_ID)
@TableId(value = "menu_id",type= IdType.AUTO)
private Long menuId;
/**
* 菜单名称
......
......@@ -24,7 +24,7 @@ public class SysRoleDeptEntity implements Serializable {
/**
* 角色ID
*/
@TableId(value = "role_id",type= IdType.ASSIGN_ID)
@TableId(value = "role_id",type= IdType.AUTO)
private Long roleId;
/**
......
......@@ -25,7 +25,7 @@ public class SysRoleEntity implements Serializable {
/**
* 角色ID
*/
@TableId(value = "role_id",type= IdType.ASSIGN_ID)
@TableId(value = "role_id",type= IdType.AUTO)
private Long roleId;
/**
......
......@@ -24,7 +24,7 @@ public class SysRoleMenuEntity implements Serializable {
/**
* 角色ID
*/
@TableId(value = "role_id",type= IdType.ASSIGN_ID)
@TableId(value = "role_id",type= IdType.AUTO)
private Long roleId;
/**
......
......@@ -26,7 +26,7 @@ public class SysUserEntity implements Serializable {
/**
* 用户ID
*/
@TableId(value = "user_id",type= IdType.ASSIGN_ID)
@TableId(value = "user_id",type= IdType.AUTO)
private Long userId;
/**
* 部门ID
......
......@@ -28,7 +28,7 @@ public class SysUserOldEntity implements Serializable {
/**
* id
*/
@TableId(value = "id",type= IdType.ASSIGN_ID)
@TableId(value = "id",type= IdType.AUTO)
private Integer id;
/**
* 登录账号
......
......@@ -27,7 +27,7 @@ public class SysUserRoleEntity implements Serializable {
/**
* 用户ID
*/
@TableId(value = "user_id",type= IdType.ASSIGN_ID)
@TableId(value = "user_id",type= IdType.AUTO)
private Long userId;
/**
* 角色ID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment