Commit 183c8cd4 authored by shiyu's avatar shiyu

佣金比例

parent a6657e04
......@@ -78,7 +78,11 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
} else {
supplierItem.setSupplyPrice(0L);
}
if (StringUtils.hasLength(dto.getRebate())) {
supplierItem.setRebate(new BigDecimal(dto.getRebate()));
} else {
supplierItem.setRebate(new BigDecimal("0"));
}
supplierItem.setImages(dto.getImages());
supplierItem.setVideos(dto.getVideos());
supplierItem.setSort(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment