快递管理系统 [英] courier managment system
本文介绍了快递管理系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前正在制作一个快递管理系统的项目
我有问题,如何计算2个城市或州之间的费率?以及如何将它存储在数据库中?..
请告诉我,我很困惑
i ''m just currently making a project which is courier management system
i have question that how to count rates between 2 city or state? and how to store it in db?..
please tell me i''m very confused
推荐答案
我也在同一个项目但在网上...
如果你想使用c ++那么如果文件系统你必须存储数据库(我无法解释)
我只是解释你我使用的是sql
快递费是由三个设定的类型..
1)区域明智
2)国家/地区
3)城市/邮政编码到城市/邮政编码
地区是一组国家。
我制作一张表来存储这些数据
couriercharge(id,fregionid,fcountryid,flocationid,tregionid,tcountryid,tlocationid,weightid,chargeamount)
f - 代表
t - 代表
你必须连接区域 - 国家和地点。
这里重量也考虑...
因为体重不同具有不同courrier率的范围
为0-1 kg可以每100 gm收取15 rs
1.001 -2.000 kg收费14 rs每100克等...
详细信息 - 你可以问一下你卡住的概念..
(如果你喜欢它请评价它&标记也有解决方案)
以上
只是介绍你看到的详细信息联邦快递,ups网站
谢谢
Asp.Net C#Blog [ ^ ]
Hemant Singh
Hi,
I am also working same project but On web...
if you want to work with c++ then if filesystem you have to store database(which I cant explain)
I just explain you which I used sql
the courier charge are set by three type..
1) region wise
2) country to country
3) city/postcode to city/postcode
Region is group of countries.
I make a table to store these data
couriercharge (id, fregionid,fcountryid,flocationid,tregionid,tcountryid,tlocationid,weightid,chargeamount)
f - stand for from
t - stand for to
you have to connect region - country and location.
here weight also consider...
because different weight range having different courrier rate
as 0-1 kg may be charge by 15 rs per 100 gm
1.001 -2.000 kg charge by 14 rs per 100 gm etc...
For detail-- You can ask regarding the concept where you stuck..
(If you like it please rate it & mark also with solution)
above is just introduction of courrier charges you see for detail fedex ,ups website
Thanks
Asp.Net C# Blog[^]
Hemant Singh
如果它只是一个玩具应用程序,那么您可以简单地根据距离计算费率城市,即双倍距离意味着双倍率等等。
例如,您的数据库可能包含一个矩阵,其中包含城市对之间的所有距离。
If it is just a toy application then you may computes rates simply based on distance between the cities, that is double distance implies double rate and so on.
Your database, for instance, could contain a matrix with all the distances between city pairs.
这篇关于快递管理系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文