das接口修改
This commit is contained in:
parent
b2d872bbdb
commit
6187a866df
@ -85,12 +85,6 @@
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>easyexcel</artifactId>
|
||||
<version>${easyexcel.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
@ -135,10 +135,6 @@ public class EquipmentController {
|
||||
/** 设备导出 */
|
||||
@PostMapping("/export")
|
||||
public void exportSysEquipment(@RequestBody SysEquipmentDto sysEquipmentDto, HttpServletRequest request, HttpServletResponse response) {
|
||||
|
||||
if (sysEquipmentDto.getParentEquipmentId() == null) {
|
||||
throw new ServiceException("请选择需要下载的设备类型信息");
|
||||
}
|
||||
sysEquipmentService.exportSysEquipment(sysEquipmentDto,request, response);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user