fix: 字段调整

This commit is contained in:
zhanghao 2026-02-04 11:16:40 +08:00
parent f74454888d
commit ff958bd216
2 changed files with 2 additions and 2 deletions

View File

@ -81,5 +81,5 @@ public class TiProject extends BaseEntity {
private Long indicatorId; private Long indicatorId;
@ApiModelProperty(value = "测试功能id列表") @ApiModelProperty(value = "测试功能id列表")
private String testfuncs; private String testFuncs;
} }

View File

@ -53,7 +53,7 @@ public class TiProjectServiceImpl extends ServiceImpl<TiProjectMapper, TiProject
@Override @Override
public int insertTiProject(TiProject tiProject) { public int insertTiProject(TiProject tiProject) {
// 校验功能ID是否属于同一车型配置 // 校验功能ID是否属于同一车型配置
List<Long> ids = StrUtil.split(tiProject.getTestfuncs(), CharPool.COMMA) List<Long> ids = StrUtil.split(tiProject.getTestFuncs(), CharPool.COMMA)
.stream() .stream()
.map(Long::valueOf) .map(Long::valueOf)
.collect(Collectors.toList()); .collect(Collectors.toList());