命名错误,课程营销标签分开的bug

This commit is contained in:
wangjinlei
2024-05-20 16:02:52 +08:00
parent 2547a918f8
commit 4be1541818
44 changed files with 498 additions and 300 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -9,8 +9,8 @@ import java.util.Date;
import java.util.List;
@Data
@TableName("course_medical")
public class CourseMedical {
@TableName("course_medicine")
public class CourseMedicine {
@TableId
private Integer id;
@@ -29,5 +29,5 @@ public class CourseMedical {
private Integer delFlag;
@TableField(exist = false)
private List<CourseMedical> children;
private List<CourseMedicine> children;
}

View File

@@ -10,8 +10,8 @@ import java.util.Date;
import java.util.List;
@Data
@TableName("course_market")
public class CourseMarketEntity {
@TableName("course_medicine_market")
public class CourseMedicineMarketEntity {
@TableId
private Integer id;
@@ -29,5 +29,5 @@ public class CourseMarketEntity {
private Integer delFlag;
@TableField(exist = false)
private List<CourseMarketEntity> children;
private List<CourseMedicineMarketEntity> children;
}

View File

@@ -1,31 +1,33 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableField;
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;
import java.util.List;
@Data
@TableName("course_category")
public class CourseCategoryEntity {
@TableName("course_sociology_market")
public class CourseSociologyMarketEntity {
@TableId
private Integer id;
private Integer pid;
private String uid;
private Integer isLast;
private String title;
private Integer isLast;
private Integer sort;
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<CourseSociologyMarketEntity> children;
}

View File

@@ -8,8 +8,8 @@ import lombok.Data;
import java.util.Date;
@Data
@TableName("course_to_medical")
public class CourseToMedical {
@TableName("course_to_medicine")
public class CourseToMedicine {
@TableId
private Integer id;

View File

@@ -8,15 +8,15 @@ import lombok.Data;
import java.util.Date;
@Data
@TableName("course_to_market")
public class CourseToMarketEntity {
@TableName("course_to_medicine_market")
public class CourseToMedicineMarketEntity {
@TableId
private Integer id;
private Integer courseId;
private Integer marketId;
private Integer medicineMarketId;
private Date createTime;

View File

@@ -8,14 +8,15 @@ import lombok.Data;
import java.util.Date;
@Data
@TableName("course_to_category")
public class CourseToCategoryEntity {
@TableName("course_to_sociology_market")
public class CourseToSociologyMarketEntity {
@TableId
private Integer id;
private Integer courseId;
private Integer categoryId;
private Integer sociologyMarketId;
private Date createTime;