!232 fix: 修复编辑规格值顺序错误问题

Merge pull request !232 from OceansDeep/feature/pg
This commit is contained in:
OceansDeep 2022-09-09 11:41:28 +00:00 committed by Gitee
commit 3011645c44
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -403,7 +403,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper, GoodsSku> i
@Override
public List<GoodsSkuVO> getGoodsListByGoodsId(String goodsId) {
List<GoodsSku> list = this.list(new LambdaQueryWrapper<GoodsSku>().eq(GoodsSku::getGoodsId, goodsId).orderByAsc(GoodsSku::getGoodsName));
List<GoodsSku> list = this.list(new LambdaQueryWrapper<GoodsSku>().eq(GoodsSku::getGoodsId, goodsId));
return this.getGoodsSkuVOList(list);
}