进件查询问题

This commit is contained in:
2026-01-16 16:15:17 +08:00
parent d6ef8cfba9
commit b22b9bd4d6
6 changed files with 16 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ public interface ShopDirectMerchantService extends IService<ShopDirectMerchant>
/**
* 获取进件信息
*/
AggregateMerchantVO getEntry(Long shopId, String licenceNo);
AggregateMerchantVO getEntry(Long shopId);
/**
* 申请进件

View File

@@ -64,9 +64,8 @@ public class ShopDirectMerchantServiceImpl extends ServiceImpl<ShopDirectMerchan
}
@Override
public AggregateMerchantVO getEntry(Long shopId, String licenceNo) {
public AggregateMerchantVO getEntry(Long shopId) {
ShopDirectMerchant merchant = getOne(query()
.eq(ShopDirectMerchant::getLicenceNo, licenceNo)
.eq(ShopDirectMerchant::getShopId, shopId));
if (merchant == null) {
return null;