20250326 更新

master
陈江保 5 days ago
parent 262c96c875
commit 496f88f3ce
  1. 2
      dlp-drugtesting-biz/src/main/java/digital/laboratory/platform/inspection/service/impl/TestRecordSampleDataServiceImpl.java
  2. 2
      dlp-drugtesting-biz/src/main/java/digital/laboratory/platform/inspection/service/impl/TestRecordSampledataExpandServiceImpl.java

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

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

Loading…
Cancel
Save