【update】数据权限新增null判断
This commit is contained in:
parent
68f38e8470
commit
c0c7365341
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue