|
@@ -309,11 +309,10 @@ public class TWarehouseAgreementServiceImpl implements ITWarehouseAgreementServi
|
|
|
* @param dateLength 天数
|
|
|
* @return
|
|
|
*/
|
|
|
- public BigDecimal getCalculate (BigDecimal itemNumsBig,Long unitPrice,Long dateLength) {
|
|
|
+ public BigDecimal getCalculate (BigDecimal itemNumsBig,BigDecimal unitPrice,Long dateLength) {
|
|
|
BigDecimal money = new BigDecimal(0);
|
|
|
- BigDecimal unitPriceBig = new BigDecimal(unitPrice);
|
|
|
BigDecimal bigDaysBig = new BigDecimal(dateLength);
|
|
|
- money = itemNumsBig.multiply(unitPriceBig).multiply(bigDaysBig);
|
|
|
+ money = itemNumsBig.multiply(unitPrice).multiply(bigDaysBig);
|
|
|
return money;
|
|
|
}
|
|
|
|