Commit e86462bf by 墨竹

feat:空判断

parent c0f703f9
......@@ -909,7 +909,7 @@ public class StaffApiServiceImpl implements StaffApiService {
@Override
public List<StaffDTO> listByUserIdsAndWxEnterpriseId(List<String> userIds, String wxEnterpriseId) {
List<StaffDTO> list = staffService.listByUserIdsAndWxEnterpriseId(userIds, wxEnterpriseId);
if (list == null) {
if (CollectionUtils.isEmpty(list)) {
return Collections.EMPTY_LIST;
}
for (StaffDTO staffDTO : list) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment