商品模块代码提交
This commit is contained in:
@@ -102,7 +102,7 @@ public class ShopProdUnitServiceImpl extends ServiceImpl<ShopProdUnitMapper, Sho
|
||||
Long shopId = StpKit.USER.getLoginIdAsLong();
|
||||
return UpdateChain.of(ShopProdUnit.class)
|
||||
.set(ShopProdUnit::getStatus, StatusEnum.ENABLED.value())
|
||||
.where(ShopProdUnit::getId).eq(id)
|
||||
.eq(ShopProdUnit::getId, id)
|
||||
.eq(ShopProdUnit::getShopId, shopId)
|
||||
.update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user