master
叮叮咚咚 6 months ago
parent b1a7b4ca6e
commit 6e52f169d9
  1. 20
      src/main/java/com/teaching/backend/controller/ChapterController.java
  2. 16
      src/main/java/com/teaching/backend/mapper/ChapterMapper.java
  3. 16
      src/main/java/com/teaching/backend/service/IChapterService.java
  4. 20
      src/main/java/com/teaching/backend/service/impl/ChapterServiceImpl.java

@ -0,0 +1,20 @@
package com.teaching.backend.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 前端控制器
* </p>
*
* @author author
* @since 2024-06-07
*/
@RestController
@RequestMapping("/chapter")
public class ChapterController {
}

@ -0,0 +1,16 @@
package com.teaching.backend.mapper;
import com.teaching.backend.entity.Chapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author author
* @since 2024-06-07
*/
public interface ChapterMapper extends BaseMapper<Chapter> {
}

@ -0,0 +1,16 @@
package com.teaching.backend.service;
import com.teaching.backend.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 服务类
* </p>
*
* @author author
* @since 2024-06-07
*/
public interface IChapterService extends IService<Chapter> {
}

@ -0,0 +1,20 @@
package com.teaching.backend.service.impl;
import com.teaching.backend.entity.Chapter;
import com.teaching.backend.mapper.ChapterMapper;
import com.teaching.backend.service.IChapterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author author
* @since 2024-06-07
*/
@Service
public class ChapterServiceImpl extends ServiceImpl<ChapterMapper, Chapter> implements IChapterService {
}
Loading…
Cancel
Save