|
|
@@ -232,7 +232,7 @@ public class YhShopUserController {
|
|
|
@GetMapping("/get/orders/goods")
|
|
|
public Result<List<GoodsDon>> getGoodsList() {
|
|
|
long yhShopUserId = StpYhShopManageUser.getLoginIdAsLong();
|
|
|
- YhShop yhShop = yhShopMapper.selectById(Wrappers.lambdaQuery(YhShop.class)
|
|
|
+ YhShop yhShop = yhShopMapper.selectOne(Wrappers.lambdaQuery(YhShop.class)
|
|
|
.eq(YhShop::getUserId, yhShopUserId)
|
|
|
.eq(YhShop::getVerifyStatus, YhShop.Status.success)
|
|
|
.last("limit 1"));
|