Commit f2c0b1c7 authored by shiyu's avatar shiyu

uploadItemToSelf,上架商品到我的藏馆

parent d0204abd
...@@ -1388,8 +1388,7 @@ public class SupplierItemServiceImpl implements SupplierItemService { ...@@ -1388,8 +1388,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
} }
long itemId = dto.getItemId(); long itemId = dto.getItemId();
SupplierItem supplierItem = new SupplierItem(); SupplierItem supplierItem = new SupplierItem();
supplierItem.setSupplyPrice(0L); supplierItem.setId(dto.getItemId());
supplierItem.setRebate(new BigDecimal("0"));
supplierItem.setIsDeleted(false); supplierItem.setIsDeleted(false);
supplierItem.setCreatorId(dto.getUserId()); supplierItem.setCreatorId(dto.getUserId());
supplierItem.setType(dto.getType() == null ? DistributionEnum.DistributionTypeEnum.COLLECT.getCode() : dto.getType()); supplierItem.setType(dto.getType() == null ? DistributionEnum.DistributionTypeEnum.COLLECT.getCode() : dto.getType());
......
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