李宇
2021-02-03 47d109955e0e8592b83f01142c3188632280d745
src/main/java/com/nanometer/smartlab/controller/SupplierInfoMngController.java
@@ -142,6 +142,16 @@
        return dataModel;
    }
    public void export2Excel(){
        List<Map> list = sysSupplierService.exportExcelList(name);
        try{
            sysSupplierService.export2Excel(list);
        }catch (Exception e){
            e.printStackTrace();
            FacesUtils.warn("导出失败");
        }
    }
    public void uploadSupplier(FileUploadEvent event){
        try {
            sysSupplierService.importSupplier(event);