|  |  | @ -201,35 +201,38 @@ public class ThrProductsController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         String value = systemParamConfigService.selectValueByParamKey("enable_edit_third"); |  |  |  |         String value = systemParamConfigService.selectValueByParamKey("enable_edit_third"); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (StrUtil.isNotEmpty(value) && value.equals("1")) { |  |  |  |         if (StrUtil.isNotEmpty(value) && value.equals("1")) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             UdiProductEntity udiProductEntity = udiProductService.findByNameCode(thrProductsEntity.getCode()); |  |  |  |             UdiProductEntity udiProductEntity = udiProductService.findByNameCode(thrProductsEntity.getCode()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getMeasname())) |  |  |  |             if (udiProductEntity != null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setMeasname(thrProductsEntity.getMeasname()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getMeasname())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getSpec())) |  |  |  |                     udiProductEntity.setMeasname(thrProductsEntity.getMeasname()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setGgxh(thrProductsEntity.getSpec()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getSpec())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getRegisterNo())) |  |  |  |                     udiProductEntity.setGgxh(thrProductsEntity.getSpec()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setZczbhhzbapzbh(thrProductsEntity.getRegisterNo()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getRegisterNo())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getManufactory())) |  |  |  |                     udiProductEntity.setZczbhhzbapzbh(thrProductsEntity.getRegisterNo()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setManufactory(thrProductsEntity.getManufactory()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getManufactory())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getCplb())) |  |  |  |                     udiProductEntity.setManufactory(thrProductsEntity.getManufactory()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setCplb(thrProductsEntity.getCplb()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getCplb())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getFlbm())) |  |  |  |                     udiProductEntity.setCplb(thrProductsEntity.getCplb()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setFlbm(thrProductsEntity.getFlbm()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getFlbm())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getQxlb())) |  |  |  |                     udiProductEntity.setFlbm(thrProductsEntity.getFlbm()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setQxlb(thrProductsEntity.getQxlb()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getQxlb())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getYbbm())) |  |  |  |                     udiProductEntity.setQxlb(thrProductsEntity.getQxlb()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setYbbm(thrProductsEntity.getYbbm()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getYbbm())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getSptm())) |  |  |  |                     udiProductEntity.setYbbm(thrProductsEntity.getYbbm()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setSptm(thrProductsEntity.getSptm()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getSptm())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getTyshxydm())) |  |  |  |                     udiProductEntity.setSptm(thrProductsEntity.getSptm()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setTyshxydm(thrProductsEntity.getTyshxydm()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getTyshxydm())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getZczbhhzbapzbh())) |  |  |  |                     udiProductEntity.setTyshxydm(thrProductsEntity.getTyshxydm()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setZczbhhzbapzbh(thrProductsEntity.getZczbhhzbapzbh()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getZczbhhzbapzbh())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getYlqxzcrbarmc())) |  |  |  |                     udiProductEntity.setZczbhhzbapzbh(thrProductsEntity.getZczbhhzbapzbh()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setYlqxzcrbarmc(thrProductsEntity.getYlqxzcrbarmc()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getYlqxzcrbarmc())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getCpms())) |  |  |  |                     udiProductEntity.setYlqxzcrbarmc(thrProductsEntity.getYlqxzcrbarmc()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setCpms(thrProductsEntity.getCpms()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getCpms())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (StrUtil.isNotEmpty(thrProductsEntity.getStandard())) |  |  |  |                     udiProductEntity.setCpms(thrProductsEntity.getCpms()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 udiProductEntity.setGgxh(thrProductsEntity.getStandard()); |  |  |  |                 if (StrUtil.isNotEmpty(thrProductsEntity.getStandard())) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             udiProductService.updateUdiInfo(udiProductEntity); |  |  |  |                     udiProductEntity.setGgxh(thrProductsEntity.getStandard()); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 udiProductService.updateUdiInfo(udiProductEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         return ResultVOUtils.success("修改成功!"); |  |  |  |         return ResultVOUtils.success("修改成功!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |