【update】数据权限新增null判断

This commit is contained in:
nixj 2024-06-28 16:06:53 +08:00
parent 68f38e8470
commit c0c7365341
1 changed files with 2 additions and 2 deletions

View File

@ -36,13 +36,13 @@ public class BaseUtil {
public List<Long> getOrderIds(){
List<Long> routeIds = getRouteIds();
if (routeIds.isEmpty()) return null;
if (routeIds==null||routeIds.isEmpty()) return null;
return jdbcOrderDetailBasicRepository.findAllOrderId(routeIds);
}
public List<String> getOrderNos(){
List<Long> routeIds = getRouteIds();
if (routeIds.isEmpty()) return null;
if (routeIds==null||routeIds.isEmpty()) return null;
return jdbcOrderDetailBasicRepository.findAllOrderNo(routeIds);
}