gdg
2020-12-09 458dba2e9a28227c3371571b0e7916baf9cce0e3
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);