feat: 不论如何updateAt都需要更新

This commit is contained in:
martsforever
2025-10-14 21:36:22 +08:00
parent 9b110e755f
commit e0cad2d212
@@ -22,7 +22,7 @@ def build_update_sql(module_config, row, param_update_fields=None):
continue continue
if not column['query'].startswith('t1.'): if not column['query'].startswith('t1.'):
continue continue
if param_update_fields is not None and hump_name not in param_update_fields: if hump_name != 'updateAt' and param_update_fields is not None and hump_name not in param_update_fields:
# 如果有指定更新的字段,并且humpName不在这个字段列表中,则不更新这个字段 # 如果有指定更新的字段,并且humpName不在这个字段列表中,则不更新这个字段
continue continue
if hump_name == 'updateAt': if hump_name == 'updateAt':