diff --git a/document/pdm/mall.pdb b/document/pdm/mall.pdb index 2524dc1..f490608 100644 --- a/document/pdm/mall.pdb +++ b/document/pdm/mall.pdb @@ -1,5 +1,5 @@ - + @@ -4739,8 +4739,8 @@ DESTINATION 0 新宋体,8,N 1522215975 1522398810 -((62000,154422), (65163,155672)) -((62400,155047),(64763,155047)) +((62000,154586), (65163,155836)) +((62400,155211),(64763,155211)) 1 1 12615680 @@ -4783,8 +4783,8 @@ DESTINATION 0 新宋体,8,N 1522216251 1522398808 -((62486,145084), (65163,146334)) -((62886,145709),(64763,145709)) +((62486,144992), (65163,146242)) +((62886,145617),(64763,145617)) 1 1 12615680 @@ -4827,8 +4827,8 @@ DESTINATION 0 新宋体,8,N 1522220508 1522398822 -((77597,151131), (82750,152381)) -((82350,151756),(77997,151756)) +((77597,151205), (82750,152455)) +((82350,151830),(77997,151830)) 1 1 12615680 @@ -5356,8 +5356,8 @@ DESTINATION 0 新宋体,8,N 1522724329 1522724329 -((-100297,77071), (65163,152987)) -((-99897,102538),(-99897,77471),(35821,77471),(35821,152362),(64763,152362)) +((-100297,77071), (65163,153166)) +((-99897,102538),(-99897,77471),(35821,77471),(35821,152541),(64763,152541)) 1 1 12615680 @@ -6283,9 +6283,9 @@ LABL 0 新宋体,8,N 1522215010 -1522398765 +1535438727 -1 -((64763,141298), (77997,156746)) +((64763,140885), (77997,157159)) 12615680 16570034 12632256 @@ -11041,7 +11041,7 @@ LABL 0 新宋体,8,N sms_coupon 1522215010 zhenghong -1522288076 +1535444414 zhenghong 优惠卷表 @@ -11208,6 +11208,17 @@ LABL 0 新宋体,8,N int +62F7E121-0FF8-41A5-A2F3-3CD1EBCF0113 +receive_count +receive_count +1535438655 +zhenghong +1535439531 +zhenghong +领取数量 +int + + C16B86B5-7FE8-4A40-B5BC-0890539301BB enable_time enable_time @@ -11218,7 +11229,7 @@ LABL 0 新宋体,8,N 可以领取的日期 datetime - + 57C38097-F524-4B80-9779-539E0F875778 code code @@ -11230,7 +11241,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 7F81033C-AF9F-48BD-9332-708B55931EE7 member_level member_level @@ -11244,7 +11255,7 @@ LABL 0 新宋体,8,N - + F7B63883-C186-47A9-A442-EF3DC025999C Key_1 Key_1 @@ -11258,7 +11269,7 @@ LABL 0 新宋体,8,N - + @@ -11272,7 +11283,7 @@ LABL 0 新宋体,8,N 优惠券和产品的关系表 - + 51FBBF44-892D-4904-AD72-C367AD27B4DE id id @@ -11284,17 +11295,17 @@ LABL 0 新宋体,8,N 1 1 - + 8D3316AD-1CAF-4B5E-8FA0-645C1C73FFD7 coupon_id coupon_id 1522215975 zhenghong -1522215991 +1535445127 zhenghong -int +bigint - + 39E7492F-B104-48BA-9460-88C66C6B971E product_id product_id @@ -11306,7 +11317,7 @@ LABL 0 新宋体,8,N - + 0DDAC07B-7800-4763-A772-BEDE47E015F8 Key_1 Key_1 @@ -11315,12 +11326,12 @@ LABL 0 新宋体,8,N 1522215928 zhenghong - + - + @@ -11334,7 +11345,7 @@ LABL 0 新宋体,8,N 优惠券和产品分类关系表 - + B1EF094E-8F24-4E21-92C3-20D17815DD8E id id @@ -11346,7 +11357,7 @@ LABL 0 新宋体,8,N 1 1 - + 0F265619-5CCA-4327-A335-B36E28B77CE9 coupon_id coupon_id @@ -11356,7 +11367,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + BB220B24-5719-4254-9EAB-A73F809F1D91 product_category_id product_category_id @@ -11368,7 +11379,7 @@ LABL 0 新宋体,8,N - + 120C3D95-47A0-4ADC-86DD-F632EF5F5785 Key_1 Key_1 @@ -11377,12 +11388,12 @@ LABL 0 新宋体,8,N 1522216237 zhenghong - + - + @@ -11396,7 +11407,7 @@ LABL 0 新宋体,8,N 优惠券使用、领取历史表 - + 8AF960D9-0931-474B-9087-67A9C769289A id id @@ -11407,7 +11418,7 @@ LABL 0 新宋体,8,N bigint 1 - + AEA45EC9-857C-4ADD-B505-8E6D0638F274 coupon_id coupon_id @@ -11417,7 +11428,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + C2493798-DD46-4B0A-8BA4-76DED0B49E03 member_id member_id @@ -11427,7 +11438,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 5D6DA42D-A033-45CC-8B4D-4A4577934E21 coupon_code coupon_code @@ -11438,7 +11449,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + D55C94A5-5416-4994-9794-10BAFCDF3A70 member_nickname member_nickname @@ -11450,7 +11461,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 1FBF338D-A9F0-435F-A465-6C0D461C08EE get_type get_type @@ -11462,7 +11473,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 2900D394-F7F9-411D-A014-19DB3D1ED702 create_time create_time @@ -11472,7 +11483,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + 3447D394-9F55-41F0-B4AB-B52685CFD9B9 use_status use_status @@ -11484,7 +11495,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 74C76E33-9483-4D78-88C2-77812D6BE4E4 use_time use_time @@ -11495,7 +11506,7 @@ LABL 0 新宋体,8,N 使用时间 datetime - + 9BCEDBC8-1076-431D-932A-60EDE0CA19F5 order_id order_id @@ -11507,7 +11518,7 @@ LABL 0 新宋体,8,N - + 539446A0-347B-4B13-9A1B-C1F91302A908 Key_1 Key_1 @@ -11516,12 +11527,12 @@ LABL 0 新宋体,8,N 1522217131 zhenghong - + - + @@ -11535,7 +11546,7 @@ LABL 0 新宋体,8,N 会员表 - + D9B1967D-3B90-493E-BF71-D0C0AA8AF792 id id @@ -11547,7 +11558,7 @@ LABL 0 新宋体,8,N 1 1 - + BA9FA416-B0B0-49A8-99B2-EE1F2F689613 member_level_id member_level_id @@ -11557,7 +11568,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 2B15CF6E-9928-4C28-A7F0-2D249CF28D2E username username @@ -11569,7 +11580,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 8B3B0D82-2CA0-4466-AEA1-F24F2791C164 password password @@ -11581,7 +11592,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + A3756B41-7B58-47EE-9C90-4410B7014C14 nickname nickname @@ -11593,7 +11604,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 771E62BD-6B4C-4AD5-8243-80EF105C5C12 phone phone @@ -11605,7 +11616,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 2AC98331-159E-4556-B2BE-2A511AF1012B status status @@ -11617,7 +11628,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 290E9B19-DC94-49BE-8B20-4CC5BE6B4A2E create_time create_time @@ -11628,7 +11639,7 @@ LABL 0 新宋体,8,N 注册时间 datetime - + 687462C1-C969-4A1F-8FF4-CFBDDF78FD97 icon icon @@ -11640,7 +11651,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 3DBECFB8-A73F-4B4E-8770-394020C94B46 gender gender @@ -11652,7 +11663,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 037D5C09-930F-4CB2-9488-A0D04C98B3DF birthday birthday @@ -11663,7 +11674,7 @@ LABL 0 新宋体,8,N 生日 date - + 5799AC70-2F20-49AD-ACB3-3ACE21BDFA24 city city @@ -11675,7 +11686,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 5E11EA43-DC5E-48B6-9C7D-4B3283DFEA04 job job @@ -11687,7 +11698,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + E4E5B724-CA9B-4DBF-9338-F35A6CEB07C6 personalized_signature personalized_signature @@ -11699,7 +11710,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + B9C8A488-CE4C-4162-95B8-95AAF2F50D79 source_type source_type @@ -11711,7 +11722,7 @@ LABL 0 新宋体,8,N int(1) 1 - + B2615BC0-8624-420C-9ADD-74B7CC0E1A34 integration integration @@ -11722,7 +11733,7 @@ LABL 0 新宋体,8,N 积分 int - + 68060654-B3F9-460C-B0AD-F69C3D79E7E4 growth growth @@ -11733,7 +11744,7 @@ LABL 0 新宋体,8,N 成长值 int - + F451866B-0691-4BD0-885F-8F8AC6BB07B6 luckey_count luckey_count @@ -11744,7 +11755,7 @@ LABL 0 新宋体,8,N 剩余抽奖次数 int - + DF6E2A37-1087-482C-B3AB-6E24F7CF5824 history_integration history_integration @@ -11757,7 +11768,7 @@ LABL 0 新宋体,8,N - + D643CABA-BFF8-4444-BC9C-459F23DD209B Key_1 Key_1 @@ -11766,12 +11777,12 @@ LABL 0 新宋体,8,N 1533115911 zhenghong - + - + @@ -11785,7 +11796,7 @@ LABL 0 新宋体,8,N 首页推荐品牌表 - + 55989B16-E9BA-4806-BE60-FBB53C20AFFB id id @@ -11797,7 +11808,7 @@ LABL 0 新宋体,8,N 1 1 - + 6EB211BF-005A-45C4-9AD2-3B624549C78B brand_id brand_id @@ -11807,7 +11818,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 961D5B66-0DD8-42E5-BFB4-93E536FEC18A brand_name brand_name @@ -11818,7 +11829,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + F2CF792A-6DB6-445B-9BA9-18C8DC17D441 recommend_status recommend_status @@ -11829,7 +11840,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 1AB9EBEC-5310-4ADE-9CAD-39F414C49A73 sort sort @@ -11841,7 +11852,7 @@ LABL 0 新宋体,8,N - + D81DA96A-E9F0-4D79-971E-1D88C5B3C093 Key_1 Key_1 @@ -11850,12 +11861,12 @@ LABL 0 新宋体,8,N 1522224216 zhenghong - + - + @@ -11869,7 +11880,7 @@ LABL 0 新宋体,8,N 新鲜好物表 - + D44BCE8A-007A-475D-A1A8-A84615449866 id id @@ -11881,7 +11892,7 @@ LABL 0 新宋体,8,N 1 1 - + 41AB6B8F-5955-4D0F-82C9-3ECE03DE627F product_id product_id @@ -11891,7 +11902,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 0199CB4D-CCB5-45A9-987A-C688680BAD6C product_name product_name @@ -11902,7 +11913,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 30DFEEA7-AEB5-420B-BB6F-99F4E2A2D4FC recommend_status recommend_status @@ -11913,7 +11924,7 @@ LABL 0 新宋体,8,N int(1) 1 - + D1A8F553-7744-46C7-B8BC-D27C3AD0717E sort sort @@ -11926,7 +11937,7 @@ LABL 0 新宋体,8,N - + 73A2D055-78DF-477F-83FF-E76CEE5860BB Key_1 Key_1 @@ -11935,12 +11946,12 @@ LABL 0 新宋体,8,N 1522225762 zhenghong - + - + @@ -11954,7 +11965,7 @@ LABL 0 新宋体,8,N 人气推荐商品表 - + 2C05FE30-5B42-49AB-B442-DA48DFBF56ED id id @@ -11966,7 +11977,7 @@ LABL 0 新宋体,8,N 1 1 - + 81AA6507-AEAF-445F-8BCA-FE792FD6167D product_id product_id @@ -11976,7 +11987,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 5C55D312-2E41-4F12-80A1-D6220C9E71E0 product_name product_name @@ -11987,7 +11998,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + D1CF9580-8D7D-44B9-82A5-1227DC667978 recommend_status recommend_status @@ -11998,7 +12009,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 6B5CC5E0-6B02-4C2B-A8DB-EDAC443C4924 sort sort @@ -12011,7 +12022,7 @@ LABL 0 新宋体,8,N - + 7256867D-3478-4506-AA49-3528838619BD Key_1 Key_1 @@ -12020,12 +12031,12 @@ LABL 0 新宋体,8,N 1522226008 zhenghong - + - + @@ -12039,7 +12050,7 @@ LABL 0 新宋体,8,N 首页推荐专题表 - + BB3B377B-FD15-4644-9382-23DEE1D35C62 id id @@ -12051,7 +12062,7 @@ LABL 0 新宋体,8,N 1 1 - + 76387001-86B6-464D-9C61-25F2D7290848 subject_id subject_id @@ -12061,7 +12072,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + FBF57C52-1D78-415A-A0F1-8C22ECDD209F subject_name subject_name @@ -12072,7 +12083,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 95A506FC-F1AE-4FDC-A8B6-14DDC2C7686D recommend_status recommend_status @@ -12083,7 +12094,7 @@ LABL 0 新宋体,8,N int(1) 1 - + B7738C94-3636-4CDF-9361-426285F61C01 sort sort @@ -12095,7 +12106,7 @@ LABL 0 新宋体,8,N - + 4024BDA0-F53B-48E3-AD69-82EDDF413307 Key_1 Key_1 @@ -12104,12 +12115,12 @@ LABL 0 新宋体,8,N 1522226140 zhenghong - + - + @@ -12123,7 +12134,7 @@ LABL 0 新宋体,8,N 首页轮播广告表 - + 2794FB1E-CC31-453F-BE91-089DEA2F10D0 id id @@ -12135,7 +12146,7 @@ LABL 0 新宋体,8,N 1 1 - + 170EB06D-58AC-4810-AA05-2E800F4402A7 name name @@ -12146,7 +12157,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 2D08193E-455A-44D9-8568-65DFC657C51C type type @@ -12158,7 +12169,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 5BBDEC82-0B2C-4005-AE60-30C24AB2C60B pic pic @@ -12169,7 +12180,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 9544B543-B26F-4A94-8533-D1CD347E092A start_time start_time @@ -12179,7 +12190,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + EBE6682D-2345-42DD-B161-78D72008FC58 end_time end_time @@ -12189,7 +12200,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + 1E82BBF3-64A8-4937-B8E8-2EF1E5396463 status status @@ -12201,7 +12212,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 7FED5C77-61EC-4ED3-BC71-69B346DB69BD click_count click_count @@ -12212,7 +12223,7 @@ LABL 0 新宋体,8,N 点击数 int - + 28ED368B-9046-4647-8365-6C3CC1A73A00 order_count order_count @@ -12223,7 +12234,7 @@ LABL 0 新宋体,8,N 下单数 int - + 18C101B3-A72F-483F-9A9A-68C90EA4A002 url url @@ -12235,7 +12246,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + E271F2ED-7B8E-4D02-94F9-DCC3B014B01D note note @@ -12249,7 +12260,7 @@ LABL 0 新宋体,8,N - + 8C05A0D5-5A40-4E5F-803C-21DE1581AB40 Key_1 Key_1 @@ -12258,12 +12269,12 @@ LABL 0 新宋体,8,N 1522228234 zhenghong - + - + @@ -12277,7 +12288,7 @@ LABL 0 新宋体,8,N 限时购表 - + A001C3CA-7F30-48B5-BBCA-4DE4FF3AC6D7 id id @@ -12289,7 +12300,7 @@ LABL 0 新宋体,8,N 1 1 - + E7B4D1BF-2B28-4CB5-A266-BF73B2C545CD title title @@ -12300,7 +12311,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 9E90026D-CCB7-42C4-8305-6C9ED00FBEAD start_time start_time @@ -12311,7 +12322,7 @@ LABL 0 新宋体,8,N 开始时间 datetime - + 9C92406F-BE6E-4DD0-B9F6-B6DB731826D8 end_time end_time @@ -12322,7 +12333,7 @@ LABL 0 新宋体,8,N 结束时间 datetime - + 7CF4BD09-90C4-4A00-861D-E4BB0DEDE4F0 status status @@ -12334,7 +12345,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 8D6B6BCE-483E-49D8-9BFE-66FF9BAF4E04 time_name time_name @@ -12348,7 +12359,7 @@ LABL 0 新宋体,8,N - + E91F0404-5C5E-465C-965B-AA29A2AC352C Key_1 Key_1 @@ -12357,12 +12368,12 @@ LABL 0 新宋体,8,N 1522300717 zhenghong - + - + @@ -12376,7 +12387,7 @@ LABL 0 新宋体,8,N 限时购通知记录 - + 8D5CC3D3-9472-4F2E-85C5-141575078624 id id @@ -12388,7 +12399,7 @@ LABL 0 新宋体,8,N 1 1 - + 43575263-62FC-44CF-9134-A53E2549A413 member_id member_id @@ -12398,7 +12409,7 @@ LABL 0 新宋体,8,N zhenghong int - + 0E5CDA77-D030-43C4-8F3F-62F1DDAF2321 product_id product_id @@ -12408,7 +12419,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 58059F15-8E1E-441A-B852-B83A2DC6AF61 member_phone member_phone @@ -12419,7 +12430,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + E37B4C93-8839-4792-A41C-174666319BC6 product_name product_name @@ -12430,7 +12441,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 26E55C30-24F2-46E9-8FB8-937189C88290 subscribe_time subscribe_time @@ -12441,7 +12452,7 @@ LABL 0 新宋体,8,N 会员订阅时间 datetime - + 63E8BD65-5DC6-4E86-90D0-81644C960C3A send_time send_time @@ -12453,7 +12464,7 @@ LABL 0 新宋体,8,N - + F5CEFAF5-C8E0-41B0-8893-07DF42A1591B Key_1 Key_1 @@ -12462,12 +12473,12 @@ LABL 0 新宋体,8,N 1522303152 zhenghong - + - + @@ -12481,7 +12492,7 @@ LABL 0 新宋体,8,N 后台用户表 - + 6D584959-4514-4CEC-A0D4-785E46D1A943 id id @@ -12493,7 +12504,7 @@ LABL 0 新宋体,8,N 1 1 - + C69E81B8-3A8A-4F1C-AD79-05187FCF35D3 username username @@ -12504,7 +12515,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 7EB23336-7D63-4C02-AD85-17DA3DC93E6A password password @@ -12515,7 +12526,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + FD9B4CBF-DDF3-4CC8-BD69-15221A3E52A8 icon icon @@ -12527,7 +12538,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 68129CD9-A241-453D-9223-FB146806D646 email email @@ -12540,7 +12551,7 @@ LABL 0 新宋体,8,N - + DC1A590C-BB4F-430C-A34E-014AEC5844D1 Key_1 Key_1 @@ -12549,12 +12560,12 @@ LABL 0 新宋体,8,N 1522303905 zhenghong - + - + @@ -12568,7 +12579,7 @@ LABL 0 新宋体,8,N 后台用户登录日志表 - + 8F7618DF-D0CA-48C3-9E4F-CBAA9A41A69B id id @@ -12580,7 +12591,7 @@ LABL 0 新宋体,8,N 1 1 - + C8AEFA16-C796-4CED-902C-21EA9F55C75C admin_id admin_id @@ -12590,7 +12601,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + B535BE06-4C99-4645-9B42-D984356CF2FF create_time create_time @@ -12600,7 +12611,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + 6236706F-C5E9-44A6-8BC2-FE0D2F8C8476 ip ip @@ -12611,7 +12622,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 9E05D212-E28A-463B-9F1D-87FD83F90421 address address @@ -12622,7 +12633,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + D481AC77-5DC7-490F-856C-C3676F9407AA user_agent user_agent @@ -12636,7 +12647,7 @@ LABL 0 新宋体,8,N - + 127CDB1B-576E-4CE4-B977-681E887F8EEE Key_1 Key_1 @@ -12645,12 +12656,12 @@ LABL 0 新宋体,8,N 1522303968 zhenghong - + - + @@ -12664,7 +12675,7 @@ LABL 0 新宋体,8,N 会员等级表 - + 129583EA-DC62-4E57-AEF8-FCA2A4DD3BD4 id id @@ -12676,7 +12687,7 @@ LABL 0 新宋体,8,N 1 1 - + 4D12F464-1BC3-4D75-9BF6-AB23F4899E9B name name @@ -12687,7 +12698,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 38041EA5-676A-4D2B-931F-8158FDA8CB48 growth_point growth_point @@ -12697,7 +12708,7 @@ LABL 0 新宋体,8,N zhenghong int - + 63E410FA-E2CC-41F9-9FE9-9272F61F19A1 default_status default_status @@ -12709,7 +12720,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 4B60128E-FF93-4486-B758-081868324568 free_freight_point free_freight_point @@ -12722,7 +12733,7 @@ LABL 0 新宋体,8,N 10 2 - + 9A810F9D-3942-417E-9057-39A71284BEB1 comment_growth_point comment_growth_point @@ -12733,7 +12744,7 @@ LABL 0 新宋体,8,N 每次评价获取的成长值 int - + 437D93E8-BC05-48F4-9103-AAADEC2F18B3 priviledge_free_freight priviledge_free_freight @@ -12745,7 +12756,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 4ACB8B0D-322B-4240-994A-BF76A866C4C1 priviledge_sign_in priviledge_sign_in @@ -12757,7 +12768,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 76160658-2A87-4D99-8A9E-9F2CA2752530 priviledge_comment priviledge_comment @@ -12769,7 +12780,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 4BFAE1D1-5395-4502-BA29-FD53E5C998FF priviledge_promotion priviledge_promotion @@ -12781,7 +12792,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 4D408989-5456-40D8-AEEE-9E1E14564E6A priviledge_member_price priviledge_member_price @@ -12793,7 +12804,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 3C4297F8-BFE4-42AC-8967-1627A0EB62AE priviledge_birthday priviledge_birthday @@ -12805,7 +12816,7 @@ LABL 0 新宋体,8,N int(1) 1 - + CD9D3466-6A59-4BD3-B7BC-8B3478EDA73B note note @@ -12818,7 +12829,7 @@ LABL 0 新宋体,8,N - + E6F6D42A-97D4-4207-B966-0BBD47776D79 Key_1 Key_1 @@ -12827,12 +12838,12 @@ LABL 0 新宋体,8,N 1522379831 zhenghong - + - + @@ -12846,7 +12857,7 @@ LABL 0 新宋体,8,N 会员与产品分类关系表(用户喜欢的分类) - + 9F3E472B-AE33-4C2A-BC75-F7EF6CD3F295 id id @@ -12858,7 +12869,7 @@ LABL 0 新宋体,8,N 1 1 - + CF33591F-94A0-4ECB-A19E-1FCDECAEFB2B member_id member_id @@ -12868,7 +12879,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 26A81B95-6339-4F97-9FD9-7A9343D8FC3C product_category_id product_category_id @@ -12880,7 +12891,7 @@ LABL 0 新宋体,8,N - + 319FB1F7-17E2-404B-8A53-1D83019DBED4 Key_1 Key_1 @@ -12889,12 +12900,12 @@ LABL 0 新宋体,8,N 1522387444 zhenghong - + - + @@ -12908,7 +12919,7 @@ LABL 0 新宋体,8,N 会员统计信息 - + 6B92C176-B80A-42DF-913D-4B9F276C8DEE id id @@ -12920,7 +12931,7 @@ LABL 0 新宋体,8,N 1 1 - + D357658D-303B-4EF3-AC8E-E97A22EB9F28 member_id member_id @@ -12930,7 +12941,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 854439C2-AEFC-4DBE-B9F0-26F768FACD07 consume_amount consume_amount @@ -12943,7 +12954,7 @@ LABL 0 新宋体,8,N 10 2 - + 6F0A7AA7-4899-4BD7-B041-449A73F83B50 order_count order_count @@ -12954,7 +12965,7 @@ LABL 0 新宋体,8,N 订单数量 int - + 03C07BA1-E675-412B-AE21-FC427A919156 coupon_count coupon_count @@ -12965,7 +12976,7 @@ LABL 0 新宋体,8,N 优惠券数量 int - + 40B971A2-E3E9-4987-9B21-2455EF702FA4 comment_count comment_count @@ -12976,7 +12987,7 @@ LABL 0 新宋体,8,N 评价数 int - + 285C0BDD-D3D2-4715-969F-3F04972A9216 return_order_count return_order_count @@ -12987,7 +12998,7 @@ LABL 0 新宋体,8,N 退货数量 int - + D44D9C8E-834B-49C2-A487-19243A6B75C7 login_count login_count @@ -12998,7 +13009,7 @@ LABL 0 新宋体,8,N 登录次数 int - + A6954A96-3E39-412D-8648-6420D1DE69A8 attend_count attend_count @@ -13009,7 +13020,7 @@ LABL 0 新宋体,8,N 关注数量 int - + 801A9777-A84E-455D-87DB-CB5F223BEC40 fans_count fans_count @@ -13020,7 +13031,7 @@ LABL 0 新宋体,8,N 粉丝数量 int - + E7A5B7B0-3561-4149-A49A-F8130558ABBD collect_product_count collect_product_count @@ -13030,7 +13041,7 @@ LABL 0 新宋体,8,N zhenghong int - + 5E257B18-EF0C-4C89-941D-78783C0D17DF collect_subject_count collect_subject_count @@ -13040,7 +13051,7 @@ LABL 0 新宋体,8,N zhenghong int - + 37323B30-236A-4CAE-B7E5-AE3A5F527ABA collect_topic_count collect_topic_count @@ -13050,7 +13061,7 @@ LABL 0 新宋体,8,N zhenghong int - + 186B8DCF-6580-4D89-AA2B-89333527FCD6 collect_comment_count collect_comment_count @@ -13060,7 +13071,7 @@ LABL 0 新宋体,8,N zhenghong int - + 29465239-85D6-4029-B631-809C1AC7F1FB invite_friend_count invite_friend_count @@ -13070,7 +13081,7 @@ LABL 0 新宋体,8,N zhenghong int - + C133A420-C28D-4442-B747-9CFEA1E2FA2A recent_order_time recent_order_time @@ -13083,7 +13094,7 @@ LABL 0 新宋体,8,N - + 920005AF-C54B-4D67-9D61-7A15D96EC34D Key_1 Key_1 @@ -13092,12 +13103,12 @@ LABL 0 新宋体,8,N 1522387970 zhenghong - + - + @@ -13111,7 +13122,7 @@ LABL 0 新宋体,8,N 会员收货地址表 - + 98B61DFE-761A-4910-A45C-89DE44A801BD id id @@ -13123,7 +13134,7 @@ LABL 0 新宋体,8,N 1 1 - + 817400C5-8063-4373-9F89-F52F0AA9E815 member_id member_id @@ -13133,7 +13144,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + AFF04439-EC58-4338-8228-623D8193B384 name name @@ -13145,7 +13156,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 0CDFE5D1-E06C-466F-B066-F6FFC0FC0873 phone_number phone_number @@ -13156,7 +13167,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 2D383AAE-D002-480B-B081-4ABB9A0FE45F default_status default_status @@ -13168,7 +13179,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 013038D3-3265-4B47-AA73-C893A6006BD8 post_code post_code @@ -13180,7 +13191,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 214E7869-4680-4DDC-A4AF-611BDB9DB594 province province @@ -13192,7 +13203,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + B014298F-01AD-4171-9D9F-916D27574AB6 city city @@ -13204,7 +13215,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 106C677E-A9B6-40ED-A992-CD0CADF4BFFF region region @@ -13216,7 +13227,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 4EDEC710-4328-4BF8-BCCC-EA8EAAA48FF1 detail_address detail_address @@ -13230,7 +13241,7 @@ LABL 0 新宋体,8,N - + DF83812C-9AB1-43B1-9C66-06DDD339917E Key_1 Key_1 @@ -13239,12 +13250,12 @@ LABL 0 新宋体,8,N 1522390420 zhenghong - + - + @@ -13258,7 +13269,7 @@ LABL 0 新宋体,8,N 会员登录记录 - + 4B9B3F0B-970F-4BD2-ADA9-9B5AF12CB5AB id id @@ -13270,7 +13281,7 @@ LABL 0 新宋体,8,N 1 1 - + 96996021-E445-4698-B1A6-42E723CA01EF member_id member_id @@ -13280,7 +13291,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + D5AD4C5C-E858-4BA3-8DB3-741A4D6D780C create_time create_time @@ -13290,7 +13301,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + EA660841-B4C3-4D58-BA70-765F688BBFB9 ip ip @@ -13301,7 +13312,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 4129F50F-3EB2-402A-8239-25FB68B06BE1 city city @@ -13312,7 +13323,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 9C080457-2FBF-4EEA-B7DF-B465681C679C login_type login_type @@ -13324,7 +13335,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 026D0B9F-44F5-4302-8766-551E0CBA48E2 province province @@ -13337,7 +13348,7 @@ LABL 0 新宋体,8,N - + EC511DBF-DA00-49B0-9DD3-AE6E4E18496A Key_1 Key_1 @@ -13346,12 +13357,12 @@ LABL 0 新宋体,8,N 1522390531 zhenghong - + - + @@ -13365,7 +13376,7 @@ LABL 0 新宋体,8,N 用户标签表 - + 438F1497-2B84-4368-AE85-9E1806F36FC9 id id @@ -13377,7 +13388,7 @@ LABL 0 新宋体,8,N 1 1 - + 96FB084C-E214-4481-95FD-52FF9AF5C1FA name name @@ -13388,7 +13399,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + C727F26A-5CFA-4C30-9EE3-A5F87998DE9E finish_order_count finish_order_count @@ -13399,7 +13410,7 @@ LABL 0 新宋体,8,N 自动打标签完成订单数量 int - + 148613FB-7BCE-4145-B955-B0077E630B6E finish_order_amount finish_order_amount @@ -13414,7 +13425,7 @@ LABL 0 新宋体,8,N - + 02E5405B-3466-42C6-B07B-090E17D190BA Key_1 Key_1 @@ -13423,12 +13434,12 @@ LABL 0 新宋体,8,N 1522390854 zhenghong - + - + @@ -13442,7 +13453,7 @@ LABL 0 新宋体,8,N 用户和标签关系表 - + BB1BD091-E5C8-4C12-8A9A-C2ADC962E7E5 id id @@ -13454,7 +13465,7 @@ LABL 0 新宋体,8,N 1 1 - + 854EDA6D-D3FB-4AFF-92AD-1FDF1DC32E1E member_id member_id @@ -13464,7 +13475,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 89D08954-C6F1-4B1F-8BAE-E19BDF39DE08 tag_id tag_id @@ -13476,7 +13487,7 @@ LABL 0 新宋体,8,N - + AEBACA14-2E96-4718-ACE9-C6F76721B8E8 Key_1 Key_1 @@ -13485,12 +13496,12 @@ LABL 0 新宋体,8,N 1522391349 zhenghong - + - + @@ -13504,7 +13515,7 @@ LABL 0 新宋体,8,N 积分变化历史记录表 - + 457FA52E-BCCD-40B6-9595-2597CD6C75E2 id id @@ -13516,7 +13527,7 @@ LABL 0 新宋体,8,N 1 1 - + 9964C6D5-F7BD-40FB-957B-7A66DFF172A4 member_id member_id @@ -13526,7 +13537,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + BCF4B5AF-DEA0-4D46-8A23-E5348BF281C8 create_time create_time @@ -13536,7 +13547,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + 52CE81B5-6BDF-40F0-97BA-2DC303583FF4 change_type change_type @@ -13548,7 +13559,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 6D9BAE2A-F62A-4DA0-B9B4-AD3695E3ADEC change_count change_count @@ -13559,7 +13570,7 @@ LABL 0 新宋体,8,N 积分改变数量 int - + E63C6C7E-249C-4653-AF54-3DF677FF8B65 operate_man operate_man @@ -13571,7 +13582,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 079B7A28-0F20-4439-934B-AC8ABA31B76A operate_note operate_note @@ -13583,7 +13594,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + A51DAFDF-D7E9-403D-A31F-7341E809448F source_type source_type @@ -13597,7 +13608,7 @@ LABL 0 新宋体,8,N - + A0C0BBC3-CBCB-4FD0-A047-91D827AFA920 Key_1 Key_1 @@ -13606,12 +13617,12 @@ LABL 0 新宋体,8,N 1522396491 zhenghong - + - + @@ -13625,7 +13636,7 @@ LABL 0 新宋体,8,N 成长值变化历史记录表 - + 0161A828-441F-4CAB-90F0-2FC4EF6A6B3F id id @@ -13637,7 +13648,7 @@ LABL 0 新宋体,8,N 1 1 - + B546E2F7-48AB-4A7C-A4A0-28A667D75391 member_id member_id @@ -13647,7 +13658,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + D33F598C-18B5-4DF4-8326-FF7328B10F00 create_time create_time @@ -13657,7 +13668,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + A0377031-7298-442C-B4DF-94C554828629 change_type change_type @@ -13669,7 +13680,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 0EF45C85-5160-4E92-A3A6-C4B546D93214 change_count change_count @@ -13680,7 +13691,7 @@ LABL 0 新宋体,8,N 积分改变数量 int - + 4893755C-D937-4D36-9611-B9AD46A57BAA operate_man operate_man @@ -13692,7 +13703,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 6CA349B8-491B-4E27-880E-D83491AB7849 operate_note operate_note @@ -13704,7 +13715,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 52268506-CE01-481B-ABD3-F84E4E9758C9 source_type source_type @@ -13718,7 +13729,7 @@ LABL 0 新宋体,8,N - + 2BAA5513-B2CF-4B60-A990-6319EB2671C4 Key_1 Key_1 @@ -13727,12 +13738,12 @@ LABL 0 新宋体,8,N 1522396809 zhenghong - + - + @@ -13746,7 +13757,7 @@ LABL 0 新宋体,8,N 会员任务表 - + 56B17C0E-8FBA-4594-8C45-1FF6469A7159 id id @@ -13758,7 +13769,7 @@ LABL 0 新宋体,8,N 1 1 - + 65D902D3-95D4-4540-BC18-F384B3710D83 name name @@ -13769,7 +13780,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 20EF2EF9-E621-4652-B334-862949676CA3 growth growth @@ -13780,7 +13791,7 @@ LABL 0 新宋体,8,N 赠送成长值 int - + 55E587FF-CF0D-45D0-B63D-171E313D0FEB intergration intergration @@ -13791,7 +13802,7 @@ LABL 0 新宋体,8,N 赠送积分 int - + 6878B9A3-18D2-4405-97D4-B3BE49EBA993 type type @@ -13805,7 +13816,7 @@ LABL 0 新宋体,8,N - + EA426689-78F7-40C2-B520-83BA9FCC54D1 Key_1 Key_1 @@ -13814,12 +13825,12 @@ LABL 0 新宋体,8,N 1522397207 zhenghong - + - + @@ -13833,7 +13844,7 @@ LABL 0 新宋体,8,N 会员积分成长规则表 - + 125CFE60-6A33-4680-B726-FC5E68082C98 id id @@ -13845,7 +13856,7 @@ LABL 0 新宋体,8,N 1 1 - + 38E3DC37-0559-41F6-84C0-3F5C43C48FF0 continue_sign_day continue_sign_day @@ -13856,7 +13867,7 @@ LABL 0 新宋体,8,N 连续签到天数 int - + 9508FDB7-6018-4E59-A007-49274C4627DC continue_sign_point continue_sign_point @@ -13867,7 +13878,7 @@ LABL 0 新宋体,8,N 连续签到赠送数量 int - + 2D67D7C4-242F-4287-AE03-819499C5EEE9 consume_per_point consume_per_point @@ -13880,7 +13891,7 @@ LABL 0 新宋体,8,N 10 2 - + 3099A480-47E9-45F0-9183-7884D0C8B799 low_order_amount low_order_amount @@ -13893,7 +13904,7 @@ LABL 0 新宋体,8,N 10 2 - + 10ECB92A-03AE-4EC0-9F92-D4693B754400 max_point_per_order max_point_per_order @@ -13904,7 +13915,7 @@ LABL 0 新宋体,8,N 每笔订单最高获取点数 int - + BBA261DE-035F-41ED-96F8-64CF61B19EB8 type type @@ -13918,7 +13929,7 @@ LABL 0 新宋体,8,N - + B72372E9-CEF8-4759-A874-B60E418F73DE Key_1 Key_1 @@ -13927,12 +13938,12 @@ LABL 0 新宋体,8,N 1522397551 zhenghong - + - + @@ -13946,7 +13957,7 @@ LABL 0 新宋体,8,N 积分消费设置 - + 5A65A4E0-C798-494B-89AA-899A5FE7ECC3 id id @@ -13958,7 +13969,7 @@ LABL 0 新宋体,8,N 1 1 - + E5B7DEEB-C659-43D6-A649-4A7AA6BA968A deduction_per_amount deduction_per_amount @@ -13969,7 +13980,7 @@ LABL 0 新宋体,8,N 每一元需要抵扣的积分数量 int - + 3F3EBC7E-C661-4BF6-9748-A63740946E37 max_percent_per_order max_percent_per_order @@ -13980,7 +13991,7 @@ LABL 0 新宋体,8,N 每笔订单最高抵用百分比 int - + A51ACE1C-D2CC-4935-AEEE-392472F47BA1 use_unit use_unit @@ -13991,7 +14002,7 @@ LABL 0 新宋体,8,N 每次使用积分最小单位100 int - + 381B38BC-D7D6-44F6-8E9A-7EC3ED2D96C3 coupon_status coupon_status @@ -14005,7 +14016,7 @@ LABL 0 新宋体,8,N - + E57C57B8-9833-47BB-905A-F54F0A5010DA Key_1 Key_1 @@ -14014,12 +14025,12 @@ LABL 0 新宋体,8,N 1522398071 zhenghong - + - + @@ -14033,7 +14044,7 @@ LABL 0 新宋体,8,N 订单表 - + 3563269E-6EED-49DE-AC40-20CDE76A70F7 id id @@ -14046,7 +14057,7 @@ LABL 0 新宋体,8,N 1 1 - + 1BFDD362-9A3F-4A39-A46A-988EFE0700F4 member_id member_id @@ -14056,7 +14067,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 7A1BB5A1-6ACE-4259-9D2F-A11D74465729 coupon_id coupon_id @@ -14066,7 +14077,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 190337D5-DBCF-44C7-8E8F-60BA716C7D73 order_sn order_sn @@ -14078,7 +14089,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 42DE6A32-DB28-4441-9D31-43954E2B32F8 create_time create_time @@ -14089,7 +14100,7 @@ LABL 0 新宋体,8,N 提交时间 datetime - + B66D00FB-2706-4456-9C8D-5BE63900E843 member_username member_username @@ -14101,7 +14112,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 93AF6B00-CE9F-4E65-852A-21DF3E8E38D3 total_amount total_amount @@ -14114,7 +14125,7 @@ LABL 0 新宋体,8,N 10 2 - + 93484605-04CB-4451-BA1C-1D43843E1FE8 freight_amount freight_amount @@ -14127,7 +14138,7 @@ LABL 0 新宋体,8,N 10 2 - + 31D4C71F-D7FF-4C00-88F3-D1A8B195D948 promotion_amount promotion_amount @@ -14140,7 +14151,7 @@ LABL 0 新宋体,8,N 10 2 - + 2AC97908-B95C-4C45-AD78-5AEBD42D415E integration_amount integration_amount @@ -14153,7 +14164,7 @@ LABL 0 新宋体,8,N 10 2 - + BDECF3D8-B85D-459A-9336-D298B11A129C coupon_amount coupon_amount @@ -14166,7 +14177,7 @@ LABL 0 新宋体,8,N 10 2 - + 570A30CB-E74E-4D54-A2F5-354511EEAD73 discount_amount discount_amount @@ -14179,7 +14190,7 @@ LABL 0 新宋体,8,N 10 2 - + 2506F5AD-C896-45DA-B1A9-47A3F09F32A7 pay_type pay_type @@ -14191,7 +14202,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 1E796BD6-898E-4EDA-8ADE-A86D6305ED56 source_type source_type @@ -14203,7 +14214,7 @@ LABL 0 新宋体,8,N int(1) 1 - + EBDE3354-1D7D-43AF-ADC1-D73233AF9967 status status @@ -14215,7 +14226,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 17C117FA-5488-480A-98AD-35E18E6B084D order_type order_type @@ -14227,7 +14238,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 61822C95-27AC-4143-8C5F-CDE6DFE15B2C delivery_company delivery_company @@ -14239,7 +14250,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 91DA7F9F-8F28-4D16-8A89-1379C5141304 delivery_sn delivery_sn @@ -14251,7 +14262,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + ACB792D2-4ED5-47EE-BAFD-C389DAAA07E3 auto_confirm_day auto_confirm_day @@ -14262,7 +14273,7 @@ LABL 0 新宋体,8,N 自动确认时间(天) int - + C142CF56-1ED7-4D71-95DF-9F114248A7BC integration integration @@ -14273,7 +14284,7 @@ LABL 0 新宋体,8,N 可以获得的积分 int - + EA968274-2B27-4C3C-9565-619251E927BA growth growth @@ -14284,7 +14295,7 @@ LABL 0 新宋体,8,N 可以活动的成长值 int - + B8CC6F72-DB4E-4A81-9D94-16B7AE9470A1 promotion_info promotion_info @@ -14296,7 +14307,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + BBE7BE20-0F91-48B2-96EA-7852ACCE40D1 bill_type bill_type @@ -14308,7 +14319,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 5A0811A5-51AF-47C2-A7F8-A2909F856961 bill_header bill_header @@ -14320,7 +14331,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + B0E18290-D990-4622-B718-71A7113E9480 bill_content bill_content @@ -14332,7 +14343,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + CE69C28B-C4BC-44AA-B3F2-30B6AD8390F8 bill_receiver_phone bill_receiver_phone @@ -14344,7 +14355,7 @@ LABL 0 新宋体,8,N varchar(32) 32 - + DB7AE7E6-2321-4C2C-8580-7AEB802EBE2C bill_receiver_email bill_receiver_email @@ -14356,7 +14367,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 98B312FD-4E06-4D2B-AC6F-970B84E6C73F receiver_name receiver_name @@ -14368,7 +14379,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 1174D5FE-B8AE-49E7-A4D2-F947BFE08091 receiver_phone receiver_phone @@ -14380,7 +14391,7 @@ LABL 0 新宋体,8,N varchar(32) 32 - + AA0D5272-63FA-45D9-8816-9D547B177F10 receiver_post_code receiver_post_code @@ -14392,7 +14403,7 @@ LABL 0 新宋体,8,N varchar(32) 32 - + 7E47519A-F397-40EF-A70D-4B26E116BD67 receiver_province receiver_province @@ -14404,7 +14415,7 @@ LABL 0 新宋体,8,N varchar(32) 32 - + 3218F635-7F7D-4A36-9BF2-E1C822053456 receiver_city receiver_city @@ -14416,7 +14427,7 @@ LABL 0 新宋体,8,N varchar(32) 32 - + 8C3E74BC-0BCA-4E3F-A1F8-4C06D7192D4E receiver_region receiver_region @@ -14428,7 +14439,7 @@ LABL 0 新宋体,8,N varchar(32) 32 - + 661DB749-D0D5-43E2-B96E-2444DA4DBA06 receiver_detail_address receiver_detail_address @@ -14440,7 +14451,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + F0169A36-508E-4CDA-8BD0-6077437C30DA note note @@ -14452,7 +14463,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 735D23D8-B7B2-4474-A113-1ED7AAA6C9B8 confirm_status confirm_status @@ -14466,7 +14477,7 @@ LABL 0 新宋体,8,N - + F98BE405-9DED-4054-ABBF-40BD4672B58B Key_1 Key_1 @@ -14475,12 +14486,12 @@ LABL 0 新宋体,8,N 1522658346 zhenghong - + - + @@ -14494,7 +14505,7 @@ LABL 0 新宋体,8,N 订单中所包含的商品 - + C2ABF8A4-2DE7-4C17-8053-440A60BD8EE7 id id @@ -14506,7 +14517,7 @@ LABL 0 新宋体,8,N 1 1 - + B1934126-97B4-461B-B2A8-D53CCF81245C order_id order_id @@ -14517,7 +14528,7 @@ LABL 0 新宋体,8,N 订单id bigint - + EA411763-23EA-4E27-97CD-1C0D5925157C order_sn order_sn @@ -14529,7 +14540,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + DCF7D58B-AD64-48B0-9A65-4FDAE9A32DFB product_id product_id @@ -14539,7 +14550,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 7BDD65C2-224E-413D-AD83-437754569B1C proudct_pic proudct_pic @@ -14550,7 +14561,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + DFFC50EA-1E9A-4867-9EE8-B1A1B84E51E7 product_name product_name @@ -14561,7 +14572,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 68478EE9-703A-4DFD-A085-7B109BBF650D product_brand product_brand @@ -14572,7 +14583,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 27623FBE-2491-4310-AA4E-D93F4AD59154 product_sn product_sn @@ -14583,7 +14594,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + A9EF8281-439D-4D05-BB45-E933E648D979 product_amount product_amount @@ -14595,7 +14606,7 @@ LABL 0 新宋体,8,N 10 2 - + 015E8942-52BF-4342-9C4C-1230A266C1C9 product_count product_count @@ -14606,7 +14617,7 @@ LABL 0 新宋体,8,N 购买数量 int - + AD7CAE73-04BF-4BB8-BEFA-E0A7B94BF373 product_real_amount product_real_amount @@ -14619,7 +14630,7 @@ LABL 0 新宋体,8,N 10 2 - + 51302EF8-1CD4-43F5-9C02-7920ED857D35 sp1 sp1 @@ -14631,7 +14642,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + AA056090-3D72-4BAC-A931-CD49C31B9D7E sp2 sp2 @@ -14642,7 +14653,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + C0CCCE2C-B2C8-44A1-9F6B-771BFE62D760 sp3 sp3 @@ -14655,7 +14666,7 @@ LABL 0 新宋体,8,N - + 8B728C73-2ED3-4C44-8C64-95692A16EA10 Key_1 Key_1 @@ -14664,12 +14675,12 @@ LABL 0 新宋体,8,N 1522660745 zhenghong - + - + @@ -14683,7 +14694,7 @@ LABL 0 新宋体,8,N 订单操作历史记录 - + 46247D13-9B17-44EB-9300-7BA49AC214FB id id @@ -14695,7 +14706,7 @@ LABL 0 新宋体,8,N 1 1 - + CBAA2797-F782-492E-89D8-B87830B4FD86 order_id order_id @@ -14706,7 +14717,7 @@ LABL 0 新宋体,8,N 订单id bigint - + B26D3031-3438-4CAB-BC93-2277F41D2F64 operate_man operate_man @@ -14718,7 +14729,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 14B87125-FC24-4D09-982E-F43F618B6C3A create_time create_time @@ -14729,7 +14740,7 @@ LABL 0 新宋体,8,N 操作时间 datetime - + 296A8CF6-1BC8-46E1-846F-25114FF35EEB order_status order_status @@ -14741,7 +14752,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 9F651D4E-088F-4735-ACAD-12ED16C49FDE note note @@ -14755,7 +14766,7 @@ LABL 0 新宋体,8,N - + 50772925-29B2-4E77-A02B-5AB8C229953C Key_1 Key_1 @@ -14764,12 +14775,12 @@ LABL 0 新宋体,8,N 1522725011 zhenghong - + - + @@ -14783,7 +14794,7 @@ LABL 0 新宋体,8,N 订单设置表 - + 03B16432-ECCE-4698-B24A-05554E64C35C id id @@ -14795,7 +14806,7 @@ LABL 0 新宋体,8,N 1 1 - + AC98E6B7-ADDF-43AD-B2F0-6CFE7715E9F1 flash_order_overtime flash_order_overtime @@ -14806,7 +14817,7 @@ LABL 0 新宋体,8,N 秒杀订单超时关闭时间(分) int - + C4E474C5-194A-4B54-8DF1-F37B681DE42B normal_order_overtime normal_order_overtime @@ -14817,7 +14828,7 @@ LABL 0 新宋体,8,N 正常订单超时时间(分) int - + 773FEFCD-F4A3-4D9E-B061-10C12CA1B397 confirm_overtime confirm_overtime @@ -14828,7 +14839,7 @@ LABL 0 新宋体,8,N 发货后自动确认收货时间(天) int - + DD5B89B8-5DC6-4EB1-B916-D76BD75CB0F5 finish_overtime finish_overtime @@ -14839,7 +14850,7 @@ LABL 0 新宋体,8,N 自动完成交易时间,不能申请售后(天) int - + D090D0ED-6A45-445C-ADE3-F1E18734F159 comment_overtime comment_overtime @@ -14852,7 +14863,7 @@ LABL 0 新宋体,8,N - + 7C2ADDA9-1584-4310-A3FE-7F1E18447823 Key_1 Key_1 @@ -14861,12 +14872,12 @@ LABL 0 新宋体,8,N 1522726101 zhenghong - + - + @@ -14880,7 +14891,7 @@ LABL 0 新宋体,8,N 订单退货申请 - + CF99B61C-D0E5-4EB4-BFC6-111A9F3D44E8 id id @@ -14892,7 +14903,7 @@ LABL 0 新宋体,8,N 1 1 - + A6E68B83-006A-468C-A461-C647705E038C order_id order_id @@ -14903,7 +14914,7 @@ LABL 0 新宋体,8,N 订单id bigint - + 8D1F23F9-09FD-416B-8E38-CFDE67721417 company_address_id company_address_id @@ -14913,7 +14924,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 56ACAE3C-5533-44A1-BA57-602058B6CEF2 order_sn order_sn @@ -14925,7 +14936,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + F2C78E24-CDB0-4AA7-B6CD-21E55B380E95 create_time create_time @@ -14935,7 +14946,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + 70FBE2CF-BE0D-44DD-8679-39DAA782E1A3 member_username member_username @@ -14946,7 +14957,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 7B8A70B3-9FC9-4136-BEC9-D2DF393DB988 return_amount return_amount @@ -14959,7 +14970,7 @@ LABL 0 新宋体,8,N 10 2 - + 4FB9898E-63E4-4B21-B577-504320D3D4F9 return_name return_name @@ -14970,7 +14981,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 8ADCC57B-6CA5-4A89-8B5A-6283FE7B3DDF return_phone return_phone @@ -14982,7 +14993,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + F01CC8D2-508C-424D-BF17-AE42ABE28223 status status @@ -14994,7 +15005,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 65402A2F-A01C-4B4D-9F19-9ACD48637159 handle_time handle_time @@ -15005,7 +15016,7 @@ LABL 0 新宋体,8,N 处理时间 datetime - + AADBD0C8-E8CD-45D6-BDF4-13840EEFA26C product_pic product_pic @@ -15016,7 +15027,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + B4BB6015-3948-411C-9558-6CAF55CEF04C product_name product_name @@ -15027,7 +15038,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + D30E609F-3F5C-401C-8690-EEA47B0E6694 brand_name brand_name @@ -15038,7 +15049,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 86B4B2F7-9A36-47AC-A3DA-7F45FFF21639 product_attr product_attr @@ -15050,7 +15061,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + DE661909-8CDC-4C09-A0C1-5587F969523A product_count product_count @@ -15061,7 +15072,7 @@ LABL 0 新宋体,8,N 退货数量 int - + B4DB3A15-7B0F-4C6D-B961-AF2C4CF14D50 reason reason @@ -15073,7 +15084,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + ECE8A578-4D6B-47EB-BB72-207D9BC93324 description description @@ -15085,7 +15096,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + E3C2C9CF-D72D-44AA-B1A3-5B5AC1950B63 proof_pics proof_pics @@ -15097,7 +15108,7 @@ LABL 0 新宋体,8,N varchar(1000) 1000 - + 4647C7DC-D2B4-48B7-B5F3-4524FBAAD875 return_post_amount return_post_amount @@ -15110,7 +15121,7 @@ LABL 0 新宋体,8,N 10 2 - + 8361AE87-5DC4-470B-B12E-4A2EF7708701 return_post_status return_post_status @@ -15122,7 +15133,7 @@ LABL 0 新宋体,8,N int(1) 1 - + 3870169D-4A55-444E-9574-19FB829E9CB8 confirm_return_amount confirm_return_amount @@ -15135,7 +15146,7 @@ LABL 0 新宋体,8,N 10 2 - + B16F27C1-DFFA-40F1-83B5-F9DA3BB86FE6 handle_note handle_note @@ -15147,7 +15158,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + B8982C29-EB0D-4F63-A047-DDEDC91A78C3 handle_man handle_man @@ -15159,7 +15170,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 49E217E2-31BF-4F23-8125-62D5920E0B60 receive_man receive_man @@ -15171,7 +15182,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 8111E4F5-B8EA-4DCB-B899-A2E4921E6BC2 receive_time receive_time @@ -15181,7 +15192,7 @@ LABL 0 新宋体,8,N zhenghong datetime - + 4C802C73-FB19-4C09-84C3-37E152CA8299 receive_note receive_note @@ -15194,7 +15205,7 @@ LABL 0 新宋体,8,N - + D06B934B-B63D-4DCC-B1C1-62F79744A8AC Key_1 Key_1 @@ -15203,12 +15214,12 @@ LABL 0 新宋体,8,N 1522732939 zhenghong - + - + @@ -15222,7 +15233,7 @@ LABL 0 新宋体,8,N 公司收发货地址表 - + F5A62BE4-F0B9-46C3-8591-5864BB83220D id id @@ -15234,7 +15245,7 @@ LABL 0 新宋体,8,N 1 1 - + 359C7F83-8810-4F75-935C-8099B75676C6 address_name address_name @@ -15246,7 +15257,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 5AA8AC8B-9617-4A6F-B898-4206F7CE8169 send_status send_status @@ -15258,7 +15269,7 @@ LABL 0 新宋体,8,N int(1) 1 - + CDF1655B-32CC-4E54-BBE7-5F00549B7722 receive_status receive_status @@ -15270,7 +15281,7 @@ LABL 0 新宋体,8,N int(1) 1 - + F5195500-8663-482B-B587-27789546188C name name @@ -15282,7 +15293,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + D51012F2-BECB-4E6B-A7E9-5B6AC06D9087 phone phone @@ -15294,7 +15305,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 3D2DC8D4-9D56-4E95-8266-052132761CDE province province @@ -15305,7 +15316,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + 57267BF2-434D-4AEC-8E6B-DDCAA85233F7 city city @@ -15316,7 +15327,7 @@ LABL 0 新宋体,8,N varchar(64) 64 - + F1F15023-139B-4048-8D0C-C9C46884C6E9 region region @@ -15329,7 +15340,7 @@ LABL 0 新宋体,8,N - + 9B8E57D5-D022-48D7-BA87-3214D2DAB1BD Key_1 Key_1 @@ -15338,12 +15349,12 @@ LABL 0 新宋体,8,N 1522745192 zhenghong - + - + @@ -15357,7 +15368,7 @@ LABL 0 新宋体,8,N 退货原因表 - + 8398CF1C-2327-4762-B370-7F7BB681FBE8 id id @@ -15369,7 +15380,7 @@ LABL 0 新宋体,8,N 1 1 - + 7C7CCC5E-FBE6-49A6-A428-95A8A078B4EA name name @@ -15381,7 +15392,7 @@ LABL 0 新宋体,8,N varchar(100) 100 - + 0C284FC4-E892-4BFF-B0AC-AD9BCB8E39D2 sort sort @@ -15391,7 +15402,7 @@ LABL 0 新宋体,8,N zhenghong int - + D0151FA2-84E3-4252-9565-766B748B7AD3 status status @@ -15405,7 +15416,7 @@ LABL 0 新宋体,8,N - + F0009D1F-CC14-45AA-BDB7-F25CFBBFE380 Key_1 Key_1 @@ -15414,12 +15425,12 @@ LABL 0 新宋体,8,N 1533115911 zhenghong - + - + @@ -15433,7 +15444,7 @@ LABL 0 新宋体,8,N 购物车表 - + 0496CCD8-F7CC-4DD4-AEE7-919D8EFCD676 id id @@ -15445,7 +15456,7 @@ LABL 0 新宋体,8,N 1 1 - + BC6AB2CA-354D-447A-A466-54980B87F57F product_id product_id @@ -15455,7 +15466,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 48241AB2-A6B4-48E5-A792-FAB72D97FD42 product_sku_id product_sku_id @@ -15465,7 +15476,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 70CEB9F6-7F7D-4AB1-BB9D-3667BA109C72 member_id member_id @@ -15475,7 +15486,7 @@ LABL 0 新宋体,8,N zhenghong bigint - + 8B8B68C0-7987-4E2B-9BAD-FF4F3428E03A quantity quantity @@ -15486,7 +15497,7 @@ LABL 0 新宋体,8,N 购买数量 int - + E2A71768-48C5-46B2-82B8-635169BFE66D price price @@ -15499,7 +15510,7 @@ LABL 0 新宋体,8,N 10 2 - + 1EB6341A-F163-4763-8A41-99BB5914189A sp1 sp1 @@ -15511,7 +15522,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 10C79639-93BE-48F3-B2A4-98AC7C338882 sp2 sp2 @@ -15523,7 +15534,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 629EE7D7-D006-4AB6-8EF9-0B30E4283004 sp3 sp3 @@ -15535,7 +15546,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + B5A53CF7-C87D-411B-89DF-41888E2722C7 product_pic product_pic @@ -15547,7 +15558,7 @@ LABL 0 新宋体,8,N varchar(1000) 1000 - + E1A4F06D-34AE-4B0C-BCC6-F82BA9D1A76F product_name product_name @@ -15559,7 +15570,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 2D4BFCEF-83F1-4697-8EF7-DCC5D2A9491D product_sub_title product_sub_title @@ -15571,7 +15582,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 8A7E5878-BB5E-49F3-BE20-E6986E172BB3 product_sku_code product_sku_code @@ -15583,7 +15594,7 @@ LABL 0 新宋体,8,N varchar(200) 200 - + 23C68713-D38A-4915-96E3-A9762199D386 member_nickname member_nickname @@ -15595,7 +15606,7 @@ LABL 0 新宋体,8,N varchar(500) 500 - + 5675315C-7265-4AC3-88D4-BC1525AC73B7 create_date create_date @@ -15606,7 +15617,7 @@ LABL 0 新宋体,8,N 创建时间 datetime - + 1D877A06-39CD-4A3C-B4A8-059588D13838 modify_date modify_date @@ -15617,7 +15628,7 @@ LABL 0 新宋体,8,N 修改时间 datetime - + 20EF4C13-435F-4C03-B8A9-7E31F1432E21 delete_status delete_status @@ -15632,7 +15643,7 @@ LABL 0 新宋体,8,N - + 29D735B7-E618-4C13-AF03-3858C68E6BA4 Key_1 Key_1 @@ -15641,12 +15652,12 @@ LABL 0 新宋体,8,N 1533108680 zhenghong - + - + @@ -15672,7 +15683,7 @@ LABL 0 新宋体,8,N - + 5236F74C-2761-4AC4-834A-BECC5D040393 1521706257 zhenghong @@ -15708,7 +15719,7 @@ LABL 0 新宋体,8,N - + 6EE78803-E5F6-4090-B810-7BBF7814F60C 1521710488 zhenghong @@ -15744,7 +15755,7 @@ LABL 0 新宋体,8,N - + 84F722B4-DF57-4BC3-88FD-B249B70D21A7 1521770349 zhenghong @@ -15780,7 +15791,7 @@ LABL 0 新宋体,8,N - + 0309D83E-51C3-4973-A636-9FEB27F4A6B6 1521771362 zhenghong @@ -15816,7 +15827,7 @@ LABL 0 新宋体,8,N - + 7B820697-9FFD-4446-B6DF-F03F4F02FFE3 1521773101 zhenghong @@ -15852,7 +15863,7 @@ LABL 0 新宋体,8,N - + 13DDC5F6-372D-47FF-AAFA-8AEF349E7FA8 1521783613 zhenghong @@ -15888,7 +15899,7 @@ LABL 0 新宋体,8,N - + 31ADEBC6-F176-41A7-8EAA-9AC3B8A253AB 1521791466 zhenghong @@ -15924,7 +15935,7 @@ LABL 0 新宋体,8,N - + F2B169B3-7AC8-4FB1-822D-E1C91DFF6FFD 1521792428 zhenghong @@ -15960,7 +15971,7 @@ LABL 0 新宋体,8,N - + 00AD7B43-F4CA-45D7-86BB-5756B4ED55BD 1521792909 zhenghong @@ -15996,7 +16007,7 @@ LABL 0 新宋体,8,N - + 286E06C6-6FAD-4323-82D9-6FB781153C46 1522045168 zhenghong @@ -16032,7 +16043,7 @@ LABL 0 新宋体,8,N - + A2161167-D453-4661-9BF0-71D8908A6C42 1522046100 zhenghong @@ -16068,7 +16079,7 @@ LABL 0 新宋体,8,N - + E25FF0B6-41E2-4801-8FE9-337EF9B991F7 1522046451 zhenghong @@ -16104,7 +16115,7 @@ LABL 0 新宋体,8,N - + 1E64FE44-48BA-49B0-BDE1-66DA22B89EFF 1522046456 zhenghong @@ -16140,7 +16151,7 @@ LABL 0 新宋体,8,N - + DEE74089-6A6D-4D7E-BADD-76E4D08EFA2D 1522112691 zhenghong @@ -16176,7 +16187,7 @@ LABL 0 新宋体,8,N - + 5D44A212-AD69-4958-BAAF-9E16ED63FC67 1522112694 zhenghong @@ -16212,7 +16223,7 @@ LABL 0 新宋体,8,N - + ECA8F78C-7015-44EB-9CD2-F72634D7F4BD 1522114406 zhenghong @@ -16248,7 +16259,7 @@ LABL 0 新宋体,8,N - + 32BD37D4-4436-4069-9BD1-90CF0B1867E0 1522115961 zhenghong @@ -16284,7 +16295,7 @@ LABL 0 新宋体,8,N - + 1A23B754-71EE-4496-B70F-0A3268C6F651 1522115983 zhenghong @@ -16320,7 +16331,7 @@ LABL 0 新宋体,8,N - + 1C883E67-84F9-4CD0-A4F5-D7CA2BE15DC5 1522118676 zhenghong @@ -16356,7 +16367,7 @@ LABL 0 新宋体,8,N - + 1CE2FCCB-DF37-4C88-99DD-FA8C3EE7A09C 1522119056 zhenghong @@ -16392,7 +16403,7 @@ LABL 0 新宋体,8,N - + 7D8DC4F2-D0A4-4CE9-B03E-44AE166786C0 1522120295 zhenghong @@ -16428,7 +16439,7 @@ LABL 0 新宋体,8,N - + 7CB99F50-753B-4347-B896-1F18D8FE6691 1522138613 zhenghong @@ -16464,7 +16475,7 @@ LABL 0 新宋体,8,N - + EC89DA87-A575-4940-973B-665854268261 1522138618 zhenghong @@ -16500,7 +16511,7 @@ LABL 0 新宋体,8,N - + 8E1A22EC-2246-48C4-A499-3D8A4D264C09 1522138705 zhenghong @@ -16536,7 +16547,7 @@ LABL 0 新宋体,8,N - + 2EA7348D-C8E8-4FCC-8215-01FE3AD58DFB 1522141157 zhenghong @@ -16572,7 +16583,7 @@ LABL 0 新宋体,8,N - + 8B858AAC-D00A-42FE-BEDC-73536876C045 1522141232 zhenghong @@ -16608,7 +16619,7 @@ LABL 0 新宋体,8,N - + FC3A22FE-FD24-4DF0-BAC8-22659D3C8987 1522141317 zhenghong @@ -16644,7 +16655,7 @@ LABL 0 新宋体,8,N - + 14DB9C0C-F9F0-4D4A-B44E-592028F6E75A 1522142006 zhenghong @@ -16677,10 +16688,10 @@ LABL 0 新宋体,8,N - + - + 15304E84-71AA-40B1-84CB-904384B34B25 1522215975 zhenghong @@ -16690,7 +16701,7 @@ LABL 0 新宋体,8,N - + @@ -16716,7 +16727,7 @@ LABL 0 新宋体,8,N - + 457237AD-87EB-4A09-BA9F-36198B10D2FF 1522216015 zhenghong @@ -16726,7 +16737,7 @@ LABL 0 新宋体,8,N - + @@ -16749,10 +16760,10 @@ LABL 0 新宋体,8,N - + - + 3C2E5F27-A07C-4D88-9357-089D36122A25 1522216251 zhenghong @@ -16762,7 +16773,7 @@ LABL 0 新宋体,8,N - + @@ -16788,7 +16799,7 @@ LABL 0 新宋体,8,N - + A8FA4798-0F1E-4D96-A254-77F5D71F6BBD 1522216380 zhenghong @@ -16798,7 +16809,7 @@ LABL 0 新宋体,8,N - + @@ -16821,10 +16832,10 @@ LABL 0 新宋体,8,N - + - + 5026171A-4B51-4B83-A113-4051F1E4F415 1522220508 zhenghong @@ -16834,7 +16845,7 @@ LABL 0 新宋体,8,N - + @@ -16857,20 +16868,20 @@ LABL 0 新宋体,8,N - + - + 462222B9-A203-4D60-A353-A168356E3140 1522220546 zhenghong 1522220546 zhenghong - + - + @@ -16896,7 +16907,7 @@ LABL 0 新宋体,8,N - + BD28F911-4F98-4C9D-9171-E99F60476E2A 1522224364 zhenghong @@ -16906,7 +16917,7 @@ LABL 0 新宋体,8,N - + @@ -16932,7 +16943,7 @@ LABL 0 新宋体,8,N - + 8D1675C9-7749-4831-A5E6-ACD971AACF57 1522225874 zhenghong @@ -16942,7 +16953,7 @@ LABL 0 新宋体,8,N - + @@ -16968,7 +16979,7 @@ LABL 0 新宋体,8,N - + B30347B3-4138-4EA8-A0F5-EF0D9A34E01F 1522226077 zhenghong @@ -16978,7 +16989,7 @@ LABL 0 新宋体,8,N - + @@ -17004,7 +17015,7 @@ LABL 0 新宋体,8,N - + 7D29D8DF-7EF1-4F43-928F-DDAC96A23858 1522226272 zhenghong @@ -17014,7 +17025,7 @@ LABL 0 新宋体,8,N - + @@ -17037,17 +17048,17 @@ LABL 0 新宋体,8,N - + - + EB0A7FB4-285A-4D5D-BC1D-E9B299069C1F 1522301998 zhenghong 1522301998 zhenghong - + @@ -17073,20 +17084,20 @@ LABL 0 新宋体,8,N - + - + 942BBD31-85B8-46EA-893C-CB327C86F5BA 1522303390 zhenghong 1522303390 zhenghong - + - + @@ -17112,7 +17123,7 @@ LABL 0 新宋体,8,N - + 1E5174EE-C0B0-4144-98D5-679634DCCAEE 1522303410 zhenghong @@ -17122,7 +17133,7 @@ LABL 0 新宋体,8,N - + @@ -17145,20 +17156,20 @@ LABL 0 新宋体,8,N - + - + BD55704C-3F36-44CC-90E1-143F097FA894 1522304178 zhenghong 1522304178 zhenghong - + - + @@ -17181,20 +17192,20 @@ LABL 0 新宋体,8,N - + - + 17EC5CAA-580C-493D-9C2D-2EA3E9732A78 1522386868 zhenghong 1522386868 zhenghong - + - + @@ -17217,20 +17228,20 @@ LABL 0 新宋体,8,N - + - + F469B162-D88C-42A3-B64C-7B2751A4FCE1 1522387461 zhenghong 1522387461 zhenghong - + - + @@ -17256,7 +17267,7 @@ LABL 0 新宋体,8,N - + 1D18BF30-4375-4618-A1C9-6DC998F248E4 1522387526 zhenghong @@ -17266,7 +17277,7 @@ LABL 0 新宋体,8,N - + @@ -17289,20 +17300,20 @@ LABL 0 新宋体,8,N - + - + 183F9969-663E-4842-ABC2-C938F02C05E4 1522389232 zhenghong 1522389232 zhenghong - + - + @@ -17325,20 +17336,20 @@ LABL 0 新宋体,8,N - + - + AC355266-228D-4333-8E95-D13F2D176DB4 1522390434 zhenghong 1522390434 zhenghong - + - + @@ -17361,20 +17372,20 @@ LABL 0 新宋体,8,N - + - + 3A358827-AE90-4AC6-80E6-CA340D69F7F2 1522390644 zhenghong 1522390644 zhenghong - + - + @@ -17397,20 +17408,20 @@ LABL 0 新宋体,8,N - + - + B0F12E0B-F2E6-40A6-AD2B-9FE858AAA8BE 1522391366 zhenghong 1522391366 zhenghong - + - + @@ -17433,20 +17444,20 @@ LABL 0 新宋体,8,N - + - + F46C48A9-78A1-4C9A-BD75-DE0ED230A76D 1522391379 zhenghong 1522391380 zhenghong - + - + @@ -17469,20 +17480,20 @@ LABL 0 新宋体,8,N - + - + 711AD4D5-212E-4E3B-BB26-DB79C4BE4E52 1522396648 zhenghong 1522396648 zhenghong - + - + @@ -17505,20 +17516,20 @@ LABL 0 新宋体,8,N - + - + 094B7BE5-D0AB-4987-8D74-508A27D3117F 1522396864 zhenghong 1522396864 zhenghong - + - + @@ -17541,20 +17552,20 @@ LABL 0 新宋体,8,N - + - + 8C15D427-62A0-40E7-9B02-84063CC6EB94 1522659209 zhenghong 1522659209 zhenghong - + - + @@ -17577,20 +17588,20 @@ LABL 0 新宋体,8,N - + - + 043B7E7F-6688-42FD-BECE-3A4CE5A560F2 1522660753 zhenghong 1522660753 zhenghong - + - + @@ -17616,7 +17627,7 @@ LABL 0 新宋体,8,N - + 3592DAA0-2C95-48CF-9359-C157A0E27DC3 1522660820 zhenghong @@ -17626,7 +17637,7 @@ LABL 0 新宋体,8,N - + @@ -17649,17 +17660,17 @@ LABL 0 新宋体,8,N - + - + BEE8D279-8DBF-40B3-899D-5B07570D0AD9 1522721755 zhenghong 1522721755 zhenghong - + @@ -17685,10 +17696,10 @@ LABL 0 新宋体,8,N - + - + F5D0566A-35C3-4451-9C7D-782BC776C53E 1522724329 zhenghong @@ -17698,7 +17709,7 @@ LABL 0 新宋体,8,N - + @@ -17721,20 +17732,20 @@ LABL 0 新宋体,8,N - + - + 3AA8813B-9363-406A-91DF-4AD16E9C3CCA 1522725331 zhenghong 1522725331 zhenghong - + - + @@ -17757,20 +17768,20 @@ LABL 0 新宋体,8,N - + - + DD05624A-7E08-4273-9758-C5EDA1A03134 1522733188 zhenghong 1522733188 zhenghong - + - + @@ -17793,20 +17804,20 @@ LABL 0 新宋体,8,N - + - + EBF8A4B9-24B3-4D18-82FD-D12F847328C6 1522745521 zhenghong 1522745521 zhenghong - + - + @@ -17832,7 +17843,7 @@ LABL 0 新宋体,8,N - + BA7665F0-D173-45C6-AFE8-3C93CF330D79 1533109970 zhenghong @@ -17842,7 +17853,7 @@ LABL 0 新宋体,8,N - + @@ -17868,7 +17879,7 @@ LABL 0 新宋体,8,N - + 521484A5-B9C4-477D-8D45-97F7B15D7854 1533115829 zhenghong @@ -17878,7 +17889,7 @@ LABL 0 新宋体,8,N - + @@ -17901,27 +17912,27 @@ LABL 0 新宋体,8,N - + - + FCADB7B3-0636-44C7-8AB4-067148971867 1533115896 zhenghong 1533115911 zhenghong - + - + - + 48492A0F-63AD-4453-B46B-89915CC87545 PUBLIC PUBLIC @@ -17932,7 +17943,7 @@ LABL 0 新宋体,8,N - + 232AA7B8-E743-48F3-9530-102684B229BE MySQL 5.0 MYSQL50 diff --git a/document/pdm/mall.pdm b/document/pdm/mall.pdm index 77f12f4..6976e88 100644 --- a/document/pdm/mall.pdm +++ b/document/pdm/mall.pdm @@ -1,5 +1,5 @@ - + @@ -4739,8 +4739,8 @@ DESTINATION 0 新宋体,8,N 1522215975 1522398810 -((62000,154582), (65163,155832)) -((62400,155207),(64763,155207)) +((62000,154586), (65163,155836)) +((62400,155211),(64763,155211)) 1 1 12615680 @@ -4783,8 +4783,8 @@ DESTINATION 0 新宋体,8,N 1522216251 1522398808 -((62486,144995), (65163,146245)) -((62886,145620),(64763,145620)) +((62486,144992), (65163,146242)) +((62886,145617),(64763,145617)) 1 1 12615680 @@ -4827,8 +4827,8 @@ DESTINATION 0 新宋体,8,N 1522220508 1522398822 -((77597,151204), (82750,152454)) -((82350,151829),(77997,151829)) +((77597,151205), (82750,152455)) +((82350,151830),(77997,151830)) 1 1 12615680 @@ -5356,8 +5356,8 @@ DESTINATION 0 新宋体,8,N 1522724329 1522724329 -((-100297,77071), (65163,153165)) -((-99897,102538),(-99897,77471),(35821,77471),(35821,152540),(64763,152540)) +((-100297,77071), (65163,153166)) +((-99897,102538),(-99897,77471),(35821,77471),(35821,152541),(64763,152541)) 1 1 12615680 @@ -6285,7 +6285,7 @@ LABL 0 新宋体,8,N 1522215010 1535438727 -1 -((64763,140886), (77997,157158)) +((64763,140885), (77997,157159)) 12615680 16570034 12632256 @@ -11041,7 +11041,7 @@ LABL 0 新宋体,8,N sms_coupon 1522215010 zhenghong -1535439531 +1535444414 zhenghong 优惠卷表 @@ -11087,10 +11087,10 @@ LABL 0 新宋体,8,N platform 1522215086 zhenghong -1522215279 +1535445907 zhenghong 使用平台:0->全部;1->移动;2->PC -varchar(1) +int(1) 1 @@ -11301,9 +11301,9 @@ LABL 0 新宋体,8,N coupon_id 1522215975 zhenghong -1522215991 +1535445127 zhenghong -int +bigint 39E7492F-B104-48BA-9460-88C66C6B971E diff --git a/mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java b/mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java index 53e306e..fa7826b 100644 --- a/mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java +++ b/mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java @@ -5,7 +5,6 @@ import com.macro.mall.dto.PmsProductParam; import com.macro.mall.dto.PmsProductQueryParam; import com.macro.mall.dto.PmsProductResult; import com.macro.mall.model.PmsProduct; -import com.macro.mall.model.PmsProductVertifyRecord; import com.macro.mall.service.PmsProductService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -60,7 +59,7 @@ public class PmsProductController { } @ApiOperation("查询商品") - @RequestMapping(value = "list", method = RequestMethod.GET) + @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public Object getList(PmsProductQueryParam productQueryParam, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, diff --git a/mall-admin/src/main/java/com/macro/mall/controller/SmsCouponController.java b/mall-admin/src/main/java/com/macro/mall/controller/SmsCouponController.java new file mode 100644 index 0000000..3e2d27f --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/controller/SmsCouponController.java @@ -0,0 +1,69 @@ +package com.macro.mall.controller; + +import com.macro.mall.dto.CommonResult; +import com.macro.mall.dto.SmsCouponParam; +import com.macro.mall.model.SmsCoupon; +import com.macro.mall.service.SmsCouponService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 优惠券管理Controller + * Created by macro on 2018/8/28. + */ +@Controller +@Api(tags = "SmsCouponController", description = "优惠券管理") +@RequestMapping("/coupon") +public class SmsCouponController { + @Autowired + private SmsCouponService couponService; + @ApiOperation("添加优惠券") + @RequestMapping(value = "/add", method = RequestMethod.POST) + @ResponseBody + public Object add(@RequestBody SmsCouponParam couponParam) { + int count = couponService.add(couponParam); + if(count>0){ + return new CommonResult().success(count); + } + return new CommonResult().failed(); + } + + @ApiOperation("删除优惠券") + @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) + @ResponseBody + public Object delete(@PathVariable Long id) { + int count = couponService.delete(id); + if(count>0){ + return new CommonResult().success(count); + } + return new CommonResult().failed(); + } + + @ApiOperation("修改优惠券") + @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) + @ResponseBody + public Object update(@PathVariable Long id,@RequestBody SmsCouponParam couponParam) { + int count = couponService.update(id,couponParam); + if(count>0){ + return new CommonResult().success(count); + } + return new CommonResult().failed(); + } + + @ApiOperation("根据优惠券名称和类型分页获取优惠券列表") + @RequestMapping(value = "/list", method = RequestMethod.GET) + @ResponseBody + public Object list( + @RequestParam(value = "name",required = false) String name, + @RequestParam(value = "type",required = false) Integer type, + @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, + @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { + List couponList = couponService.list(name,type,pageSize,pageNum); + return new CommonResult().pageSuccess(couponList); + } +} diff --git a/mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductCategoryRelationDao.java b/mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductCategoryRelationDao.java new file mode 100644 index 0000000..78973ab --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductCategoryRelationDao.java @@ -0,0 +1,14 @@ +package com.macro.mall.dao; + +import com.macro.mall.model.SmsCouponProductCategoryRelation; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 优惠券和商品分类关系自定义Dao + * Created by macro on 2018/8/28. + */ +public interface SmsCouponProductCategoryRelationDao { + int insertList(@Param("list")List productCategoryRelationList); +} diff --git a/mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductRelationDao.java b/mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductRelationDao.java new file mode 100644 index 0000000..f78531e --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductRelationDao.java @@ -0,0 +1,14 @@ +package com.macro.mall.dao; + +import com.macro.mall.model.SmsCouponProductRelation; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 优惠券和产品关系自定义Dao + * Created by macro on 2018/8/28. + */ +public interface SmsCouponProductRelationDao { + int insertList(@Param("list")List productRelationList); +} diff --git a/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java b/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java new file mode 100644 index 0000000..99643cb --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java @@ -0,0 +1,34 @@ +package com.macro.mall.dto; + +import com.macro.mall.model.SmsCoupon; +import com.macro.mall.model.SmsCouponProductCategoryRelation; +import com.macro.mall.model.SmsCouponProductRelation; + +import java.util.List; + +/** + * 优惠券信息封装,包括绑定商品和绑定分类 + * Created by macro on 2018/8/28. + */ +public class SmsCouponParam extends SmsCoupon { + //优惠券绑定的商品 + private List productRelationList; + //优惠券绑定的商品分类 + private List productCategoryRelationList; + + public List getProductRelationList() { + return productRelationList; + } + + public void setProductRelationList(List productRelationList) { + this.productRelationList = productRelationList; + } + + public List getProductCategoryRelationList() { + return productCategoryRelationList; + } + + public void setProductCategoryRelationList(List productCategoryRelationList) { + this.productCategoryRelationList = productCategoryRelationList; + } +} diff --git a/mall-admin/src/main/java/com/macro/mall/service/SmsCouponService.java b/mall-admin/src/main/java/com/macro/mall/service/SmsCouponService.java new file mode 100644 index 0000000..05ed595 --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/service/SmsCouponService.java @@ -0,0 +1,36 @@ +package com.macro.mall.service; + +import com.macro.mall.dto.SmsCouponParam; +import com.macro.mall.model.SmsCoupon; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; + +/** + * 优惠券管理Service + * Created by macro on 2018/8/28. + */ +public interface SmsCouponService { + /** + * 添加优惠券 + */ + @Transactional + int add(SmsCouponParam couponParam); + + /** + * 根据优惠券id删除优惠券 + */ + @Transactional + int delete(Long id); + + /** + * 根据优惠券id更新优惠券信息 + */ + @Transactional + int update(Long id, SmsCouponParam couponParam); + + /** + * 分页获取优惠券列表 + */ + List list(String name, Integer type, Integer pageSize, Integer pageNum); +} diff --git a/mall-admin/src/main/java/com/macro/mall/service/impl/SmsCouponServiceImpl.java b/mall-admin/src/main/java/com/macro/mall/service/impl/SmsCouponServiceImpl.java new file mode 100644 index 0000000..81a69c7 --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/service/impl/SmsCouponServiceImpl.java @@ -0,0 +1,115 @@ +package com.macro.mall.service.impl; + +import com.github.pagehelper.PageHelper; +import com.macro.mall.dao.SmsCouponProductCategoryRelationDao; +import com.macro.mall.dao.SmsCouponProductRelationDao; +import com.macro.mall.dto.SmsCouponParam; +import com.macro.mall.mapper.SmsCouponMapper; +import com.macro.mall.mapper.SmsCouponProductCategoryRelationMapper; +import com.macro.mall.mapper.SmsCouponProductRelationMapper; +import com.macro.mall.model.*; +import com.macro.mall.service.SmsCouponService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.util.StringUtils; + +import java.util.List; + +/** + * 优惠券管理Service实现类 + * Created by macro on 2018/8/28. + */ +@Service +public class SmsCouponServiceImpl implements SmsCouponService { + @Autowired + private SmsCouponMapper couponMapper; + @Autowired + private SmsCouponProductRelationMapper productRelationMapper; + @Autowired + private SmsCouponProductCategoryRelationMapper productCategoryRelationMapper; + @Autowired + private SmsCouponProductRelationDao productRelationDao; + @Autowired + private SmsCouponProductCategoryRelationDao productCategoryRelationDao; + @Override + public int add(SmsCouponParam couponParam) { + //插入优惠券表 + // TODO: 2018/8/28 生成优惠券条码 + int count = couponMapper.insert(couponParam); + //插入优惠券和商品关系表 + if(couponParam.getUseType().equals(2)){ + for(SmsCouponProductRelation productRelation:couponParam.getProductRelationList()){ + productRelation.setCouponId(couponParam.getId()); + } + productRelationDao.insertList(couponParam.getProductRelationList()); + } + //插入优惠券和商品分类关系表 + if(couponParam.getUseType().equals(1)){ + for (SmsCouponProductCategoryRelation couponProductCategoryRelation : couponParam.getProductCategoryRelationList()) { + couponProductCategoryRelation.setCouponId(couponParam.getId()); + } + productCategoryRelationDao.insertList(couponParam.getProductCategoryRelationList()); + } + return count; + } + + @Override + public int delete(Long id) { + //删除优惠券 + int count = couponMapper.deleteByPrimaryKey(id); + //删除商品关联 + deleteProductRelation(id); + //删除商品分类关联 + deleteProductCategoryRelation(id); + return count; + } + + private void deleteProductCategoryRelation(Long id) { + SmsCouponProductCategoryRelationExample productCategoryRelationExample = new SmsCouponProductCategoryRelationExample(); + productCategoryRelationExample.createCriteria().andCouponIdEqualTo(id); + productCategoryRelationMapper.deleteByExample(productCategoryRelationExample); + } + + private void deleteProductRelation(Long id) { + SmsCouponProductRelationExample productRelationExample = new SmsCouponProductRelationExample(); + productRelationExample.createCriteria().andCouponIdEqualTo(id); + productRelationMapper.deleteByExample(productRelationExample); + } + + @Override + public int update(Long id, SmsCouponParam couponParam) { + couponParam.setId(id); + int count =couponMapper.updateByPrimaryKey(couponParam); + //删除后插入优惠券和商品关系表 + if(couponParam.getUseType().equals(2)){ + for(SmsCouponProductRelation productRelation:couponParam.getProductRelationList()){ + productRelation.setCouponId(couponParam.getId()); + } + deleteProductRelation(id); + productRelationDao.insertList(couponParam.getProductRelationList()); + } + //删除后插入优惠券和商品分类关系表 + if(couponParam.getUseType().equals(1)){ + for (SmsCouponProductCategoryRelation couponProductCategoryRelation : couponParam.getProductCategoryRelationList()) { + couponProductCategoryRelation.setCouponId(couponParam.getId()); + } + deleteProductCategoryRelation(id); + productCategoryRelationDao.insertList(couponParam.getProductCategoryRelationList()); + } + return count; + } + + @Override + public List list(String name, Integer type, Integer pageSize, Integer pageNum) { + SmsCouponExample example = new SmsCouponExample(); + SmsCouponExample.Criteria criteria = example.createCriteria(); + if(!StringUtils.isEmpty(name)){ + criteria.andNameLike("%"+name+"%"); + } + if(type!=null){ + criteria.andTypeEqualTo(type); + } + PageHelper.startPage(pageNum,pageSize); + return couponMapper.selectByExample(example); + } +} diff --git a/mall-admin/src/main/resources/dao/SmsCouponProductCategoryRelationDao.xml b/mall-admin/src/main/resources/dao/SmsCouponProductCategoryRelationDao.xml new file mode 100644 index 0000000..929627d --- /dev/null +++ b/mall-admin/src/main/resources/dao/SmsCouponProductCategoryRelationDao.xml @@ -0,0 +1,11 @@ + + + + + INSERT INTO sms_coupon_product_category_relation (product_category_id,coupon_id) VALUES + + (#{item.productCategoryId,jdbcType=BIGINT}, + #{item.couponId,jdbcType=INTEGER}) + + + \ No newline at end of file diff --git a/mall-admin/src/main/resources/dao/SmsCouponProductRelationDao.xml b/mall-admin/src/main/resources/dao/SmsCouponProductRelationDao.xml new file mode 100644 index 0000000..f65e945 --- /dev/null +++ b/mall-admin/src/main/resources/dao/SmsCouponProductRelationDao.xml @@ -0,0 +1,11 @@ + + + + + INSERT INTO sms_coupon_product_relation (product_id,coupon_id) VALUES + + (#{item.productId,jdbcType=BIGINT}, + #{item.couponId,jdbcType=INTEGER}) + + + \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java index e96196d..df26152 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java @@ -21,7 +21,7 @@ public class SmsCoupon implements Serializable { * * @mbggenerated */ - private String platform; + private Integer platform; /** * 数量 @@ -137,11 +137,11 @@ public class SmsCoupon implements Serializable { this.name = name; } - public String getPlatform() { + public Integer getPlatform() { return platform; } - public void setPlatform(String platform) { + public void setPlatform(Integer platform) { this.platform = platform; } diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java index 088a033..0b778b8 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java @@ -306,62 +306,52 @@ public class SmsCouponExample { return (Criteria) this; } - public Criteria andPlatformEqualTo(String value) { + public Criteria andPlatformEqualTo(Integer value) { addCriterion("platform =", value, "platform"); return (Criteria) this; } - public Criteria andPlatformNotEqualTo(String value) { + public Criteria andPlatformNotEqualTo(Integer value) { addCriterion("platform <>", value, "platform"); return (Criteria) this; } - public Criteria andPlatformGreaterThan(String value) { + public Criteria andPlatformGreaterThan(Integer value) { addCriterion("platform >", value, "platform"); return (Criteria) this; } - public Criteria andPlatformGreaterThanOrEqualTo(String value) { + public Criteria andPlatformGreaterThanOrEqualTo(Integer value) { addCriterion("platform >=", value, "platform"); return (Criteria) this; } - public Criteria andPlatformLessThan(String value) { + public Criteria andPlatformLessThan(Integer value) { addCriterion("platform <", value, "platform"); return (Criteria) this; } - public Criteria andPlatformLessThanOrEqualTo(String value) { + public Criteria andPlatformLessThanOrEqualTo(Integer value) { addCriterion("platform <=", value, "platform"); return (Criteria) this; } - public Criteria andPlatformLike(String value) { - addCriterion("platform like", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformNotLike(String value) { - addCriterion("platform not like", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformIn(List values) { + public Criteria andPlatformIn(List values) { addCriterion("platform in", values, "platform"); return (Criteria) this; } - public Criteria andPlatformNotIn(List values) { + public Criteria andPlatformNotIn(List values) { addCriterion("platform not in", values, "platform"); return (Criteria) this; } - public Criteria andPlatformBetween(String value1, String value2) { + public Criteria andPlatformBetween(Integer value1, Integer value2) { addCriterion("platform between", value1, value2, "platform"); return (Criteria) this; } - public Criteria andPlatformNotBetween(String value1, String value2) { + public Criteria andPlatformNotBetween(Integer value1, Integer value2) { addCriterion("platform not between", value1, value2, "platform"); return (Criteria) this; } diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java index 9f4c8ba..a6ab074 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java @@ -5,7 +5,7 @@ import java.io.Serializable; public class SmsCouponProductRelation implements Serializable { private Long id; - private Integer couponId; + private Long couponId; private Long productId; @@ -19,11 +19,11 @@ public class SmsCouponProductRelation implements Serializable { this.id = id; } - public Integer getCouponId() { + public Long getCouponId() { return couponId; } - public void setCouponId(Integer couponId) { + public void setCouponId(Long couponId) { this.couponId = couponId; } diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java index 3f75c69..fc83d23 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java @@ -174,52 +174,52 @@ public class SmsCouponProductRelationExample { return (Criteria) this; } - public Criteria andCouponIdEqualTo(Integer value) { + public Criteria andCouponIdEqualTo(Long value) { addCriterion("coupon_id =", value, "couponId"); return (Criteria) this; } - public Criteria andCouponIdNotEqualTo(Integer value) { + public Criteria andCouponIdNotEqualTo(Long value) { addCriterion("coupon_id <>", value, "couponId"); return (Criteria) this; } - public Criteria andCouponIdGreaterThan(Integer value) { + public Criteria andCouponIdGreaterThan(Long value) { addCriterion("coupon_id >", value, "couponId"); return (Criteria) this; } - public Criteria andCouponIdGreaterThanOrEqualTo(Integer value) { + public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { addCriterion("coupon_id >=", value, "couponId"); return (Criteria) this; } - public Criteria andCouponIdLessThan(Integer value) { + public Criteria andCouponIdLessThan(Long value) { addCriterion("coupon_id <", value, "couponId"); return (Criteria) this; } - public Criteria andCouponIdLessThanOrEqualTo(Integer value) { + public Criteria andCouponIdLessThanOrEqualTo(Long value) { addCriterion("coupon_id <=", value, "couponId"); return (Criteria) this; } - public Criteria andCouponIdIn(List values) { + public Criteria andCouponIdIn(List values) { addCriterion("coupon_id in", values, "couponId"); return (Criteria) this; } - public Criteria andCouponIdNotIn(List values) { + public Criteria andCouponIdNotIn(List values) { addCriterion("coupon_id not in", values, "couponId"); return (Criteria) this; } - public Criteria andCouponIdBetween(Integer value1, Integer value2) { + public Criteria andCouponIdBetween(Long value1, Long value2) { addCriterion("coupon_id between", value1, value2, "couponId"); return (Criteria) this; } - public Criteria andCouponIdNotBetween(Integer value1, Integer value2) { + public Criteria andCouponIdNotBetween(Long value1, Long value2) { addCriterion("coupon_id not between", value1, value2, "couponId"); return (Criteria) this; } diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml index 97c5766..7f2fadb 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml @@ -5,7 +5,7 @@ - + @@ -123,7 +123,7 @@ use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level) - values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR}, + values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, @@ -196,7 +196,7 @@ #{name,jdbcType=VARCHAR}, - #{platform,jdbcType=VARCHAR}, + #{platform,jdbcType=INTEGER}, #{count,jdbcType=INTEGER}, @@ -261,7 +261,7 @@ name = #{record.name,jdbcType=VARCHAR}, - platform = #{record.platform,jdbcType=VARCHAR}, + platform = #{record.platform,jdbcType=INTEGER}, count = #{record.count,jdbcType=INTEGER}, @@ -315,7 +315,7 @@ set id = #{record.id,jdbcType=BIGINT}, type = #{record.type,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, - platform = #{record.platform,jdbcType=VARCHAR}, + platform = #{record.platform,jdbcType=INTEGER}, count = #{record.count,jdbcType=INTEGER}, amount = #{record.amount,jdbcType=DECIMAL}, per_limit = #{record.perLimit,jdbcType=INTEGER}, @@ -344,7 +344,7 @@ name = #{name,jdbcType=VARCHAR}, - platform = #{platform,jdbcType=VARCHAR}, + platform = #{platform,jdbcType=INTEGER}, count = #{count,jdbcType=INTEGER}, @@ -395,7 +395,7 @@ update sms_coupon set type = #{type,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, - platform = #{platform,jdbcType=VARCHAR}, + platform = #{platform,jdbcType=INTEGER}, count = #{count,jdbcType=INTEGER}, amount = #{amount,jdbcType=DECIMAL}, per_limit = #{perLimit,jdbcType=INTEGER}, diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml index 10cf327..fd05c2c 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml @@ -3,7 +3,7 @@ - + @@ -102,7 +102,7 @@ SELECT LAST_INSERT_ID() insert into sms_coupon_product_relation (coupon_id, product_id) - values (#{couponId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}) + values (#{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) @@ -119,7 +119,7 @@ - #{couponId,jdbcType=INTEGER}, + #{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, @@ -139,7 +139,7 @@ id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=INTEGER}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, @@ -152,7 +152,7 @@ update sms_coupon_product_relation set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=INTEGER}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT} @@ -162,7 +162,7 @@ update sms_coupon_product_relation - coupon_id = #{couponId,jdbcType=INTEGER}, + coupon_id = #{couponId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, @@ -172,7 +172,7 @@ update sms_coupon_product_relation - set coupon_id = #{couponId,jdbcType=INTEGER}, + set coupon_id = #{couponId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}