三元表达式

1

        Object[] params={store==null?null:store.getId()};

Done

原文地址:https://www.cnblogs.com/xingyyy/p/3855013.html