小程序获取弹窗接口
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.chaozhanggui.system.cashierservice.service;
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbShopAd;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (TbShopAd)表服务接口
|
||||
*
|
||||
* @author GYJ
|
||||
* @since 2024-08-19 14:25:17
|
||||
*/
|
||||
public interface TbShopAdService {
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @return 查询结果
|
||||
*/
|
||||
List<TbShopAd> shopAdList(Integer shopId);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.chaozhanggui.system.cashierservice.service.impl;
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.dao.TbShopAdDao;
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbShopAd;
|
||||
import com.chaozhanggui.system.cashierservice.service.TbShopAdService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (TbShopAd)表服务实现类
|
||||
*
|
||||
* @author GYJ
|
||||
* @since 2024-08-19 14:25:17
|
||||
*/
|
||||
@Service
|
||||
public class TbShopAdServiceImpl implements TbShopAdService {
|
||||
@Autowired
|
||||
private TbShopAdDao tbShopAdDao;
|
||||
|
||||
@Override
|
||||
public List<TbShopAd> shopAdList(Integer shopId) {
|
||||
System.out.println("shopId = " + shopId);
|
||||
return tbShopAdDao.shopAdList(shopId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user