@Transactional(readOnly = false) public void save(OaNotify oaNotify) { super.save(oaNotify); // 更新发送接受人记录 oaNotifyRecordDao.deleteByOaNotifyId(oaNotify.getId()); if (oaNotify.getOaNotifyRecordList().size() > 0) { oaNotifyRecordDao.insertAll(oaNotify.getOaNotifyRecordList()); } }
@Transactional(readOnly = false) public void save(Favorite favorite) { super.save(favorite); }
@Transactional(readOnly = false) public void save(TestData testData) { super.save(testData); }