Commit 1ec67142 by shuhu.hou@freemud.cn

Merge remote-tracking branch 'origin/qa' into qa

parents d78b6264 7fa6dfab
......@@ -151,7 +151,7 @@ public class MaterialPromotionService implements IPromotionService {
mApportion.put(pk, materialApportion);
continue;
}
MaterialApportion apportion = mApportion.get(material.getGoodsId());
MaterialApportion apportion = mApportion.get(pk);
apportion.setSalePrice(apportion.getSalePrice() + material.getNowPrice());
apportion.setAmount(apportion.getAmount() + material.getNowPrice() * material.getGoodsQuantity());
apportion.setApportionAmount(apportion.getApportionAmount() + material.getApportionAmount() * material.getGoodsQuantity());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment