| 
					
				 | 
			
			
				@@ -10,9 +10,8 @@ import com.ruoyi.warehouseBusiness.mapper.TWarehouseBillsMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.HashMap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.text.SimpleDateFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.util.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 库存总账Service业务层处理 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -130,4 +129,20 @@ public class TWhgenlegServiceImpl implements ITWhgenlegService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public List<Map<String, Object>> selectCorpsList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return tWhgenlegMapper.selectCorpsList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public List<Map<String, Object>> selectDateFQtyblcListList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 当天往前推 一周 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd "); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Calendar c = Calendar.getInstance(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        c.add(Calendar.DATE, - 8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String frontday = format.format(c.getTime()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 当前日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String nowadays=DateUtils.getDate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Map<String, Object> map = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        map.put("frontday", frontday); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        map.put("nowadays", nowadays); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return tWhgenlegMapper.selectDateFQtyblcListList(map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |