fix:配料元素提交bug修改
This commit is contained in:
@@ -1329,6 +1329,9 @@ public class SampleAnalysisServiceImpl implements SampleAnalysisService {
|
|||||||
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
||||||
String project = source.getProject();
|
String project = source.getProject();
|
||||||
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = businessAssayProjectDataExtendList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = businessAssayProjectDataExtendList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
||||||
|
if (currentBusinessAssayProjectData == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
||||||
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
||||||
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
||||||
@@ -1360,6 +1363,9 @@ public class SampleAnalysisServiceImpl implements SampleAnalysisService {
|
|||||||
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
||||||
String project = source.getProject();
|
String project = source.getProject();
|
||||||
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = businessAssayProjectDataExtendList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = businessAssayProjectDataExtendList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
||||||
|
if (currentBusinessAssayProjectData == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
||||||
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
||||||
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
||||||
@@ -1391,6 +1397,9 @@ public class SampleAnalysisServiceImpl implements SampleAnalysisService {
|
|||||||
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
||||||
String project = source.getProject();
|
String project = source.getProject();
|
||||||
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = businessAssayProjectDataExtendList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = businessAssayProjectDataExtendList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
||||||
|
if (currentBusinessAssayProjectData == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
||||||
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
||||||
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
||||||
|
|||||||
@@ -399,6 +399,9 @@ public class XRFDataServiceImpl implements XRFDataService {
|
|||||||
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
||||||
String project = source.getProject();
|
String project = source.getProject();
|
||||||
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = tempBusElementValueList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = tempBusElementValueList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
||||||
|
if (currentBusinessAssayProjectData == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
||||||
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
||||||
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
||||||
@@ -430,6 +433,9 @@ public class XRFDataServiceImpl implements XRFDataService {
|
|||||||
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
||||||
String project = source.getProject();
|
String project = source.getProject();
|
||||||
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = tempBusElementValueList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = tempBusElementValueList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
||||||
|
if (currentBusinessAssayProjectData == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
||||||
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
||||||
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
||||||
@@ -461,6 +467,9 @@ public class XRFDataServiceImpl implements XRFDataService {
|
|||||||
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
ConfigSubSampleMethodConfPoint source = configSubSampleMethodConfItem.getSource();
|
||||||
String project = source.getProject();
|
String project = source.getProject();
|
||||||
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = tempBusElementValueList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
BusinessAssayProjectDataExtendRespVO currentBusinessAssayProjectData = tempBusElementValueList.stream().filter(f -> f.getBusinessAssayTaskDataId().equals(businessAssayTaskData.getId()) && project.equals(f.getSimpleName())).findFirst().orElse(null);
|
||||||
|
if (currentBusinessAssayProjectData == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
ConfigSubSampleMethodConfPoint target = configSubSampleMethodConfItem.getTarget();
|
||||||
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
for (BusinessAssayTaskDataDO targetBusinessAssayTaskData : targetBusinessAssayTaskDataList) {
|
||||||
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
List<String> targetProjectList = Arrays.asList(target.getProject().split(","));
|
||||||
|
|||||||
Reference in New Issue
Block a user