This commit is contained in:
2026-01-14 17:40:19 +08:00
parent 721819c3e8
commit af0df0d378

View File

@@ -41,7 +41,7 @@ public class ShopMerchantServiceImpl extends ServiceImpl<ShopMerchantMapper, Sho
@Override
public ShopMerchantDTO detail(Long shopId) {
ShopMerchantDTO shopMerchantVO = new ShopMerchantDTO();
ShopMerchant one = queryChain().eq(ShopMerchant::getShopId, shopId).one();
ShopMerchant one = getOne(query().eq(ShopMerchant::getShopId, shopId));
if (one == null) {
return null;
}