接口213132123123123123123123123123

This commit is contained in:
cyk
2023-12-24 16:38:29 +08:00
parent 6268a5c374
commit 829111209f
6 changed files with 90 additions and 2 deletions

View File

@@ -18,5 +18,6 @@ public interface UrlCateListService {
public UrlCateList selectByPrimaryKey(Integer id);
public int insertSelective(UrlCateList urlCateList);
public int updateByUrlCateList(UrlCateList urlCateList);
}

View File

@@ -14,4 +14,5 @@ public interface UrlListService {
public int updateUrlStatusListById(UrlList urlList);
public List<UrlList> selectUrListByNeedLogin();
public int insertUrlByUser(UrlList urlList);
}

View File

@@ -67,6 +67,11 @@ public class UrlCateListServiceImpl implements UrlCateListService {
{
return urlCateListDao.insertSelective(urlCateList);
}
public int updateByUrlCateList(UrlCateList urlCateList)
{
return urlCateListDao.updateByPrimaryKeySelective(urlCateList);
}
public UrlCateList selectByPrimaryKey(Integer id)
{
return urlCateListDao.selectByPrimaryKey(id);

View File

@@ -56,7 +56,7 @@ public class UrlLiserServiceImpl implements UrlListService {
return urlListDao.selectUrListByNeedLogin();
}
public int insertUrlByUser(UrlList urlList){return urlListDao.insertSelective(urlList);}
public UrlList selectUrListByInput(String input)
{