feat:[REQ-3488] 过滤入参中集合类型中可能有null值的元素
This commit is contained in:
parent
9720d8d8b0
commit
46a70312d2
@ -232,7 +232,7 @@ public class CooperateShipServiceImpl implements CooperateShipService {
|
||||
* @return
|
||||
* @param <T>
|
||||
*/
|
||||
private <T> Collection<T> filterNullValues(Collection<T> collection) {
|
||||
private <C extends Collection<T>, T> C filterNullValues(C collection) {
|
||||
if (CollUtil.isEmpty(collection)) {
|
||||
return collection;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user