Quellcode durchsuchen

台账管理-业内台账
1、工序节点筛选和非工序筛选 添加非空判断

LHB vor 1 Monat
Ursprung
Commit
a5987e01b7

+ 3 - 3
blade-service/blade-business/src/main/java/org/springblade/business/controller/NeiYeController.java

@@ -130,7 +130,7 @@ public class NeiYeController {
                 queryVO.setSelectType(2);
             }
             //有些填报节点的MajorDataType为0
-            if (queryVO.getSelectType() == 1) {
+            if (queryVO.getSelectType() != null && queryVO.getSelectType() == 1) {
                 //非填报节点
                 if (node.getParentId() == 0) {
                     queryDataResult = this.informationQueryService.queryProcessDataByParentIdAndContractIdTwo("", contractType, contractId, queryVO.getDateIsComplete());
@@ -611,7 +611,7 @@ public class NeiYeController {
 
 
     /**
-     * 导出行政区划数据
+     * 导出业内台账
      */
     @PostMapping("export")
     @ApiOperationSupport(order = 11)
@@ -623,7 +623,7 @@ public class NeiYeController {
         //获取数据
         if(iPageR.isSuccess()){
             List<NeiYeLedgerVO> list = iPageR.getData().getRecords();
-            ExcelUtil.export(response, "内台账" + org.springblade.core.tool.utils.DateUtil.time(), "行政区划数据表", list, NeiYeLedgerVO.class);
+            ExcelUtil.export(response, "内台账" + org.springblade.core.tool.utils.DateUtil.time(), "行政区划数据表", list, NeiYeLedgerVO.class);
         }
     }
 }