|
|
@@ -12,6 +12,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
+import org.dromara.common.tenant.helper.TenantHelper;
|
|
|
import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.dromara.backstage.basics.domain.bo.PtMealTypeBo;
|
|
|
@@ -174,7 +175,7 @@ public class PtMealtypeServiceImpl implements IPtMealtypeService {
|
|
|
*/
|
|
|
@Override
|
|
|
public PtMealTypeVo queryVoByTime(String mealTime) {
|
|
|
- List<PtMealTypeVo> voList = baseMapper.queryVoByTime(mealTime);
|
|
|
+ List<PtMealTypeVo> voList = TenantHelper.ignore(() -> baseMapper.queryVoByTime(mealTime));
|
|
|
if(voList!=null && !voList.isEmpty()){
|
|
|
return voList.get(0);
|
|
|
} else {
|