Commit f00339db authored by shiyu's avatar shiyu

批量二维码2

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