Commit 4c27fce1 authored by 王飞's avatar 王飞

Merge branch 'wangfei' into 'dev'

1、修改返回前端的id类型

See merge request !87
parents c0e91e9c 0e03d8fe
...@@ -12,7 +12,7 @@ import lombok.NoArgsConstructor; ...@@ -12,7 +12,7 @@ import lombok.NoArgsConstructor;
@Data @Data
public class MatrixColumnVO { public class MatrixColumnVO {
private Long id; private String id;
@ApiModelProperty("列名称") @ApiModelProperty("列名称")
private String title; private String title;
......
...@@ -52,7 +52,7 @@ public class MatrixServiceImpl implements MatrixService { ...@@ -52,7 +52,7 @@ public class MatrixServiceImpl implements MatrixService {
List<MatrixColumnVO> columns = new ArrayList(); List<MatrixColumnVO> columns = new ArrayList();
for(TestType type : types) { for(TestType type : types) {
MatrixColumnVO column = new MatrixColumnVO(type.getId(), type.getTestType()); MatrixColumnVO column = new MatrixColumnVO(String.valueOf(type.getId()), type.getTestType());
columns.add(column); columns.add(column);
} }
......
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