Commit 2d2d6adf by 林冲

AND rule_id = {new_rule_id}需要限制_process_effect_finance

1 parent ceafcccd
......@@ -1580,8 +1580,9 @@ class SceneSplitProcessor:
rule_id, division_rule_id, effect_start_date, effect_end_date,
rule_audit_id, created_by, created_date, updated_by, updated_date
FROM {table_name}
WHERE rule_audit_id = {old_audit_id}
AND deleted_flag = 'N';
WHERE rule_audit_id = {old_audit_id} AND rule_id = {new_rule_id}
AND deleted_flag = 'N'
limit 1;
"""
records = self.db.execute_query(query_sql)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!