Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
dealaccountdata
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2b9f5c00
authored
May 15, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第一个脚本修改 rule_audit_id IS NULL
1 parent
8a3e8e60
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
scene_refactor_data/main_scene_split.py
scene_refactor_data/scene_split_processor.py
scene_refactor_data/main_scene_split.py
View file @
2b9f5c0
...
...
@@ -168,7 +168,7 @@ def main():
9
:
(
'处理自动分账配置表(表13)'
,
processor
.
step9_process_division_rule_auto
),
10
:
(
'处理对账规则主表(表9)'
,
processor
.
step10_process_reconciliation_rule
),
11
:
(
'处理对账分组规则表(表10)及级联'
,
processor
.
step11_process_reconciliation_rule_group
),
12
:
(
'处理审核记录表(表12)'
,
processor
.
step12_process_rule_audit
),
#
12: ('处理审核记录表(表12)', processor.step12_process_rule_audit),
13
:
(
'处理生效记录表(表11)'
,
processor
.
step13_process_effect_record
),
}
...
...
scene_refactor_data/scene_split_processor.py
View file @
2b9f5c0
...
...
@@ -2309,7 +2309,7 @@ class SceneSplitProcessor:
self
.
step13_1_update_existing_base_scene_code
()
# 子步骤 13.2:从审核表补全生效记录(现有逻辑)
self
.
step13_2_sync_from_audit
()
#
self.step13_2_sync_from_audit()
# 子步骤 13.3:从规则表补全未经审核的记录
self
.
step13_3_sync_from_rule_tables
()
...
...
@@ -2421,7 +2421,6 @@ class SceneSplitProcessor:
FROM {table_name}
WHERE rule_id = {old_settle_rule_id}
AND rule_type = 1
AND rule_audit_id IS NULL
ORDER BY updated_date DESC, created_date DESC
LIMIT 1;
"""
...
...
@@ -2573,7 +2572,6 @@ class SceneSplitProcessor:
FROM {table_name}
WHERE rule_id = {old_reconciliation_rule_id}
AND rule_type = 3
AND rule_audit_id IS NULL
ORDER BY updated_date DESC, created_date DESC
LIMIT 1;
"""
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment