@@ -32,7 +32,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoMapper, TenantI
*/
@Override
public TenantInfo detail(Long id) {
- if (id == null && id == -1) {
+ if (id == null || id == -1) {
return null;
}