Commit d714a0db authored by Quxl's avatar Quxl

x

parent b65e728c
...@@ -86,4 +86,6 @@ public interface ReviewService { ...@@ -86,4 +86,6 @@ public interface ReviewService {
void saveReviewRecordIfNotExists(Integer review_id, Integer review_round, Integer[] user_id); void saveReviewRecordIfNotExists(Integer review_id, Integer review_round, Integer[] user_id);
void deleteDoubtfulById(Integer id);
} }
\ No newline at end of file
...@@ -314,4 +314,9 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -314,4 +314,9 @@ public class ReviewServiceImpl implements ReviewService {
jdbcTemplate.batchUpdate(sql, objs); jdbcTemplate.batchUpdate(sql, objs);
jdbcTemplate.executeUpdate("update fc_review set allot_state = 1, opt_state = 0 where id = ? and review_round = ?", review_id, review_round); jdbcTemplate.executeUpdate("update fc_review set allot_state = 1, opt_state = 0 where id = ? and review_round = ?", review_id, review_round);
} }
@Override
public void deleteDoubtfulById(Integer id) {
jdbcTemplate.executeUpdate("delete from fc_review_doubtful where id = ?", id);
}
} }
...@@ -103,6 +103,17 @@ public class UserReviewController { ...@@ -103,6 +103,17 @@ public class UserReviewController {
return Rjx.jsonOk().setData(list); return Rjx.jsonOk().setData(list);
} }
@ResponseBody
@PostMapping("doubtful_del")
@ApiOperation("查询疑点记录")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "int", required = false, name = "review_id", value="审片ID"),
})
public Object deleteDoubtfulById(Integer id) {
service.deleteDoubtfulById(id);
return Rjx.jsonOk();
}
@ResponseBody @ResponseBody
@Transactional @Transactional
@PostMapping("saveReviewRecord") @PostMapping("saveReviewRecord")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment