完成试验,新增数据库数据时也加两个统计字段
This commit is contained in:
@@ -324,6 +324,8 @@ public class ExperimentController extends JeecgController<Experiment, IExperimen
|
||||
localData.setStatus(ExperimentStatus.COMPLETED);
|
||||
localData.setExperimentNo(dbData.getExperimentNo());
|
||||
localData.setExperimentId(dbData.getId());
|
||||
localData.setTotalCountXhy(dbData.getTotalCountXhy());
|
||||
localData.setTotalCountLhs(dbData.getTotalCountLhs());
|
||||
List<ExperimentSampleInfo> sampleInfoList = experimentSampleInfoService.getByExperimentId(dbData.getId());
|
||||
if (CollUtil.isNotEmpty(sampleInfoList)) {
|
||||
String joinStr = String.join(",", sampleInfoList.stream().map(v -> v.getSampleModel()).collect(Collectors.toSet()));
|
||||
|
||||
Reference in New Issue
Block a user