20250325 更新

This commit is contained in:
2025-03-25 15:54:32 +08:00
parent 73b049dc2d
commit cdecec7338
2 changed files with 3 additions and 8 deletions

View File

@@ -274,13 +274,6 @@ public class TestRecordSampleDataController {
}
private void NPSTestResultAnalysis(List<NPSDataFileStruct> npsDataFileStructList) {
//NPS的分析暂时只考虑定性分析定性分析的逻辑如下
// 1、获取定性分析的条件 2、循环该实验下的所有检材的数据根据定性条件判断获取分析结果
}
@PutMapping("/updateCompoundCnName")
@ApiOperation(value = "添加中文化合物名称", notes = "添加中文化合物名称")
public R updateCompoundCnName(@RequestBody UpdateCompoundCnNameDto dto) {
@@ -294,4 +287,6 @@ public class TestRecordSampleDataController {
return R.ok("更新成功!");
}
}

View File

@@ -425,7 +425,7 @@ public class TestRecordSampleDataServiceImpl extends ServiceImpl<TestRecordSampl
@Override
public TestRecordSampleData updateEntrustTestData(UpdateEntrustTestDataDTO dto) {
JSONObject dtoParam = dto.getParam();
TestRecordSampleData oldInfo = this.getById(dtoParam.getString("testSampleDataId")); // 取实验数据id
TestRecordSampleData oldInfo = this.getById(dtoParam.getString("id")); // 取实验数据id
// 取出老数据,进行更改
JSONObject oldObject = new JSONObject();
if (oldInfo != null) {