20250326 更新

This commit is contained in:
2025-03-26 10:05:27 +08:00
parent 262c96c875
commit 496f88f3ce
2 changed files with 2 additions and 2 deletions

View File

@@ -1622,7 +1622,7 @@ public class TestRecordSampleDataServiceImpl extends ServiceImpl<TestRecordSampl
public boolean autoDelData(String testId, String reagentId) {
TestRecordReagentVO reagentVO = testRecordReagentService.getVOById(reagentId);
Drug drug = reagentVO.getDrug();
String compoundName = drug.getName();
String compoundName = drug.getEnglishName();
List<TestRecordSampleData> removeDataList = this.list(Wrappers.<TestRecordSampleData>lambdaQuery()
.eq(TestRecordSampleData::getTestId, testId)
.eq(TestRecordSampleData::getCompoundName, compoundName));

View File

@@ -114,7 +114,7 @@ public class TestRecordSampledataExpandServiceImpl extends ServiceImpl<TestRecor
*/
@Override
public List<TestRecordSampleDataExpand> saveExpDataByBusinessType(String testDataId, Drug drug, String businessType) {
List<TestRecordSampleDataExpand> testRecordSampleDataExpandList = null;
List<TestRecordSampleDataExpand> testRecordSampleDataExpandList = new ArrayList<>();
if (BusinessType.NPS_CASE.getBusinessType().equals(businessType)) {
List<String> characteristicIonsList = StrUtil.split(drug.getCharacteristicIons(), "");