diff --git a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java index 0de046018..c8ddb5ea3 100644 --- a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java +++ b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java @@ -14,32 +14,36 @@ public interface ThirdZyIdDictMapper extends PjcloudBaseMapper getBySelfIds(ThirdZyBizEnumType type, List selfIds) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(selfIds)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .in(ObjectUtil.isNotEmpty(selfIds), ThirdZyIdDictEntity::getSelfId, selfIds) + .in(ThirdZyIdDictEntity::getSelfId, selfIds) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectList(wrapper); } default ThirdZyIdDictEntity getBySelfId(ThirdZyBizEnumType type, String selfId) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(selfId)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .eq(ObjectUtil.isNotEmpty(selfId), ThirdZyIdDictEntity::getSelfId, selfId) + .eq(ThirdZyIdDictEntity::getSelfId, selfId) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectOne(wrapper); } default List getByZyIds(ThirdZyBizEnumType type, List zyIds) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(zyIds)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .in(ObjectUtil.isNotEmpty(zyIds), ThirdZyIdDictEntity::getZyId, zyIds) + .in(ThirdZyIdDictEntity::getZyId, zyIds) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectList(wrapper); } default ThirdZyIdDictEntity getByZyIds(ThirdZyBizEnumType type, String zyId) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(zyId)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .eq(ObjectUtil.isNotEmpty(zyId), ThirdZyIdDictEntity::getZyId, zyId) + .eq(ThirdZyIdDictEntity::getZyId, zyId) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectOne(wrapper); }