This commit is contained in:
wangjinlei
2024-03-26 14:31:14 +08:00
parent d9be06d38e
commit 158fdd8ee2
5 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package com.peanut.modules.master.controller;
import com.peanut.common.utils.R;
import com.peanut.modules.common.to.ParamTo;
import com.peanut.modules.master.service.CourseSociologyService;
import com.peanut.modules.master.service.CourseToSociologyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController("masterCourseSociology")
@RequestMapping("master/courseSociology")
public class CourseSociologyController {
@Autowired
private CourseSociologyService courseSociologyService;
@Autowired
private CourseToSociologyService courseToSociologyService;
@RequestMapping("/getCourseSociologyList")
public R getCourseSociologyList(@RequestBody ParamTo param){
return R.ok();
}
}

View File

@@ -0,0 +1,7 @@
package com.peanut.modules.master.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.common.entity.CourseSociologyEntity;
public interface CourseSociologyService extends IService<CourseSociologyEntity> {
}

View File

@@ -0,0 +1,7 @@
package com.peanut.modules.master.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.common.entity.CourseToSociologyEntity;
public interface CourseToSociologyService extends IService<CourseToSociologyEntity> {
}

View File

@@ -0,0 +1,13 @@
package com.peanut.modules.master.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peanut.modules.common.dao.CourseSociologyDao;
import com.peanut.modules.common.entity.CourseSociologyEntity;
import com.peanut.modules.master.service.CourseSociologyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service("masterCourseSociology")
public class CourseSociologyServiceImpl extends ServiceImpl<CourseSociologyDao, CourseSociologyEntity> implements CourseSociologyService {
}

View File

@@ -0,0 +1,16 @@
package com.peanut.modules.master.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peanut.modules.common.dao.CourseToSociologyDao;
import com.peanut.modules.common.entity.CourseToSociologyEntity;
import com.peanut.modules.master.service.CourseToSociologyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service("masterCourseToSociologyService")
public class CourseToSociologyServiceImpl extends ServiceImpl<CourseToSociologyDao, CourseToSociologyEntity> implements CourseToSociologyService {
}