Merge pull request #6943 from dataease/pr@dev@fixSql

fix: API 丢失null字段
This commit is contained in:
taojinlong 2023-11-30 02:25:45 -06:00 committed by GitHub
commit 06409a39d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());
}