| 
					
				 | 
			
			
				@@ -1,9 +1,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.ruoyi.basicData.service.impl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.basicData.domain.TFees; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.basicData.domain.TGoods; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.basicData.mapper.TFeesMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.basicData.service.ITFeesService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.common.constant.UserConstants; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.common.utils.DateUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.common.utils.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -87,4 +90,22 @@ public class TFeesServiceImpl implements ITFeesService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public int deleteTFeesById(Long fId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return tFeesMapper.deleteTFeesById(fId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public String checkUFNoUnique(TFees tFees) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        TFees tFees1= tFeesMapper.checkFNoUnique(tFees.getfNo()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (StringUtils.isNotNull(tFees1) && tFees1.getfId()!=tFees.getfId()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return UserConstants.NOT_UNIQUE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return UserConstants.UNIQUE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public String checkUFNnameUnique(TFees tFees) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        TFees tFees1 = tFeesMapper.checkUFNnameUnique(tFees.getfName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (StringUtils.isNotNull(tFees1) && tFees1.getfId()!=tFees.getfId()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return UserConstants.NOT_UNIQUE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return UserConstants.UNIQUE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |