命名错误,课程营销标签分开的bug
This commit is contained in:
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user