Commit bb36f672 by wuwenlong

bugfix

parent fcd62acd
...@@ -164,7 +164,7 @@ public class ServiceHPKC013 extends ServiceBase { ...@@ -164,7 +164,7 @@ public class ServiceHPKC013 extends ServiceBase {
// 修改库存 // 修改库存
if (hpkc010 != null) { if (hpkc010 != null) {
HPKCTools.updateStock(dbKc013.getWhCode(), hpkc010.getInventRecordId(), HPKCTools.updateStock(dbKc013.getWhCode(), hpkc010.getInventRecordId(),
newKc013.getAmount(), newKc013.getWeight().multiply(new BigDecimal(1000)), hpkc010.getFactoryCode()); newKc013.getAmount(), newKc013.getWeight(), hpkc010.getFactoryCode());
} else { } else {
HPKCTools.updateProdStock(dbKc013.getWhCode(), dbKc013.getProdNo(), HPKCTools.updateProdStock(dbKc013.getWhCode(), dbKc013.getProdNo(),
newKc013.getAmount(), newKc013.getWeight(), hpkc011.getFactoryCode()); newKc013.getAmount(), newKc013.getWeight(), hpkc011.getFactoryCode());
......
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