|
|
|
@ -135,7 +135,7 @@ public class AskPhysicalServiceImpl implements AskPhysicalService {
|
|
|
|
|
DefaultPhysicalIndicator parentPhysicalIndicator = defaultPhysicalIndicatorService.lambdaQuery().eq(DefaultPhysicalIndicator::getItemId, itemId)
|
|
|
|
|
.eq(DefaultPhysicalIndicator::getLocationId, location.getParentId()).last("limit 1").one();
|
|
|
|
|
// 如果不为空,则返回结果
|
|
|
|
|
if (ObjectUtil.isNotEmpty(parentPhysicalIndicator)) {
|
|
|
|
|
if (ObjectUtil.isNotEmpty(parentPhysicalIndicator) && StrUtil.isNotBlank(parentPhysicalIndicator.getIndicatorValue())) {
|
|
|
|
|
diseasePhysical.setResult(parentPhysicalIndicator.getIndicatorValue());
|
|
|
|
|
return diseasePhysical;
|
|
|
|
|
}
|
|
|
|
|