报错
This commit is contained in:
@@ -41,7 +41,7 @@ public class ShopMerchantServiceImpl extends ServiceImpl<ShopMerchantMapper, Sho
|
|||||||
@Override
|
@Override
|
||||||
public ShopMerchantDTO detail(Long shopId) {
|
public ShopMerchantDTO detail(Long shopId) {
|
||||||
ShopMerchantDTO shopMerchantVO = new ShopMerchantDTO();
|
ShopMerchantDTO shopMerchantVO = new ShopMerchantDTO();
|
||||||
ShopMerchant one = queryChain().eq(ShopMerchant::getShopId, shopId).one();
|
ShopMerchant one = getOne(query().eq(ShopMerchant::getShopId, shopId));
|
||||||
if (one == null) {
|
if (one == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user