解决数组越界

This commit is contained in:
liuyingfang
2024-03-05 19:54:58 +08:00
parent 2477e2171e
commit cfbabc1fb3
3 changed files with 13 additions and 4 deletions

View File

@@ -62,7 +62,6 @@ public class TbProductStockDetailController {
@PostMapping("/stock")
@Log("查询/product/Stock")
@ApiOperation("查询/product/Stock")
// @PreAuthorize("@el.check('tbProductStockDetail:list')")
public ResponseEntity<Object> queryPage(@RequestBody TbProductStockDetailQueryCriteria criteria){
return new ResponseEntity<>(tbProductStockDetailService.queryPage(criteria),HttpStatus.OK);
}

View File

@@ -176,6 +176,7 @@ public class TbProductServiceImpl implements TbProductService {
tbProductVo.setGroupSnap(ListUtil.stringChangeList(tbProduct.getGroupSnap()));
}
BeanUtils.copyProperties(tbProduct, tbProductVo);
tbProductVo.setImages(ListUtil.stringChangeStringList(tbProduct.getImages()));
HashMap<String, String> map = new HashMap<>();