Explorar o código

shipper id自增

chengang %!s(int64=4) %!d(string=hai) anos
pai
achega
c99863eb93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/aoyang/tms/entity/Shipper.java

+ 1 - 1
src/main/java/com/aoyang/tms/entity/Shipper.java

@@ -31,7 +31,7 @@ public class Shipper implements Serializable {
     private static final long serialVersionUID = 1L;
 
     @ApiModelProperty(value = "id,自增")
-    @TableId(value = "id", type = IdType.AUTO)
+    @TableId(value = "shipper_id", type = IdType.AUTO)
     @JsonFormat(shape = JsonFormat.Shape.STRING)
     private Long shipperId;