bug修改
This commit is contained in:
		
							parent
							
								
									fcb195e1f4
								
							
						
					
					
						commit
						2f8f31202d
					
				| 
						 | 
				
			
			@ -115,6 +115,11 @@ public class DataScreeningServiceImpl implements DataScreeningService {
 | 
			
		|||
            case DISH:
 | 
			
		||||
                //查询所有绑定的菜谱
 | 
			
		||||
                List<String> recipeIds = mapper.selectAllRecipeIds();
 | 
			
		||||
                if(recipeIds.isEmpty()){
 | 
			
		||||
                    SingleModelVO singleModelVO = new SingleModelVO();
 | 
			
		||||
                    singleModelVO.setNum(BigDecimal.ZERO);
 | 
			
		||||
                    return singleModelVO;
 | 
			
		||||
                }
 | 
			
		||||
                return mapper.selectDish(date,recipeIds);
 | 
			
		||||
            default:
 | 
			
		||||
                return new SingleModelVO();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue