|
@@ -41,6 +41,9 @@ public class BannersService extends BaseMybatisDao<BannersMapper> {
|
|
|
public int deleteBanner(String id) {
|
|
public int deleteBanner(String id) {
|
|
|
return bannersMapper.deleteByPrimaryKey(id);
|
|
return bannersMapper.deleteByPrimaryKey(id);
|
|
|
}
|
|
}
|
|
|
|
|
+ public Banners selectByPrimaryKey(String id) {
|
|
|
|
|
+ return bannersMapper.selectByPrimaryKey(id);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
public List<Banners> findAdminBannersList(String apiUrl,Integer client,Integer pageSize,Integer pageNo) {
|
|
public List<Banners> findAdminBannersList(String apiUrl,Integer client,Integer pageSize,Integer pageNo) {
|
|
|
return portalBanners(apiUrl, client, pageNo, pageSize);
|
|
return portalBanners(apiUrl, client, pageNo, pageSize);
|