"""【已废弃】请用 sync_daily_income_from_log，本命令曾导致重复记账。"""
from django.core.management.base import BaseCommand


class Command(BaseCommand):
    help = '已废弃：勿使用。请改用 python manage.py sync_daily_income_from_log --reset-day'

    def handle(self, *args, **options):
        self.stderr.write(self.style.ERROR(
            'repair_wechat_income 已禁用（会对已入账订单重复加钱）。\n'
            '纠正今日虚高请执行：\n'
            '  python manage.py sync_daily_income_from_log --reset-day\n'
            '可选同时重算累计：\n'
            '  python manage.py sync_daily_income_from_log --reset-day --sync-szjilu'
        ))
