style: 调整代码风格 null == xx => xx == null(更符合大众风格)

This commit is contained in:
2025-06-01 11:13:03 +08:00
parent 5f9f3e1035
commit 385085826f
9 changed files with 14 additions and 14 deletions

View File

@@ -119,7 +119,7 @@ public class GeneratorServiceImpl implements GeneratorService {
@Override
public GenConfigDO getGenConfig(String tableName) throws SQLException {
GenConfigDO genConfig = genConfigMapper.selectById(tableName);
if (null == genConfig) {
if (genConfig == null) {
genConfig = new GenConfigDO(tableName);
// 默认包名(当前包名)
String packageName = ClassUtil.getPackage(GeneratorService.class);