Explorar o código

客户端首件工程----PDF项目名显示

qianxb %!s(int64=2) %!d(string=hai) anos
pai
achega
dbefcb854f

+ 2 - 2
blade-service/blade-manager/src/main/java/org/springblade/manager/controller/FirstController.java

@@ -250,9 +250,9 @@ public class FirstController extends BladeController {
                                     for (int i = 0; i < columns.length; i++) {
                                         CellRange cellRange = columns[i];
                                         System.out.println(cellRange.getStyle().getFont().getSize());
-                                        if (cellRange.getStyle().getFont().getSize() >= 12 && StringUtils.isNotEmpty(cellRange.getText())) {
+                                        if (cellRange.getStyle().getFont().getSize() > 12 && StringUtils.isBlank(cellRange.getText())) {
                                             cellRange.setText(projectInfo.getProjectName());
-                                            cellRange.getStyle().getFont().setSize(20);
+                                            cellRange.getStyle().getFont().setSize(14);
                                             break;
                                         }
                                     }