|
@@ -3,7 +3,6 @@ package com.ruoyi.web.controller.dlhh.app;
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
import com.ruoyi.dlhh.domain.TrainTaskUser;
|
|
|
-import com.ruoyi.dlhh.domain.vo.TrainTaskUserDto;
|
|
|
import com.ruoyi.dlhh.service.ITrainTaskUserService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
@@ -67,7 +66,8 @@ public class TrainTaskUserInterfaceController extends BaseController {
|
|
|
if (trainTaskUser.getTaskId() == null && trainTaskUser.getUserId() == null) {
|
|
|
return success("添加失败");
|
|
|
}
|
|
|
- List<TrainTaskUserDto> trainTaskUserDtos = trainTaskUserService.selectTrainTaskUserInfoList(trainTaskUser);
|
|
|
+
|
|
|
+ List<TrainTaskUser> trainTaskUserDtos = trainTaskUserService.selectTrainTaskUserList(trainTaskUser);
|
|
|
if (trainTaskUserDtos != null && !trainTaskUserDtos.isEmpty()) {
|
|
|
return editSuccessTotal(trainTaskUserDtos.get(0).getId());
|
|
|
}
|