|
@@ -471,7 +471,7 @@ public class ArchivesAutoController extends BladeController {
|
|
|
@ApiOperation(value = "修改", notes = "传入review")
|
|
|
public R review(@RequestParam Long id) {
|
|
|
ArchivesAuto archivesAuto = archivesAutoService.getById(id);
|
|
|
- if (archivesAuto == null) {
|
|
|
+ if (archivesAuto != null) {
|
|
|
archivesAuto.setIsReviewed(1);
|
|
|
return R.status(archivesAutoService.updateById(archivesAuto));
|
|
|
}
|