|  |  |  | @ -12,6 +12,7 @@ import com.glxp.api.common.res.BaseResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.common.util.ResultVOUtils; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.constant.BusinessType; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.constant.ConstantStatus; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.constant.FileConstant; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.AuthAdmin; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.purchase.*; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.system.SysPdfTemplateRelevanceStatemenEntity; | 
			
		
	
	
		
			
				
					|  |  |  | @ -306,7 +307,7 @@ public class SupCertController { | 
			
		
	
		
			
				
					|  |  |  |  |     @PostMapping("/sup/info/deleteCompanyCert") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse deleteCompanyCert(@RequestBody DeleteCompanyFileRequest deleteCompanyFileRequest, BindingResult bindingResult) { | 
			
		
	
		
			
				
					|  |  |  |  |         boolean b = supCertService.deleteById(deleteCompanyFileRequest.getId()); | 
			
		
	
		
			
				
					|  |  |  |  |         String URL = filePath + "/register/file/image2/" + deleteCompanyFileRequest.getFilePath(); | 
			
		
	
		
			
				
					|  |  |  |  |         String URL = filePath + FileConstant.COMMON_FILE_PATH + deleteCompanyFileRequest.getFilePath(); | 
			
		
	
		
			
				
					|  |  |  |  |         File file = new File(URL); | 
			
		
	
		
			
				
					|  |  |  |  |         if (file.exists() && file.isFile()) { | 
			
		
	
		
			
				
					|  |  |  |  |             file.delete(); | 
			
		
	
	
		
			
				
					|  |  |  | @ -396,7 +397,7 @@ public class SupCertController { | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("status", obj.getStatus() == 0 ? "有效" : "失效"); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("auditStatus", getAuditStatus(obj.getAuditStatus())); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("remark", obj.getRemark() == null ? ' ' : obj.getRemark()); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("filePath", filePath + "register/image2/" + url); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("filePath", filePath + FileConstant.COMMON_FILE_PATH + url); | 
			
		
	
		
			
				
					|  |  |  |  |                     list.add(supData); | 
			
		
	
		
			
				
					|  |  |  |  |                     i++; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
	
		
			
				
					|  |  |  | @ -512,7 +513,7 @@ public class SupCertController { | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("status", obj.getStatus() == 0 ? "有效" : "失效"); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("auditStatus", getAuditStatus(obj.getAuditStatus())); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark()); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("filePath", filePath + "register/image2/" + url); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("filePath", filePath + FileConstant.COMMON_FILE_PATH + url); | 
			
		
	
		
			
				
					|  |  |  |  |                     list.add(supData); | 
			
		
	
		
			
				
					|  |  |  |  |                     i++; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
	
		
			
				
					|  |  |  | @ -578,7 +579,7 @@ public class SupCertController { | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("status", obj.getStatus() == 0 ? "有效" : "失效"); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("auditStatus", getAuditStatus(obj.getAuditStatus())); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark()); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("filePath", filePath + "register/image2/" + url); | 
			
		
	
		
			
				
					|  |  |  |  |                     supData.put("filePath", filePath + FileConstant.COMMON_FILE_PATH + url); | 
			
		
	
		
			
				
					|  |  |  |  |                     list.add(supData); | 
			
		
	
		
			
				
					|  |  |  |  |                     i++; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |