Commit 56949df7 authored by Quxl's avatar Quxl

x

parent 4df7598e
......@@ -558,7 +558,7 @@ public class ReviewServiceImpl implements ReviewService {
public void saveReviewRecordIfNotExists(Integer review_id, Integer review_round, Integer[] user_id) {
String sql = ""
+ "insert into fc_review_record"
+ "(review_id, user_id, review_round, view_state, create_time) select ?, ?, ?, 0, now() from dual "
+ "(review_id, user_id, review_round, create_time) select ?, ?, ?, now() from dual "
+ "where "
+ "not exists (select * from fc_review_record where review_id = ? and user_id = ? and review_round = ?)";
Object[][] objs = new Object[user_id.length][];
......
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