|  |  | @ -106,16 +106,16 @@ public class UdiProductServiceImpl implements UdiProductService { | 
			
		
	
		
		
			
				
					
					|  |  |  |     public boolean insertUdiInfo(UdiProductEntity udiProductEntity) { |  |  |  |     public boolean insertUdiInfo(UdiProductEntity udiProductEntity) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (udiProductEntity.getId() == null) { |  |  |  |         if (udiProductEntity.getId() == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             udiProductEntity.setId(IdUtil.getSnowflakeNextId()); |  |  |  |             udiProductEntity.setId(IdUtil.getSnowflakeNextId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             if(StrUtil.isNotBlank(udiProductEntity.getCpmctymc())){ |  |  |  |         } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                try { |  |  |  |         if(StrUtil.isNotBlank(udiProductEntity.getCpmctymc()) && StrUtil.isBlank(udiProductEntity.getPinyinInitial())){ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                    String pinyin= PinyinUtils.converterToFirstSpell(udiProductEntity.getCpmctymc()); |  |  |  |             try { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                    udiProductEntity.setPinyinInitial(pinyin); |  |  |  |                 String pinyin= PinyinUtils.converterToFirstSpell(udiProductEntity.getCpmctymc()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                }catch (Exception e){ |  |  |  |                 udiProductEntity.setPinyinInitial(pinyin); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                    logger.error(ExceptionUtils.getStackTrace(e)); |  |  |  |             }catch (Exception e){ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                    e.printStackTrace(); |  |  |  |                 logger.error(ExceptionUtils.getStackTrace(e)); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                } |  |  |  |                 e.printStackTrace(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         return udiProductDao.insertUdiInfo(udiProductEntity); |  |  |  |         return udiProductDao.insertUdiInfo(udiProductEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |