Commit 0e03d8fe authored by 王飞's avatar 王飞

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

parent 304e4f22
......@@ -12,7 +12,7 @@ import lombok.NoArgsConstructor;
@Data
public class MatrixColumnVO {
private Long id;
private String id;
@ApiModelProperty("列名称")
private String title;
......
......@@ -52,7 +52,7 @@ public class MatrixServiceImpl implements MatrixService {
List<MatrixColumnVO> columns = new ArrayList();
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);
}
......
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