Commit 11f16199 by 林冲

AND rule_id = {new_rule_id}需要限制_process_effect_reconciliation

1 parent 2d2d6adf
......@@ -1689,8 +1689,8 @@ 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!