库存记录单位不正确
This commit is contained in:
@@ -962,7 +962,6 @@ public class PayService {
|
||||
productMapper.updateStockById(product.getId(), detail.getReturnNum() * -1);
|
||||
|
||||
tbProductStockDetail.setProductId(product.getId().toString());
|
||||
tbProductStockDetail.setUnitName(product.getUnitId());
|
||||
tbProductStockDetail.setLeftNumber(product.getStockNumber());
|
||||
tbProductStockDetail.setStockNumber(Double.valueOf(detail.getReturnNum()));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user