| 
					
				 | 
			
			
				@@ -6,8 +6,10 @@ import com.baomidou.mybatisplus.core.conditions.query.Query; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.poi.ss.formula.functions.T; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.apache.shiro.SecurityUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.jeecg.common.api.vo.Result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.jeecg.common.exception.JeecgBootException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.jeecg.common.system.vo.LoginUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.jeecg.modules.cost.entity.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.jeecg.modules.cost.mapper.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.jeecg.modules.cost.service.*; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -168,6 +170,9 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         syCostAllocation = list.get(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //制单人 取当前查询人 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        syCostAllocation.setPreparedBy(sysUser.getRealname()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //查询单证面损数据   面料(不)含税成本 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SyFabricLossReport syLossReport1 = null; 
			 |