mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
升级springboot版本至2.6.16
升级springcloud alibaba版本至2021.0.5.0 升级springcloud版本至2021.0.5 移除ribbon,使用spring cloud loadbalancer
This commit is contained in:
@@ -2,11 +2,8 @@ package com.gitee.sop.sopauth.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import com.gitee.fastmybatis.annotation.Pk;
|
||||
import com.gitee.fastmybatis.annotation.Table;
|
||||
|
||||
|
||||
/**
|
||||
@@ -15,12 +12,9 @@ import javax.persistence.Table;
|
||||
*
|
||||
* @author tanghc
|
||||
*/
|
||||
@Table(name = "isv_info")
|
||||
@Table(name = "isv_info",pk = @Pk(name = "id"))
|
||||
@Data
|
||||
public class IsvInfo {
|
||||
@Id
|
||||
@Column(name = "id")
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
/** 数据库字段:id */
|
||||
private Long id;
|
||||
|
||||
|
@@ -4,11 +4,8 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.gitee.sop.sopauth.auth.OpenUser;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import com.gitee.fastmybatis.annotation.Pk;
|
||||
import com.gitee.fastmybatis.annotation.Table;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@@ -18,12 +15,9 @@ import java.util.Date;
|
||||
*
|
||||
* @author tanghc
|
||||
*/
|
||||
@Table(name = "user_info")
|
||||
@Table(name = "user_info",pk = @Pk(name = "id"))
|
||||
@Data
|
||||
public class UserInfo implements OpenUser {
|
||||
@Id
|
||||
@Column(name = "id")
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
/** 数据库字段:id */
|
||||
private Long id;
|
||||
|
||||
|
Reference in New Issue
Block a user