Commit bd985bb0 authored by 王飞's avatar 王飞

Merge branch 'gaixiankang' into 'dev'

ID返回字符串

See merge request !28
parents 1e722089 e5088777
......@@ -3,6 +3,7 @@ package com.ruoyi.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
......@@ -30,6 +31,7 @@ public class AutomobileEnterprise extends BaseEntity
/** 主键 */
@ApiModelProperty("ID")
@TableId(type = IdType.ASSIGN_ID)
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long 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