Commit aedfe53d authored by Quxl's avatar Quxl

x

parent f0008ea1
......@@ -212,6 +212,7 @@ public class ReviewServiceImpl implements ReviewService {
@Transactional
public void saveReviewRecord(Fc_review_record ru, List<Fc_review_record_ext> exts) {
jdbcTemplate.update(ru);
jdbcTemplate.executeUpdate("update fc_review set review_time = now() where id = ?", ru.getReview_id());
if(exts != null && exts.size() > 0) {
jdbcTemplate.executeUpdate("delete from fc_review_record_ext where record_id = ?", ru.getId());
jdbcTemplate.batchSave(exts);
......
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