删除网站分类
This commit is contained in:
@@ -20,4 +20,9 @@ public interface UrlCateListService {
|
||||
public int insertSelective(UrlCateList urlCateList);
|
||||
public int updateByUrlCateList(UrlCateList urlCateList);
|
||||
|
||||
|
||||
public List<String> selectChildrenByCateId(Integer id);
|
||||
|
||||
public int deleteByPrimaryKey(Integer id);
|
||||
|
||||
}
|
||||
|
@@ -15,4 +15,7 @@ public interface UrlListService {
|
||||
|
||||
public List<UrlList> selectUrListByNeedLogin();
|
||||
public int insertUrlByUser(UrlList urlList);
|
||||
public int deleteByPrimaryKey(Long id);
|
||||
|
||||
public int deleteByCateId(Long id);
|
||||
}
|
||||
|
@@ -72,6 +72,14 @@ public class UrlCateListServiceImpl implements UrlCateListService {
|
||||
{
|
||||
return urlCateListDao.updateByPrimaryKeySelective(urlCateList);
|
||||
}
|
||||
|
||||
public List<String> selectChildrenByCateId(Integer id)
|
||||
{
|
||||
return urlCateListDao.selectChildrenByCateId(id);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public UrlCateList selectByPrimaryKey(Integer id)
|
||||
{
|
||||
return urlCateListDao.selectByPrimaryKey(id);
|
||||
@@ -145,4 +153,8 @@ public class UrlCateListServiceImpl implements UrlCateListService {
|
||||
}
|
||||
return jsonArray;
|
||||
}
|
||||
|
||||
public int deleteByPrimaryKey(Integer id){
|
||||
return urlCateListDao.deleteByPrimaryKey(id);
|
||||
}
|
||||
}
|
||||
|
@@ -79,4 +79,12 @@ public class UrlLiserServiceImpl implements UrlListService {
|
||||
}
|
||||
|
||||
}
|
||||
public int deleteByPrimaryKey(Long id){
|
||||
return urlListDao.deleteByPrimaryKey(id);
|
||||
}
|
||||
|
||||
public int deleteByCateId(Long id)
|
||||
{
|
||||
return urlListDao.deleteByCateId(id);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user