fix(schedule): save方法去掉id
| | |
| | | */ |
| | | @Override |
| | | public void setPkValue(Object value) { |
| | | this.setId((Long) value); |
| | | // this.setId((Long) value); |
| | | this.setId(Long.valueOf(String.valueOf(value))); |
| | | } |
| | | |
| | | public Long getId() { |
| | |
| | | */ |
| | | public int execSaveBatchAndStatus(List<Rc_video_batch> videoBatchList, Rc_task_status status){ |
| | | this.save(videoBatchList); |
| | | this.save(status); |
| | | // this.save(status); |
| | | return videoBatchList.size(); |
| | | } |
| | | } |
| | |
| | | e.setSrc_video_id(v.getSrcVideoId()); |
| | | e.setUser_id(v.getUserId()); |
| | | e.setSrc_video_path(v.getVideoDestPath()); |
| | | e.setId(NumberGenerator.getLongSequenceNumber()); |
| | | // e.setId(NumberGenerator.getLongSequenceNumber()); |
| | | resultList.add(e); |
| | | } |
| | | return resultList; |