1. 新增一个SKU包裹重记录表,设计如下:
create table RB_Product_PackageWeight
(
ID bigint identity(1,1) primary key,
CustomerID int not null,
SKU varchar(50) not null,
PackageNo varchar(50) not null default(''),
PackWeight money not null default(0),
AddTime datetime
)
2. 提供一个插入包裹重的方法给程伟,并传入事务对象,RB.DAL.DALHelper hpTran
3. 增加一个定时服务,过滤符合条件的包裹重记录并取平均值更新到产品库,并记录产品日志(注:增加一个增量服务,每次记录最后一次计算时间)
