ss="lines-num lines-num-new">
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.11 on 2018-05-08 02:57
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('statistic', '0004_auto_20180426_0952'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='provincesalestatisticinfo',
+ name='province_code',
+ field=models.CharField(db_index=True, help_text='\u7701\u4efd\u7f16\u7801', max_length=6, verbose_name='province_code'),
+ ),
+ migrations.AlterField(
+ model_name='provincesalestatisticinfo',
+ name='province_name',
+ field=models.CharField(blank=True, help_text='\u7701\u4efd\u540d\u79f0', max_length=3, null=True, verbose_name='province_name'),
+ ),
+ ]
@@ -93,8 +93,8 @@ class DistributorSaleStatisticInfo(BaseModelMixin): |
||
| 93 | 93 |
|
| 94 | 94 |
|
| 95 | 95 |
class ProvinceSaleStatisticInfo(BaseModelMixin): |
| 96 |
- province_code = models.CharField(_(u'province_code'), max_length=32, help_text=u'省份编码', db_index=True) |
|
| 97 |
- province_name = models.CharField(_(u'province_name'), max_length=32, blank=True, null=True, help_text=u'省份名称') |
|
| 96 |
+ province_code = models.CharField(_(u'province_code'), max_length=6, help_text=u'省份编码', db_index=True) |
|
| 97 |
+ province_name = models.CharField(_(u'province_name'), max_length=3, blank=True, null=True, help_text=u'省份名称') |
|
| 98 | 98 |
ymd = models.IntegerField(_(u'ymd'), default=0, help_text=u'年月日', db_index=True) # 例:20171208, tc.local_string(format='%Y%m%d'), 0 为全部 |
| 99 | 99 |
num = models.IntegerField(_(u'num'), default=0, help_text=u'数量') |
| 100 | 100 |
|