|
|
|
@ -114,7 +114,7 @@ public class AskPhysicalServiceImpl implements AskPhysicalService {
|
|
|
|
|
// 首先判断位置是否是空,如果位置是空,就查找不需要位置的默认值
|
|
|
|
|
if (StrUtil.isBlank(locationId)) {
|
|
|
|
|
DefaultPhysicalIndicator noLocationIndicator = defaultPhysicalIndicatorService.lambdaQuery().eq(DefaultPhysicalIndicator::getItemId, itemId).last("limit 1").one();
|
|
|
|
|
if (ObjectUtil.isEmpty(noLocationIndicator)) {
|
|
|
|
|
if (ObjectUtil.isEmpty(noLocationIndicator) || StrUtil.isEmpty(noLocationIndicator.getIndicatorValue())) {
|
|
|
|
|
diseasePhysical.setResult("无相关资讯");
|
|
|
|
|
return diseasePhysical;
|
|
|
|
|
}
|
|
|
|
|