|
|
@ -228,6 +228,7 @@ public Result listActivityByUser(String userName,int page, int size) { |
|
|
|
activityFromDb.setStartTime(activity.getStartTime()); |
|
|
|
activityFromDb.setEndTime(activity.getEndTime()); |
|
|
|
activityFromDb.setUpdateTime(new Date()); |
|
|
|
activityFromDb.setIpRestrict(activity.isIpRestrict()); |
|
|
|
//保存到数据库
|
|
|
|
activityDAO.save(activityFromDb); |
|
|
|
return ResultFactory.buildSuccessResult(activityFromDb); |
|
|
|