5fa058add9
fix: correct indentation in leg_accounting credit limit block
...
Two bugs fixed:
1. FATAL: lines 213-278 were indented inside the 'if new_balance < 0' block,
causing all normal (positive balance) accounting operations to be skipped.
All post-credit-check code now correctly at method body level (2 tabs).
2. LOGIC: added else clause to reset used_credit to 0 when balance returns
to non-negative (e.g. after recharge). Previously used_credit stayed
stale after account recovered from overdraft.
2026-05-28 23:05:23 +08:00
9696d4334b
feat: 添加信用额度功能
...
- 新增 credit_limit 表定义和DDL
- 修改 accounting_config.py 支持信用额度透支检查
- 新增 creditlimit.py 信用额度管理模块
- 新增信用额度管理界面和CRUD API
- 支持设置/查询/更新客户信用额度
2026-05-28 19:09:04 +08:00
5670126a8e
bugfix
2026-04-14 11:47:32 +08:00
e6002ec4a0
bugfix
2026-04-14 11:40:51 +08:00
23f1e62024
bugfix
2026-04-14 11:26:27 +08:00
dfd16e9a7b
bugfix
2026-04-14 11:25:42 +08:00
afef7fb9fc
bugifx
2026-04-14 11:21:38 +08:00
a833fa6790
bugfix
2026-04-14 10:56:02 +08:00
cc8cb54a8a
bugfix
2026-04-10 22:40:52 +08:00
ac4784bd74
bugfix
2026-04-10 21:59:52 +08:00
9d0ef3ba83
bugfix
2026-04-10 21:58:36 +08:00
8613abf6c0
bugfix
2026-04-10 20:45:55 +08:00
905ac8a392
Merge branch 'main' of git.opencomputing.cn:yumoqing/accounting
2026-03-31 13:43:43 +08:00
5a3b7489c0
bugfix
2026-03-31 13:43:21 +08:00
0a01dd9e69
bugfix
2026-03-30 17:16:47 +08:00
3dec5e2601
bugfix
2026-03-30 14:11:19 +08:00
a302540a7a
bugfix
2026-03-30 13:34:53 +08:00
b9fd12d043
bugfix
2026-02-12 15:07:28 +08:00
32c5fa8662
bugfix
2026-02-12 15:01:30 +08:00
dadcced995
bugfix
2026-02-12 14:33:00 +08:00
0ed1678a0f
bugfix
2026-02-12 14:31:24 +08:00
0d8440390c
bugfix
2026-02-12 14:16:28 +08:00
9c98265898
bugfix
2026-01-29 17:49:00 +08:00
85b4f7f4ac
bugfix
2026-01-06 14:08:24 +08:00
657a901a5d
bugfix
2026-01-06 14:05:23 +08:00
5484b14f46
bugfix
2026-01-06 14:02:23 +08:00
a78eae8664
bugfix
2026-01-05 17:39:55 +08:00
99a592fb54
bugfix
2026-01-05 15:02:52 +08:00
eb01315309
bugfix
2026-01-04 17:23:09 +08:00
69ce45570f
bugfix
2026-01-04 17:21:05 +08:00
709664b363
bugfix
2026-01-04 17:19:11 +08:00
45ea640ca1
bugfix
2026-01-04 16:22:36 +08:00
76d2a78524
bugfix
2026-01-04 16:16:38 +08:00
eafa56eca7
bugfix
2026-01-04 16:13:48 +08:00
yumoqing
5f5ddcd09a
bugfix
2025-12-27 12:05:06 +08:00
yumoqing
0175d4181b
bugfix
2025-12-27 12:00:13 +08:00
yumoqing
b55a87c528
bugfix
2025-12-27 11:49:37 +08:00
yumoqing
e027352f39
bugfix
2025-12-27 11:45:25 +08:00
13e7ae95d6
bugfix
2025-12-26 18:26:01 +08:00
671e40bac2
bugfix
2025-12-16 13:54:59 +08:00
46e134d0d3
bugfix
2025-12-16 13:47:51 +08:00
996a8821e4
bugfix
2025-12-15 14:44:54 +08:00
6faf88b224
first commit
2025-07-16 14:32:14 +08:00