| 
					
				 | 
			
			
				@@ -11,10 +11,8 @@ import com.ruoyi.finance.domain.TFeeDo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.finance.domain.TWareHouseFees; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.finance.service.ITFeeService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.warehouse.mapper.TFeeMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.ruoyi.warehouseBusiness.domain.TEnclosure; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.ruoyi.warehouseBusiness.domain.TWarehouseBills; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.ruoyi.warehouseBusiness.domain.TWarehousebillsfees; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.ruoyi.warehouseBusiness.domain.TWarehousebillsitems; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.warehouseBusiness.domain.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.warehouseBusiness.mapper.BillnoDelMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.warehouseBusiness.service.impl.BillnoSerialServiceImpl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,6 +36,9 @@ public class TFeeServiceImpl implements ITFeeService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private BillnoSerialServiceImpl billnoSerialServiceImpl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private BillnoDelMapper billnoDelMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 查询财务数据主 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -136,6 +137,16 @@ public class TFeeServiceImpl implements ITFeeService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public int deleteTFeeByIds(Long[] fIds) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 取出业务编号、 放入 billno_del 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (Long id : fIds) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 1、查询主表信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            TFee tFee = tFeeMapper.selectTFeeById(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 2、业务编号、客存编号 放入 billno_del 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            BillnoDel billnoDel = new BillnoDel(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            billnoDel.setBillType(tFee.getfBilltype()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            billnoDel.setBillNo(tFee.getfBillno()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            billnoDelMapper.insertBillnoDel(billnoDel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return tFeeMapper.deleteTFeeByIds(fIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |