refactor(consultation): 为实体类添加缺失的 @TableId 注解并规范导入顺序
- 部分自增主键注解有问题 - 更新信创后置sql
This commit is contained in:
+3
@@ -1,6 +1,8 @@
|
||||
package com.renkang.consultation.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -27,6 +29,7 @@ public class ConCostLog {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@Excel(name = "id", width = 15)
|
||||
@Schema(title = "id")
|
||||
private String id;
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ public class ConCostStatistics extends ConPage implements Serializable {
|
||||
/**
|
||||
* 流水号
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@TableId(type = IdType.AUTO)
|
||||
@Schema(title = "流水号")
|
||||
private Integer id;
|
||||
/**
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public class ConHelperOnline implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@TableId(type = IdType.AUTO)
|
||||
@Schema(title = "主键")
|
||||
private Integer id;
|
||||
/**
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ public class ConPhrases extends ConPage implements Serializable {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@TableId(type = IdType.AUTO)
|
||||
@Schema(title = "主键id")
|
||||
private String id;
|
||||
/**
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public class ConPropose implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@TableId(type = IdType.AUTO)
|
||||
@Schema(title = "主键")
|
||||
private Integer id;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user