示例#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);
 }