优化导出对象的子列表判断条件
This commit is contained in:
		
							parent
							
								
									1cd2eef899
								
							
						
					
					
						commit
						af7d0a3409
					
				@ -993,7 +993,7 @@ public class ExcelUtil<T>
 | 
			
		||||
            {
 | 
			
		||||
                // 创建cell
 | 
			
		||||
                cell = row.createCell(column);
 | 
			
		||||
                if (isSubListValue(vo) && attr.needMerge())
 | 
			
		||||
                if (isSubListValue(vo) && getListCellValue(vo).size() > 1 && attr.needMerge())
 | 
			
		||||
                {
 | 
			
		||||
                    CellRangeAddress cellAddress = new CellRangeAddress(subMergedFirstRowNum, subMergedLastRowNum, column, column);
 | 
			
		||||
                    sheet.addMergedRegion(cellAddress);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user