Commit c58cbd11 authored by shenxin's avatar shenxin

添加事项清单导入

parent 3b67812e
...@@ -113,12 +113,12 @@ public class SupplementController extends BaseCRUDJsonMappingController<Suppleme ...@@ -113,12 +113,12 @@ public class SupplementController extends BaseCRUDJsonMappingController<Suppleme
if(PushTypeEnum.SYTH.getValue() == type){ if(PushTypeEnum.SYTH.getValue() == type){
EasyExcel.read(file.getInputStream(), ImplementlistEntity.class, new ImplementImportListener(implementlistDao)) EasyExcel.read(file.getInputStream(), ImplementlistEntity.class, new ImplementImportListener(implementlistDao))
.sheet(0) .sheet(0)
.headRowNumber(3) .headRowNumber(1)
.doRead(); .doRead();
}else if(PushTypeEnum.RYB.getValue() == type){ }else if(PushTypeEnum.RYB.getValue() == type){
EasyExcel.read(file.getInputStream(), RybMatterListEntry.class, new RybMatterImportListener(matterDao)) EasyExcel.read(file.getInputStream(), RybMatterListEntry.class, new RybMatterImportListener(matterDao))
.sheet(0) .sheet(0)
.headRowNumber(3) .headRowNumber(1)
.doRead(); .doRead();
} }
respPdu.setCode(200); respPdu.setCode(200);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment