从接口实现销售价每个客户不同的价格(更新)
This commit is contained in:
parent
afb62a162b
commit
4b280f60cf
@ -488,7 +488,8 @@ public class MaterialController {
|
||||
mvo.setBillPrice(mvo.getWholesaleDecimal());
|
||||
} else {
|
||||
//查询最后一单的销售价,实现不同的客户不同的销售价
|
||||
mvo.setBillPrice(depotItemService.getLastUnitPriceByParam(organId, mvo.getMeId(), prefixNo));
|
||||
BigDecimal lastUnitPrice = depotItemService.getLastUnitPriceByParam(organId, mvo.getMeId(), prefixNo);
|
||||
mvo.setBillPrice(lastUnitPrice!=null? lastUnitPrice : mvo.getWholesaleDecimal());
|
||||
}
|
||||
}
|
||||
//仓库id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user