Forráskód Böngészése

[性能验证]添加Excel报告文件下载

Li Yuan 2 éve
szülő
commit
03f50cc8ac
12 módosított fájl, 291 hozzáadás és 74 törlés
  1. 4 0
      ibps-component-root/modules/comp-poi/src/main/java/com/lc/ibps/components/poi/excel/export/ExcelExportServer.java
  2. 96 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVExcelExportReportServer.java
  3. 65 8
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVExcelExportStyler.java
  4. 5 1
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVExcelUtil.java
  5. 29 13
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVTest.java
  6. 8 9
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/funcs/xValue.java
  7. 5 4
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/ExcelSheetRecord.java
  8. 17 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/FunctionEnum.java
  9. 10 0
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/InspectionConfigVO.java
  10. 14 1
      ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/InspectionItemVO.java
  11. 2 2
      ibps-provider-root/modules/provider-business/src/main/resources/conf/dataSource-dev.xml
  12. 36 36
      ibps-provider-root/modules/provider-business/src/main/resources/config/log4j2.yml

+ 4 - 0
ibps-component-root/modules/comp-poi/src/main/java/com/lc/ibps/components/poi/excel/export/ExcelExportServer.java

@@ -198,6 +198,7 @@ public class ExcelExportServer extends ExcelExportBase {
             } else {
                 // 创建合计信息
                 addStatisticsRow(getExcelExportStyler().getStyles(true, null), sheet);
+                postHanderSheet(sheet,dataSet);
             }
 
         } catch (Exception e) {
@@ -206,6 +207,9 @@ public class ExcelExportServer extends ExcelExportBase {
         }
     }
 
+    protected void postHanderSheet(Sheet sheet,Collection<?> dataSet) {
+    }
+
     /**
      * 创建表头
      * 

+ 96 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVExcelExportReportServer.java

@@ -1,6 +1,102 @@
 package com.lc.ibps.components.verification.excel;
 
+import com.lc.ibps.components.poi.excel.entity.params.ExcelExportEntity;
 import com.lc.ibps.components.poi.excel.export.ExcelExportServer;
+import com.lc.ibps.components.poi.util.PoiMergeCellUtil;
+import com.lc.ibps.components.verification.model.FunctionEnum;
+import com.lc.ibps.components.verification.model.InspectionItemVO;
+import com.lc.ibps.components.verification.model.RecordCalcVO;
+import org.apache.poi.ss.usermodel.CellStyle;
+import org.apache.poi.ss.usermodel.Row;
+import org.apache.poi.ss.usermodel.Sheet;
+import org.apache.poi.ss.util.CellRangeAddress;
+
+import java.util.Collection;
+import java.util.Set;
 
 public class PVExcelExportReportServer extends ExcelExportServer {
+    private InspectionItemVO item;
+
+    public void postHanderSheet(Sheet sheet, Collection<?> dataSet) {
+        ExcelExportEntity entity = new ExcelExportEntity("公式计算", "statistic");
+
+        Row row = sheet.createRow(sheet.getLastRowNum() + 1);
+        row.setHeight((short) (entity.getHeight() * 50));
+        int index = 0;
+        for (FunctionEnum func : item.getConfig().getFunc()) {
+            row = sheet.createRow(sheet.getLastRowNum() + 1);
+            row.setHeight((short) (entity.getHeight() * 50));
+            index = 0;
+            if (item.getConfig().isConvert()) {
+                sheet.addMergedRegion(new CellRangeAddress(row.getRowNum(), row.getRowNum(), index,
+                        index + 1));
+            }
+            entity.setKey("statistic");
+            createStringCell(row, index++, func.getText(), getStyles(false, entity), null);
+            createStringCell(row, index++, "", getStyles(false, entity), null);
+            for (int i = 0; i < item.getConfig().getSpecimensNum(); i++) {
+                String s = item.getConfig().getSpecimensName()[i];
+                RecordCalcVO recordCalcVO = item.getRecord().get(s);
+                sheet.addMergedRegion(new CellRangeAddress(row.getRowNum(), row.getRowNum(), index,
+                        index + 1));
+                entity.setKey(getCellStyle(func));
+                createStringCell(row, index++, getCalcValue(func, recordCalcVO), getStyles(false, entity), null);
+                createStringCell(row, index++, "0", getStyles(false, entity), null);
+
+            }
+        }
+//        row = sheet.createRow(sheet.getLastRowNum() + 1);
+//        row.setHeight((short) (entity.getHeight() * 50));
+        entity.setKey("statistic");
+        sheet.addMergedRegion(new CellRangeAddress(row.getRowNum() + 1, row.getRowNum() + 3, 0,
+                1));
+        sheet.addMergedRegion(new CellRangeAddress(row.getRowNum() + 1, row.getRowNum() + 3, 2,
+                index - 1));
+        for (int i = 0; i < 3; i++) {
+            row = sheet.createRow(sheet.getLastRowNum() + 1);
+            row.setHeight((short) (entity.getHeight() * 50));
+            createStringCell(row, 0, "结论", getStyles(false, entity), null);
+            createStringCell(row, 1, "", getStyles(false, entity), null);
+            createStringCell(row, 2, "PASS", getStyles(false, entity), null);
+            for (int j = 3; j < index; j++) createStringCell(row, j, "", getStyles(false, entity), null);
+        }
+
+
+//        createStringCell(row, 0, "结论", getStyles(false, entity), null);
+    }
+
+    public String getCalcValue(FunctionEnum func, RecordCalcVO recordCalcVO) {
+        switch (func) {
+            case CV:
+                return recordCalcVO.getCv().getStr();
+            case SD:
+                return recordCalcVO.getSd().getStr();
+            case AVERAGE:
+                return recordCalcVO.getAverage().getStr();
+            default:
+                return "";
+        }
+    }
+
+    public String getCellStyle(FunctionEnum func) {
+        switch (func) {
+            case CV:
+                return "statistic-percent";
+            case SD:
+                return "statistic-double";
+            case AVERAGE:
+                return "statistic-double";
+            default:
+                return "";
+        }
+    }
+
+
+    public InspectionItemVO getItem() {
+        return item;
+    }
+
+    public void setItem(InspectionItemVO item) {
+        this.item = item;
+    }
 }

+ 65 - 8
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVExcelExportStyler.java

@@ -6,20 +6,79 @@ import org.apache.poi.ss.usermodel.*;
 
 public class PVExcelExportStyler extends ExcelExportStylerBorderImpl {
 
-    protected CellStyle          keyNumberStyle;
-    private short i =8;
+    protected CellStyle inputNumberStyle;
+    protected CellStyle scientificNotationNumberStyle;
+    protected CellStyle doubleNumberStyle;
+    protected CellStyle statisticNumberStyle;
+
+    protected CellStyle statisticDoubleNumberStyle;
+
+    protected  CellStyle statisticPercentNumberStyle;
+
     public PVExcelExportStyler(Workbook workbook) {
         super(workbook);
-        keyNumberStyle = keyNumberStyle(workbook);
+        inputNumberStyle = inputNumberStyle(workbook);
+        scientificNotationNumberStyle = scientificNotationNumberStyle(workbook);
+        doubleNumberStyle = doubleNumberStyle(workbook);
+        statisticNumberStyle = statisticNumberStyle(workbook);
+        statisticDoubleNumberStyle = statisticDoubleNumberStyle(workbook);
+        statisticPercentNumberStyle = statisticPercentNumberStyle(workbook);
     }
+
+
+
     public CellStyle getStyles(boolean noneStyler, ExcelExportEntity entity) {
-        if(entity != null && "input".equals(entity.getKey())) {
-            return keyNumberStyle;
+        if(entity != null  ) {
+            if("input".equals(entity.getKey()))   return inputNumberStyle;
+            if("value".equals(entity.getKey())) return scientificNotationNumberStyle;
+            if("log".equals(entity.getKey())) return doubleNumberStyle;
+            if("statistic".equals(entity.getKey())) return statisticNumberStyle;
+            if("statistic-double".equals(entity.getKey())) return statisticDoubleNumberStyle;
+            if("statistic-percent".equals(entity.getKey())) return statisticPercentNumberStyle;
         }
         return super.getStyles(noneStyler, entity);
     }
 
-    public CellStyle keyNumberStyle(Workbook workbook) {
+    public CellStyle inputNumberStyle(Workbook workbook) {
+        CellStyle style = createCellStyle(workbook);
+        style.setDataFormat((short) BuiltinFormats.getBuiltinFormat("General"));
+        style.setFillForegroundColor(IndexedColors.LEMON_CHIFFON.getIndex());
+        style.setFillPattern(FillPatternType.SOLID_FOREGROUND);
+        return style;
+    }
+
+    public CellStyle scientificNotationNumberStyle(Workbook workbook) {
+        CellStyle style = createCellStyle(workbook);
+        style.setDataFormat((short) BuiltinFormats.getBuiltinFormat("0.00E+00"));
+        return style;
+    }
+
+    public CellStyle doubleNumberStyle(Workbook workbook) {
+        CellStyle style = createCellStyle(workbook);
+        style.setDataFormat((short) BuiltinFormats.getBuiltinFormat("0.00"));
+        return style;
+    }
+
+    private CellStyle statisticNumberStyle(Workbook workbook) {
+        CellStyle style = createCellStyle(workbook);
+        style.setFillForegroundColor(IndexedColors.LEMON_CHIFFON.getIndex());
+        style.setFillPattern(FillPatternType.SOLID_FOREGROUND);
+        return style;
+    }
+
+    private CellStyle statisticPercentNumberStyle(Workbook workbook) {
+        CellStyle style = statisticNumberStyle(workbook);
+        style.setDataFormat((short) BuiltinFormats.getBuiltinFormat("0.00%"));
+        return style;
+    }
+
+    private CellStyle statisticDoubleNumberStyle(Workbook workbook) {
+        CellStyle style = statisticNumberStyle(workbook);
+        style.setDataFormat((short) BuiltinFormats.getBuiltinFormat("0.00"));
+        return style;
+    }
+
+    private  CellStyle createCellStyle(Workbook workbook){
         CellStyle style = workbook.createCellStyle();
         style.setBorderLeft(BorderStyle.THIN); // 左边框
         style.setBorderRight(BorderStyle.THIN); // 右边框
@@ -28,8 +87,6 @@ public class PVExcelExportStyler extends ExcelExportStylerBorderImpl {
         style.setAlignment(HorizontalAlignment.CENTER);
         style.setVerticalAlignment(VerticalAlignment.CENTER);
         style.setDataFormat(STRING_FORMAT);
-        style.setFillForegroundColor(IndexedColors.LEMON_CHIFFON.getIndex());
-        style.setFillPattern(FillPatternType.SOLID_FOREGROUND);
         return style;
     }
 }

+ 5 - 1
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVExcelUtil.java

@@ -7,6 +7,7 @@ import com.lc.ibps.components.poi.excel.entity.params.ExcelExportEntity;
 import com.lc.ibps.components.poi.excel.entity.result.ExcelImportResult;
 import com.lc.ibps.components.poi.excel.export.ExcelExportServer;
 import com.lc.ibps.components.poi.exception.excel.ExcelImportException;
+import com.lc.ibps.components.verification.model.InspectionItemVO;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.usermodel.*;
 import org.apache.poi.util.IOUtils;
@@ -54,9 +55,12 @@ public class PVExcelUtil {
             workbook = new XSSFWorkbook();
         }
         for (Map<String, Object> map : list) {
-            ExcelExportServer server = new PVExcelExportReportServer();
+            PVExcelExportReportServer server = new PVExcelExportReportServer();
+            server.setItem((InspectionItemVO) map.get("item"));
             server.createSheetForMap(workbook, (ExportParams) map.get("params"),
                     (List<ExcelExportEntity>) map.get("entity"), (Collection<?>) map.get("data"));
+
+
         }
         return workbook;
     }

+ 29 - 13
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/excel/PVTest.java

@@ -1,6 +1,7 @@
 package com.lc.ibps.components.verification.excel;
 
 import com.lc.ibps.components.poi.util.PoiPublicUtil;
+import com.lc.ibps.components.verification.model.FunctionEnum;
 import com.lc.ibps.components.verification.model.InspectionConfigVO;
 import com.lc.ibps.components.verification.model.InspectionItemVO;
 import com.lc.ibps.components.verification.model.InspectionVO;
@@ -14,16 +15,15 @@ import java.util.*;
 public class PVTest {
 
     @Test
-    public void mapTest() throws FileNotFoundException {
+    public void testExcelImport() throws FileNotFoundException {
 
+        InspectionConfigVO config = new InspectionConfigVO("批内精密度",1,2,
+                new String[]{"高溶度(R1)","低浓度(R2)"},10, LocalDate.now(),true);
+        InspectionItemVO item = new InspectionItemVO(config);
 
-        long start = new Date().getTime();
-        File file = new File(PoiPublicUtil.getWebRootPath("Excel1.xlsx"));
+        File file = new File(String.format("C:/tmp/%s.xlsx",config.getName()));
         FileInputStream in = new FileInputStream(file);
 
-        InspectionConfigVO config = new InspectionConfigVO("批间精密度",5,2,
-                new String[]{"高溶度(R1)","低浓度(R2)"},10, LocalDate.now(),true);
-        InspectionItemVO item = new InspectionItemVO(config);
         item.importExcelRecord(in);
 
         System.out.println(item);
@@ -34,30 +34,46 @@ public class PVTest {
 
     @Test
     public void testExcelTemplateExport() throws IOException {
-        InspectionConfigVO config = new InspectionConfigVO("批间精密度",5,2,
-                new String[]{"高溶度(R1)","低浓度(R2)"},10, LocalDate.now(),true);
+//        InspectionConfigVO config = new InspectionConfigVO("批内精密度",1,2,
+//                new String[]{"高溶度(R1)","低浓度(R2)"},10, LocalDate.now(),true);
+
+        InspectionConfigVO config = new InspectionConfigVO("正确度",5,2,
+                new String[]{"L2","L4"},2, LocalDate.now(),true);
+
         InspectionItemVO item = new InspectionItemVO(config);
         Workbook workbook = item.exportExcelTemplate();
-        FileOutputStream fos = new FileOutputStream(String.format("D:/excel/%s.xlsx",config.getName()));
+        FileOutputStream fos = new FileOutputStream(String.format("C:/tmp/%s.xlsx",config.getName()));
         workbook.write(fos);
         fos.close();
     }
 
     @Test
     public void testExcelReportExport() throws IOException {
-        File file = new File(PoiPublicUtil.getWebRootPath("Excel1.xlsx"));
-        FileInputStream in = new FileInputStream(file);
 
+        //批间精密度
         InspectionConfigVO config = new InspectionConfigVO("批间精密度",5,2,
-                new String[]{"高溶度(R1)","低浓度(R2)"},10, LocalDate.now(),true);
+                new String[]{"高溶度(R1)","低浓度(R2)"},3, LocalDate.now(),true);
+        config.setFunc(new FunctionEnum[]{FunctionEnum.AVERAGE,FunctionEnum.SD,FunctionEnum.CV});
         InspectionItemVO item = new InspectionItemVO(config);
+        File file = new File(String.format("C:/tmp/%sdata.xlsx",config.getName()));
+        FileInputStream in = new FileInputStream(file);
         item.importExcelRecord(in);
+        //批内精密度
+        InspectionConfigVO config2 = new InspectionConfigVO("批内精密度",1,2,
+                new String[]{"高溶度(R1)","低浓度(R2)"},10, LocalDate.now(),true);
+        config2.setFunc(new FunctionEnum[]{FunctionEnum.AVERAGE,FunctionEnum.SD,FunctionEnum.CV});
+        InspectionItemVO item2 = new InspectionItemVO(config2);
+        File file2 = new File(String.format("C:/tmp/%sdata.xlsx",config2.getName()));
+        FileInputStream in2 = new FileInputStream(file2);
+        item2.importExcelRecord(in2);
 
         InspectionVO vo = new InspectionVO();
         vo.setName("TEST");
         vo.getItem().add(item);
+        vo.getItem().add(item2);
+
         final Workbook workbook = vo.exportExcelReport();
-        FileOutputStream fos = new FileOutputStream(String.format("D:/excel/%s.xlsx",vo.getName()));
+        FileOutputStream fos = new FileOutputStream(String.format("C:/tmp/%s.xlsx",vo.getName()));
         workbook.write(fos);
         fos.close();
 

+ 8 - 9
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/funcs/xValue.java

@@ -40,18 +40,17 @@ public class xValue implements Serializable {
 
     //============SET METHOD SECTION============
     public xValue(){}
-    public xValue(String valObj) {
-        if(StringUtils.isNotBlank(valObj)){
-            this.iType = iSTRING;
-            this.valObj = valObj;
+    public xValue(Object valObj) {
+        if(valObj != null) {
+            if (valObj instanceof Number) {
+                this.iType = iDOUBLE;
+                this.valDoub = ((Number) valObj).doubleValue();
+            }
+            setValFormat(valObj.toString());
         }
-
-
     }
     public xValue(double valDoub) {
-        this.iType = iDOUBLE;
-        this.valObj = valDoub;
-        this.valDoub = valDoub;
+        setVal(valDoub);
     }
 
     /**

+ 5 - 4
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/ExcelSheetRecord.java

@@ -42,15 +42,16 @@ public class ExcelSheetRecord {
         this.convertedData = convertedData;
     }
 
-    public void convert(InspectionConfigVO config){
+    public void convert(InspectionConfigVO config) {
         convertedData = new HashMap<>();
         for (String sName : config.getSpecimensName()) {
-            convertedData.put(sName,new xValue[config.getRepeatNum()]);
+            convertedData.put(sName, new xValue[config.getRepeatNum()]);
         }
         for (int i = 0; i < data.size(); i++) {
-             Map<String,String> map = data.get(i);
+            Map<String, Object> map = data.get(i);
             for (String sName : config.getSpecimensName()) {
-                String val = map.get(sName + "_" + InspectionItemVO.DISPLAY_VALUE);
+                Object val = map.get(sName + "_" + InspectionItemVO.DISPLAY_VALUE);
+
                 convertedData.get(sName)[i] = new xValue(val);
             }
         }

+ 17 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/FunctionEnum.java

@@ -0,0 +1,17 @@
+package com.lc.ibps.components.verification.model;
+
+public enum FunctionEnum {
+    SD("SD值"),
+    AVERAGE("均值"),
+    CV("CV值");
+    private String text;
+
+
+    FunctionEnum(String text) {
+        this.text = text;
+    }
+
+    public String getText() {
+        return text;
+    }
+}

+ 10 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/InspectionConfigVO.java

@@ -18,6 +18,8 @@ public class InspectionConfigVO {
     //是否需要数据转换(对数)
     private boolean isConvert = false;
 
+    private FunctionEnum[] func;
+
     public InspectionConfigVO(String name, int days, int specimensNum, String[] specimensName,
                               int repeatNum, LocalDate startDate,boolean isConvert) {
         this.name = name;
@@ -87,4 +89,12 @@ public class InspectionConfigVO {
     public void setConvert(boolean convert) {
         isConvert = convert;
     }
+
+    public FunctionEnum[] getFunc() {
+        return func;
+    }
+
+    public void setFunc(FunctionEnum[] func) {
+        this.func = func;
+    }
 }

+ 14 - 1
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/verification/model/InspectionItemVO.java

@@ -12,6 +12,7 @@ import com.lc.ibps.components.verification.funcs.xValue;
 import org.apache.poi.ss.usermodel.Workbook;
 
 import java.io.InputStream;
+import java.text.DecimalFormat;
 import java.time.LocalDate;
 import java.util.*;
 
@@ -125,7 +126,10 @@ public class InspectionItemVO {
                     List<Map<String, Object>> sItem = new ArrayList<>();
                     final RecordCalcVO recordCalcVO = record.get(config.getSpecimensName()[k]);
                     Map<String, Object> sValue = new HashMap<>();
-                    sValue.put("value", recordCalcVO.getData()[i * config.getRepeatNum() + j].getDoub());
+                    double d = recordCalcVO.getData()[i * config.getRepeatNum() + j].getDoub();
+//                    DecimalFormat decimalFormat=new DecimalFormat("0.##E0");//格式化设置
+//                    String s = decimalFormat.format(d);
+                    sValue.put("value", d);
                     if (config.isConvert()) {
                         sValue.put("log", recordCalcVO.getConvertedData()[i * config.getRepeatNum() + j].getDoub());
                     }
@@ -137,6 +141,7 @@ public class InspectionItemVO {
             date = date.plusDays(1);
         }
         map.put("data", data);
+        map.put("item",this);
 
         return map;
     }
@@ -173,4 +178,12 @@ public class InspectionItemVO {
     public void setRecord(Map<String, RecordCalcVO> record) {
         this.record = record;
     }
+
+    public InspectionConfigVO getConfig() {
+        return config;
+    }
+
+    public void setConfig(InspectionConfigVO config) {
+        this.config = config;
+    }
 }

+ 2 - 2
ibps-provider-root/modules/provider-business/src/main/resources/conf/dataSource-dev.xml

@@ -7,9 +7,9 @@
     <!-- dev下使用该链接 -->
  	<dbType>mysql</dbType>
   	<driver>com.mysql.jdbc.Driver</driver>
-    <driverUrl>jdbc:mysql://119.23.210.103:3306/klims-ibps3?useUnicode=true&amp;characterEncoding=utf-8</driverUrl>
+    <driverUrl>jdbc:mysql://dev1.local:3306/klims-ibps3?useUnicode=true&amp;characterEncoding=utf-8</driverUrl>
     <user>root</user>
-    <password>!$%^QWER</password>
+    <password>test001</password>
 
     <!-- 本机VM 192.168.22.3 -->
 <!--    <driverUrl>jdbc:mysql://192.168.22.3:3306/klims-ibps3?useUnicode=true&amp;characterEncoding=utf-8</driverUrl>-->

+ 36 - 36
ibps-provider-root/modules/provider-business/src/main/resources/config/log4j2.yml

@@ -1,12 +1,12 @@
 # 共有8个级别,按照从低到高为:ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < OFF
 Configuration:
-  status: WARN
+  status: INFO
   monitorInterval: 30
   properties: # 定义全局变量
     property: # 缺省配置(用于开发环境)。其他环境需要在VM参数中指定,如下:
-      # jvm参数:-Dlog.level.console=WARN
+      # jvm参数:-Dlog.level.console=INFO
       - name: log.level.console
-        value: WARN
+        value: INFO
       - name: log.path
         value: ./logs
       - name: project.name
@@ -36,7 +36,7 @@ Configuration:
         Filters:
           #        一定要先去除不接受的日志级别,然后获取需要接受的日志级别
           ThresholdFilter:
-            - level: WARN
+            - level: INFO
               onMatch: ACCEPT
               onMismatch: DENY
         Policies:
@@ -49,7 +49,7 @@ Configuration:
           max: 100
   Loggers:
     AsyncRoot:
-      level: WARN
+      level: INFO
       includeLocation: true
       AppenderRef:
         - ref: CONSOLE_LOG
@@ -58,217 +58,217 @@ Configuration:
       - name: org
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: org.eclipse
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: org.quartz
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: org.springframework
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: io.swagger.models.parameters.AbstractSerializableParameter
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: org.activiti
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: org.apache
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: org.apache.ibatis
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: java.sql
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: java.sql.Statement
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: java.sql.PreparedStatement
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: springfox
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: freemarker
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: pres.lnk.springframework
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: cn
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.cloud.filter
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.base.core.util.string
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.saas.base.db.tenant.spi
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.cloud.bootstrap.IbpsApplication
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.common
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.auth
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.socket
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.register
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.org
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.base.bo
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.form
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.components.codegen
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.bpmn
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE
       - name: com.lc.ibps.office
         additivity: false
         includeLocation: true
-        level: WARN
+        level: INFO
         AppenderRef:
         - ref: CONSOLE_LOG
         - ref: ROLLING_FILE