| | |
| | | BeanUtils.copyProperties(experimentAppInsertBO, experimentInfo); |
| | | experimentInfo.setStagingTag(ExperimentStagingEnum.SAVE.getValue()); |
| | | experimentInfo.setDeleteStatus(StatusEnum.DELETE_NOT.getCode().byteValue()); |
| | | experimentInfo.setLiabilityUser(operator.getName()); |
| | | experimentInfo.setLiabilityUserId(currentUserId); |
| | | // experimentInfo.setLiabilityUser(operator.getName()); |
| | | // experimentInfo.setLiabilityUserId(currentUserId); |
| | | experimentInfo.setStage(ExperimentStageEnum.NOT_EVALUATION.getValue()); |
| | | experimentInfo.setStatus(ExperimentStatusEnum.NOT_APPLY.getValue()); |
| | | experimentInfo.setExperimentTag(ExperimentTagEnum.NEW_CREATE.getValue()); |
| | |
| | | BeanUtils.copyProperties(experimentAppInsertBO, experimentInfo); |
| | | experimentInfo.setStagingTag(ExperimentStagingEnum.SAVE.getValue()); |
| | | experimentInfo.setDeleteStatus(StatusEnum.DELETE_NOT.getCode().byteValue()); |
| | | experimentInfo.setLiabilityUserId(currentUserId); |
| | | experimentInfo.setLiabilityUser(operator.getName()); |
| | | // experimentInfo.setLiabilityUserId(currentUserId); |
| | | // experimentInfo.setLiabilityUser(operator.getName()); |
| | | experimentInfo.setStage(ExperimentStageEnum.NOT_EVALUATION.getValue()); |
| | | experimentInfo.setStatus(ExperimentStatusEnum.NOT_APPLY.getValue()); |
| | | experimentInfo.setExperimentTag(ExperimentTagEnum.AREADLY_DEVELOP.getValue()); |
| | |
| | | if (StrUtil.isNotBlank(queryBO.getExperimentName())){ |
| | | predicateList.add(criteriaBuilder.like(root.get("experimentName"), '%'+ queryBO.getExperimentName()+'%')); |
| | | } |
| | | if (!ObjectUtils.isEmpty(queryBO.getExperimentId())){ |
| | | predicateList.add(criteriaBuilder.equal(root.get("id"), queryBO.getExperimentId())); |
| | | } |
| | | if (!ObjectUtils.isEmpty(queryBO.getStartTime())){ |
| | | predicateList.add(criteriaBuilder.greaterThanOrEqualTo(root.get("createTime"), queryBO.getStartTime())); |
| | | } |