fix: API 丢失null字段

This commit is contained in:
taojinlong 2023-11-30 16:24:47 +08:00
parent 3e8e910c25
commit a18015dbbd

View File

@ -56,7 +56,6 @@ public class DriverMgmController {
@ApiOperation("驱动列表")
@GetMapping("/list/{type}")
public List<DriverDTO> listDeDriver(@PathVariable String type) throws Exception{
checkPermission();
return listDeDriver().stream().filter(driverDTO -> driverDTO.getType().equalsIgnoreCase(type)).collect(Collectors.toList());
}