mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2024-12-27 01:52:13 +08:00
feat: 订单评价查询列表权限改为0,修复购物车修改商品数量bug
This commit is contained in:
parent
0ddc86f819
commit
2ebba174f3
2 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class OrderCommentController {
|
|||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "queryOrderCommentPageList", value = "分页查询商品订单评价信息", method = "POST", allUse = "2")
|
||||
@ApiOperation(id = "queryOrderCommentPageList", value = "分页查询商品订单评价信息", method = "POST", allUse = "0")
|
||||
@ApiImplicitParams(classBean = CommonPageInfo.class)
|
||||
@RequestMapping("/post/OrderCommentController/queryOrderCommentPageList")
|
||||
public void queryOrderCommentPageList(InputObject inputObject, OutputObject outputObject) {
|
||||
|
|
|
@ -118,6 +118,7 @@ public class ShopTradeCartServiceImpl extends SkyeyeBusinessServiceImpl<ShopTrad
|
|||
QueryWrapper<ShopTradeCart> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq(MybatisPlusUtil.toColumns(ShopTradeCart::getMaterialId), shopTradeCart.getMaterialId());
|
||||
queryWrapper.eq(MybatisPlusUtil.toColumns(ShopTradeCart::getNormsId), shopTradeCart.getNormsId());
|
||||
queryWrapper.eq(CommonConstants.ID,userId);
|
||||
ShopTradeCart one = getOne(queryWrapper);
|
||||
if (ObjectUtil.isNotEmpty(one)) {
|
||||
shopTradeCart.setId(one.getId());
|
||||
|
|
Loading…
Reference in a new issue