更新notice
This commit is contained in:
parent
0804aa5e0f
commit
413b528175
@ -136,7 +136,7 @@ public class UrlListController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping("/admin/weblist/update")
|
@RequestMapping("/admin/weblist/update")
|
||||||
public HashMap<String, Object> Update(@RequestBody UrlList urlList){
|
public HashMap<String, Object> Update(UrlList urlList){
|
||||||
int x = urlListService.update(urlList);
|
int x = urlListService.update(urlList);
|
||||||
HashMap<String, Object> result = new HashMap<>();
|
HashMap<String, Object> result = new HashMap<>();
|
||||||
if(x == 1){
|
if(x == 1){
|
||||||
|
@ -109,6 +109,6 @@ public class UrlLiserServiceImpl implements UrlListService {
|
|||||||
|
|
||||||
public List<UrlList> latestEight(){return urlListDao.latestEight(); }
|
public List<UrlList> latestEight(){return urlListDao.latestEight(); }
|
||||||
|
|
||||||
public int update(UrlList urlList){return urlListDao.updateByPrimaryKey(urlList);}
|
public int update(UrlList urlList){return urlListDao.updateByPrimaryKeySelective(urlList);}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user