Compare commits
No commits in common. "45ce3b189ac65ab0b2ffba3b9488fe3eb293a85e" and "8a11a4767a9cb68280991a5316a8e550e466f32e" have entirely different histories.
45ce3b189a
...
8a11a4767a
@ -69,7 +69,7 @@ public class DlDriveSchoolCourseController {
|
||||
* @date 22:24 2025/1/16
|
||||
**/
|
||||
@PostMapping("/save")
|
||||
@Operation(summary = "保存课程信息")
|
||||
@Operation(summary = "创建驾校教练")
|
||||
public CommonResult<Boolean> saveSchoolCoach(@Valid @RequestBody DlDriveSchoolCourseVO saveVO) {
|
||||
courseService.saveDriveSchoolCourse(saveVO);
|
||||
return success(true);
|
||||
|
||||
@ -48,7 +48,7 @@ public class DlDriveSchoolCourse extends TenantBaseDO {
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 小程序宣传标语
|
||||
* 课程名字
|
||||
*/
|
||||
private String tittle;
|
||||
|
||||
|
||||
@ -3,9 +3,11 @@ package cn.iocoder.yudao.module.base.service.impl;
|
||||
import cn.iocoder.yudao.framework.common.util.object.BeanUtils;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import cn.iocoder.yudao.module.base.entity.DlDriveSchoolCourse;
|
||||
import cn.iocoder.yudao.module.base.mapper.DlDriveSchoolCoachMapper;
|
||||
import cn.iocoder.yudao.module.base.mapper.DlDriveSchoolCourseMapper;
|
||||
import cn.iocoder.yudao.module.base.service.DlDriveSchoolCourseService;
|
||||
import cn.iocoder.yudao.module.base.vo.DlDriveSchoolCourseVO;
|
||||
import cn.iocoder.yudao.module.jx.core.page.TenantBaDO;
|
||||
import cn.iocoder.yudao.module.jx.utils.StringUtils;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
<where>
|
||||
main.deleted = 0
|
||||
<if test="entity.name != null and entity.name != ''">and main.name like concat('%', #{entity.name}, '%')</if>
|
||||
<if test="entity.type != null and entity.type != ''">and main.type = #{entity.type}</if>
|
||||
</where>
|
||||
order by main.create_time desc
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user