去掉分批数量的bug

This commit is contained in:
季圣华
2020-06-17 23:55:18 +08:00
parent 2600e4f4f5
commit 60e95d4069
6 changed files with 0 additions and 59 deletions

View File

@@ -633,20 +633,6 @@ public class DepotItemService {
return result;
}
/**
* 统计该商品已分批出库的总数量-用于订单
* @param mid
* @param headerId
* @return
*/
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
public BigDecimal getFinishNumber(Long mid, Long headerId) {
DepotHead depotHead =depotHeadMapper.selectByPrimaryKey(headerId);
String linkNumber = depotHead.getLinknumber(); //关联单号
BigDecimal count = depotItemMapperEx.getFinishNumber(mid, linkNumber);
return count;
}
/**
* 库存统计
* @param depotId