小bug 修复

This commit is contained in:
wangjinlei
2024-04-12 15:05:11 +08:00
parent bf1def1c3d
commit 5d5aefd261
6 changed files with 55 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
package com.peanut.modules.common.dao;
import com.github.yulichang.base.MPJBaseMapper;
import com.peanut.modules.common.entity.UserCourseBuyEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UserCourseBuyDao extends MPJBaseMapper<UserCourseBuyEntity> {
}

View File

@@ -0,0 +1,34 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("user_course_buy")
public class UserCourseBuyEntity {
@TableId
private Integer id;
private Integer userId;
private Integer courseId;
private Integer catalogueId;
private Date createTime;
private Integer days;
private Date startTime;
private Date endTime;
@TableLogic
private Integer delFlag;
}

View File

@@ -18,18 +18,10 @@ public class UserToCourseEntity {
private Integer courseId;
private Integer catalogueId;
private Date createTime;
private Integer days;
private Date updateTime;
private Date startTime;
private Date endTime;
@TableLogic
private Integer delFlag;
}