Skip to content

Commit

Permalink
学习资料调整
Browse files Browse the repository at this point in the history
  • Loading branch information
igoryang committed Sep 3, 2017
1 parent 48092c8 commit 6deef07
Show file tree
Hide file tree
Showing 11 changed files with 94 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ c:\Python27\python.exe manage.py migrate
c:\Python27\python.exe manage.py runnserver 0.0.0.0 8001

admin-django startproject -->manage.py startapp startproject


92 changes: 92 additions & 0 deletions order/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
]

operations = [
migrations.CreateModel(
name='ci_order',
fields=[
('order_id', models.AutoField(max_length=11, serialize=False, verbose_name=b'ID', primary_key=True)),
('order_number', models.CharField(max_length=255, verbose_name=b'\xe8\xae\xa2\xe5\x8d\x95\xe7\xbc\x96\xe7\xa0\x81')),
('order_customer', models.CharField(max_length=50, null=True, verbose_name=b'\xe5\xae\xa2\xe6\x88\xb7', blank=True)),
('order_type', models.CharField(max_length=5, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x93\x81\xe7\xb1\xbb\xe5\x9e\x8b', blank=True)),
('order_brand', models.CharField(max_length=50, null=True, verbose_name=b'\xe5\x93\x81\xe7\x89\x8c', blank=True)),
('order_model', models.CharField(max_length=50, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x93\x81\xe5\x9e\x8b\xe5\x8f\xb7', blank=True)),
('order_quantity', models.IntegerField(max_length=11, verbose_name=b'\xe8\xae\xa2\xe5\x8d\x95\xe6\x95\xb0\xe9\x87\x8f')),
('order_unitprice', models.IntegerField(max_length=1, null=True, verbose_name=b'\xe8\xae\xa2\xe5\x8d\x95\xe5\x8d\x95\xe4\xbb\xb7', blank=True)),
('order_owner', models.CharField(max_length=50, null=True, verbose_name=b'\xe4\xb8\x9a\xe5\x8a\xa1\xe5\x91\x98', blank=True)),
('order_createdtime', models.DateTimeField(default=-28800, verbose_name=b'\xe4\xb8\x8b\xe5\x8d\x95\xe6\x97\xb6\xe9\x97\xb4')),
('order_delivertime', models.DateTimeField(auto_now_add=True, verbose_name=b'\xe4\xba\xa4\xe4\xbb\x98\xe6\x97\xb6\xe9\x97\xb4')),
('update_time', models.DateTimeField(auto_now=True, verbose_name=b'\xe6\x9b\xb4\xe6\x96\xb0\xe6\x97\xb6\xe9\x97\xb4')),
('order_complete', models.IntegerField(max_length=50, null=True, verbose_name=b'\xe5\xae\x8c\xe6\x88\x90\xe8\xbf\x9b\xe5\xba\xa6', blank=True)),
('order_alias', models.CharField(max_length=50, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x9c\xb0', blank=True)),
('uniq_id', models.IntegerField(max_length=11, null=True, blank=True)),
('status', models.CharField(max_length=8, null=True, verbose_name=b'\xe8\xae\xa2\xe5\x8d\x95\xe7\x8a\xb6\xe6\x80\x81', blank=True)),
],
options={
'verbose_name': '\u8ba2\u5355\u7ba1\u7406',
'verbose_name_plural': '\u8ba2\u5355\u7ba1\u7406',
},
),
migrations.CreateModel(
name='ci_product',
fields=[
('product_id', models.AutoField(max_length=11, serialize=False, verbose_name=b'ID', primary_key=True)),
('product_number', models.CharField(max_length=255, verbose_name=b'\xe4\xba\xa7\xe5\x93\x81\xe7\xbc\x96\xe5\x8f\xb7')),
('product_type', models.CharField(max_length=50, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x93\x81\xe7\xb1\xbb\xe5\x9e\x8b', blank=True)),
('product_brand', models.CharField(max_length=50, null=True, verbose_name=b'\xe5\x93\x81\xe7\x89\x8c', blank=True)),
('product_model', models.CharField(max_length=50, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x93\x81\xe5\x9e\x8b\xe5\x8f\xb7', blank=True)),
('product_alias', models.CharField(max_length=50, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x9c\xb0', blank=True)),
('created_time', models.DateTimeField(default=-28800, verbose_name=b'\xe4\xb8\x8a\xe7\xba\xbf\xe6\x97\xb6\xe9\x97\xb4')),
('update_time', models.DateTimeField(default=-28800, verbose_name=b'\xe6\x9b\xb4\xe6\x96\xb0\xe6\x97\xb6\xe9\x97\xb4')),
('uniq_id', models.IntegerField(max_length=11, null=True, blank=True)),
('status', models.CharField(max_length=8, null=True, verbose_name=b'\xe4\xba\xa7\xe5\x93\x81\xe7\x8a\xb6\xe6\x80\x81', blank=True)),
],
options={
'db_table': 'ci_product',
'verbose_name': '\u4ea7\u54c1\u7ba1\u7406',
'verbose_name_plural': '\u4ea7\u54c1\u7ba1\u7406',
},
),
migrations.CreateModel(
name='ci_type',
fields=[
('type_id', models.AutoField(primary_key=True, db_column=b'type_id', serialize=False, max_length=11, verbose_name='ID')),
('type_name', models.CharField(max_length=50, verbose_name='\u7c7b\u578b', db_column=b'type_name')),
('type_alias', models.CharField(max_length=50, null=True, db_column=b'type_alias', blank=True)),
('icon_url', models.CharField(max_length=255, null=True, db_column=b'icon_url', blank=True)),
('order', models.SmallIntegerField(max_length=6, null=True, db_column=b'order', blank=True)),
('created_time', models.DateTimeField(auto_now_add=True)),
('update_time', models.DateTimeField(auto_now=True)),
('uniq_id', models.IntegerField(max_length=11, null=True, db_column=b'uniq_id', blank=True)),
('status', models.CharField(max_length=8, null=True, db_column=b'status', blank=True)),
],
options={
'db_table': 'ci_type',
'verbose_name': '\u5206\u7c7b',
'verbose_name_plural': '\u5206\u7c7b',
},
),
migrations.CreateModel(
name='cis',
fields=[
('cis_id', models.AutoField(max_length=11, serialize=False, primary_key=True, db_column=b'cis_id')),
('type_id', models.IntegerField(max_length=11, db_column=b'type_id')),
('status', models.CharField(max_length=8, null=True, db_column=b'status', blank=True)),
('created_time', models.DateTimeField(auto_now=True)),
('heardbeat', models.DateTimeField(auto_now_add=True)),
],
options={
'db_table': 'cis',
'verbose_name': 'CIS',
'verbose_name_plural': 'CIS',
},
),
]
Binary file added page_design/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/admin_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/admin_order.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/admin_product.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/admin_type.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/front_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added page_design/order_manage_design.rar
Binary file not shown.
Binary file added page_design/ordermysql20170902.rar
Binary file not shown.

0 comments on commit 6deef07

Please sign in to comment.