|
|
|
@ -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)); |
|
|
|
|