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