【fix sonar】ImportExcelUtil文件

This commit is contained in:
梁琦涛
2023-03-09 17:55:41 +08:00
parent 81f0708ade
commit d482e2bfb4
2 changed files with 2 additions and 3 deletions
@@ -424,7 +424,7 @@ public class SysDepartController {
query.orderByAsc(SysDepart::getOrgCode);
if(oConvertUtils.isNotEmpty(id)){
String[] arr = id.split(",");
query.in(SysDepart::getId,arr);
query.in(SysDepart::getId,Arrays.asList(arr));
}
List<SysDepart> ls = this.sysDepartService.list(query);
return Result.OK(ls);