|  |  |  | @ -11,7 +11,9 @@ 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.entity.auth.*; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.AuthAdmin; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.AuthRoleAdmin; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.CustomerInfoEntity; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.basic.BasicCorpEntity; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.purchase.CustomerContactEntity; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.purchase.SupCertEntity; | 
			
		
	
	
		
			
				
					|  |  |  | @ -27,14 +29,12 @@ import com.glxp.api.res.PageSimpleResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.auth.AuthAdminService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.auth.AuthRoleAdminService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.auth.CustomerInfoService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.auth.ISysRoleService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.basic.BasicCorpService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.purchase.CustomerContactService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.purchase.SupCertService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.purchase.SupCertSetService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.purchase.SupCompanyService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.util.CustomUtil; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.beans.BeanUtils; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.beans.factory.annotation.Value; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.web.bind.annotation.GetMapping; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
			
		
	
	
		
			
				
					|  |  |  | @ -45,7 +45,6 @@ import org.springframework.web.context.request.ServletRequestAttributes; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import javax.annotation.Resource; | 
			
		
	
		
			
				
					|  |  |  |  | import javax.servlet.http.HttpServletRequest; | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.ArrayList; | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.Date; | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.List; | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.ListIterator; | 
			
		
	
	
		
			
				
					|  |  |  | @ -275,7 +274,7 @@ public class SupCompanyController { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         //修改用户角色
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (companyEntity.getRoleId() != null) { | 
			
		
	
		
			
				
					|  |  |  |  |             CustomerInfoEntity customerInfoEntity = new CustomerInfoEntity(); | 
			
		
	
		
			
				
					|  |  |  |  |             CustomerInfoEntity customerInfoEntity = customerInfoService.findByCustomerId(companyEntity.getCustomerId()); | 
			
		
	
		
			
				
					|  |  |  |  |             customerInfoEntity.setCustomerId(Long.valueOf(companyEntity.getCustomerId())); | 
			
		
	
		
			
				
					|  |  |  |  |             customerInfoEntity.setRoleId(companyEntity.getRoleId()); | 
			
		
	
		
			
				
					|  |  |  |  |             customerInfoEntity.setCompanyName(companyEntity.getCompanyName()); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |