TDG(Taobao Dai Gou)
===
You can treat this project as a simple ERP(Enterprise Resource Planning) system.
simple product management repo with basic finance functions.
===开源项目使用情况===
SpringFramework 3.2.2 + SpringMVC + MyBatis 3.2.2 + freemarker + mysql
===目前版本== v0.9 - 20140401 正常的功能全部完成,遗留部分浏览器兼容问题。
===MySql 配置===
-
create user 'tdg'@'%' IDENTIFIED by '';
-
GRANT ALL ON tdg.* TO 'tdg'@'%';
-
导入各个表请使用 source doc/tdg.sql
-
配置自增起始数:
alter table seller AUTO_INCREMENT = 10000;
alter table customer AUTO_INCREMENT= 10000;
alter table product AUTO_INCREMENT = 1000000;
alter table item AUTO_INCREMENT = 1000000;
===部署时注意事项===
- productLine表必须优先内置
- country表需要内置,修改js/customer/cart.js中默认的ChinaCode
- product,item,seller,customer需要更改起始数目(目前设定国际地址仅接受发货国与中国,若去掉该限制,只需要将ChinaCode相关的一行干掉即可)
- 数据库必须是utf-8,tomcat配置uriencoding=utf8
- 目前卖家统一用美元结算,在翻译提交翻译内容时不再检测卖家是否设置货币,FinanceService-line457