|
@@ -93,7 +93,7 @@ public class CustomerProductInfoServiceImpl extends ServiceImpl<CustomerProductI
|
|
|
.packageId(dto.getPackageId())
|
|
|
.type(dto.getType())
|
|
|
.price(Integer.parseInt(String.valueOf((dto.getPrice().multiply(new BigDecimal(10000))).longValue())))
|
|
|
- .facePrice(Integer.parseInt(String.valueOf(dto.getFacePrice().multiply(new BigDecimal(10000)).longValue())))
|
|
|
+ .facePrice(Long.parseLong(String.valueOf(dto.getFacePrice().multiply(new BigDecimal(10000)).longValue())))
|
|
|
.isEffective(dto.getIsEffective())
|
|
|
.disCount(dto.getPrice().divide(dto.getFacePrice())).build();
|
|
|
log.info("产品为:【{}】",product.toString());
|