|
@@ -14,17 +14,13 @@ import com.xjrsoft.common.model.result.RT;
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
import com.xjrsoft.common.utils.VoToColumnUtil;
|
|
import com.xjrsoft.common.utils.VoToColumnUtil;
|
|
-import com.xjrsoft.module.asset.entity.WfAssetManage;
|
|
|
|
-import com.xjrsoft.module.asset.vo.WfAssetManageVo;
|
|
|
|
import com.xjrsoft.module.base.entity.BaseCourseSubject;
|
|
import com.xjrsoft.module.base.entity.BaseCourseSubject;
|
|
import com.xjrsoft.module.base.entity.BaseSemester;
|
|
import com.xjrsoft.module.base.entity.BaseSemester;
|
|
import com.xjrsoft.module.base.service.IBaseSemesterService;
|
|
import com.xjrsoft.module.base.service.IBaseSemesterService;
|
|
import com.xjrsoft.module.student.entity.BaseClassMajorSet;
|
|
import com.xjrsoft.module.student.entity.BaseClassMajorSet;
|
|
-import com.xjrsoft.module.system.entity.DictionaryDetail;
|
|
|
|
import com.xjrsoft.module.textbook.dto.*;
|
|
import com.xjrsoft.module.textbook.dto.*;
|
|
import com.xjrsoft.module.textbook.entity.Textbook;
|
|
import com.xjrsoft.module.textbook.entity.Textbook;
|
|
import com.xjrsoft.module.textbook.entity.TextbookClassRelation;
|
|
import com.xjrsoft.module.textbook.entity.TextbookClassRelation;
|
|
-import com.xjrsoft.module.textbook.entity.WfTextbookSubscription;
|
|
|
|
import com.xjrsoft.module.textbook.service.ITextbookService;
|
|
import com.xjrsoft.module.textbook.service.ITextbookService;
|
|
import com.xjrsoft.module.textbook.vo.*;
|
|
import com.xjrsoft.module.textbook.vo.*;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@@ -158,7 +154,7 @@ public class TextbookController {
|
|
@GetMapping(value = "/info-detail")
|
|
@GetMapping(value = "/info-detail")
|
|
@ApiOperation(value="根据id查询教材管理信息")
|
|
@ApiOperation(value="根据id查询教材管理信息")
|
|
@SaCheckPermission("textbook:detail")
|
|
@SaCheckPermission("textbook:detail")
|
|
- public RT<TextbookVo> info(@RequestParam Long id){
|
|
|
|
|
|
+ public RT info(@RequestParam Long id){
|
|
Textbook textbook = textbookService.getById(id);
|
|
Textbook textbook = textbookService.getById(id);
|
|
if (textbook == null) {
|
|
if (textbook == null) {
|
|
return RT.ok();
|
|
return RT.ok();
|