adjust

FFIB 5 年 前
コミット
97be8af611
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      commands/management/commands/sale.py

+ 2 - 0
commands/management/commands/sale.py

@@ -45,10 +45,12 @@ class Command(CompatibilityBaseCommand):
45 45
                     current_month = 0
46 46
                     last_month = 0
47 47
                     for saleclerk in saleclerks:
48
+                        print saleclerk.clerk_id
48 49
                         log = logs.filter(clerk_id=saleclerk.clerk_id)
49 50
                         yesterday_num += logs.filter(ymd=lastday).count()
50 51
                         current_month += logs.filter(ym=month).count()
51 52
                         last_month += logs.filter(ym=lastmonth).count()
53
+
52 54
                     if m.is_important or (yesterday_num or current_month or last_month):
53 55
                         SalesResponsibilityInfoModelsSaleStatisticInfo.objects.create(
54 56
                             brand_id=b.brand_id,