Пример #1
0
  @Transactional(readOnly = false)
  public void save(OaNotify oaNotify) {
    super.save(oaNotify);

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