Training2DraftService优化
This commit is contained in:
parent
9a3cc981de
commit
bed5a7aa69
@ -125,6 +125,7 @@ public class Training2DraftService {
|
||||
/**
|
||||
* 重置用户实训草稿的初始背景
|
||||
*/
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void resetTrainingBackground(ResetTraining2BackgroudReqVo req, Long userId) {
|
||||
DraftTraining2Example example = new DraftTraining2Example();
|
||||
example.createCriteria().andCreatorIdEqualTo(userId).andIdEqualTo(req.getId());
|
||||
|
Loading…
Reference in New Issue
Block a user