Commit f00339db authored by shiyu's avatar shiyu

批量二维码2

parent 9564182c
...@@ -96,12 +96,9 @@ public class ItemTagQrCodeServiceImpl implements ItemTagQrCodeService { ...@@ -96,12 +96,9 @@ public class ItemTagQrCodeServiceImpl implements ItemTagQrCodeService {
try { try {
ItemTagQrCode itemTagQrCode = itemTagQrCodeDao.findByCode(dto.getCode()); ItemTagQrCode itemTagQrCode = itemTagQrCodeDao.findByCode(dto.getCode());
if (itemTagQrCode != null && itemTagQrCode.getItemId() != null) { if (itemTagQrCode != null && itemTagQrCode.getItemId() != null) {
SupplierItemRequestDto supplierItemRequestDto = new SupplierItemRequestDto(); Map<String, Object> map = new HashMap<>();
supplierItemRequestDto.setId(itemTagQrCode.getItemId()); map.put("itemId", itemTagQrCode.getItemId());
supplierItemRequestDto.setItemId(itemTagQrCode.getItemId()); return Result.success(map);
supplierItemRequestDto.setUserId(dto.getUserId());
Result result = supplierItemService.findCollectionItemDetail(supplierItemRequestDto);
return result;
} }
int categoryId = itemTagQrCode.getCategoryId(); int categoryId = itemTagQrCode.getCategoryId();
Category category = categoryDao.findById(categoryId); Category category = categoryDao.findById(categoryId);
......
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