|  |  | 
 |  |  | import com.dy.common.webUtil.ResultCodeMsg; | 
 |  |  | import com.dy.pipIrrGlobal.pojoUg.UgRtuTask; | 
 |  |  | import com.dy.pipIrrGlobal.voUg.VoUgResult; | 
 |  |  | import com.dy.pipIrrGlobal.voUg.VoUgRtuResult; | 
 |  |  | import io.swagger.v3.oas.annotations.Operation; | 
 |  |  | import io.swagger.v3.oas.annotations.media.Content; | 
 |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
 |  |  | 
 |  |  |         setExcelRespProp(response, "升级结果列表"); | 
 |  |  |         List<VoUgResult> rsList = this.sv.selectAll(vo); | 
 |  |  |         EasyExcel.write(response.getOutputStream()) | 
 |  |  |                 .head(VoUgRtuResult.class) | 
 |  |  |                 .head(VoUgResult.class) | 
 |  |  |                 .excelType(ExcelTypeEnum.XLSX) | 
 |  |  |                 .sheet("升级结果列表") | 
 |  |  |                 .doWrite(rsList); |