lyfO_o
2021-06-25 1b0cec788ca49a6c641f84c2bf0e616049c22e70
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);