进件查询问题
This commit is contained in:
@@ -29,7 +29,7 @@ public interface ShopDirectMerchantService extends IService<ShopDirectMerchant>
|
||||
/**
|
||||
* 获取进件信息
|
||||
*/
|
||||
AggregateMerchantVO getEntry(Long shopId, String licenceNo);
|
||||
AggregateMerchantVO getEntry(Long shopId);
|
||||
|
||||
/**
|
||||
* 申请进件
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user