bug
This commit is contained in:
@@ -18,6 +18,8 @@ public class CourseToSociologyMarketEntity {
|
||||
|
||||
private Integer sociologyMarketId;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
@TableLogic
|
||||
|
||||
@@ -22,6 +22,7 @@ public class CourseToMedicineMarketServiceImpl extends ServiceImpl<CourseToMedic
|
||||
wrapper.selectAll(CourseEntity.class);
|
||||
wrapper.leftJoin(CourseEntity.class,CourseEntity::getId,CourseToMedicineMarketEntity::getCourseId);
|
||||
wrapper.eq(CourseToMedicineMarketEntity::getMedicineMarketId,marketId);
|
||||
wrapper.orderByAsc(CourseToMedicineMarketEntity::getSort);
|
||||
List<CourseEntity> courseEntities = this.getBaseMapper().selectJoinList(CourseEntity.class, wrapper);
|
||||
return courseEntities;
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ public class CourseToSociologyMarketServiceImpl extends ServiceImpl<CourseToSoci
|
||||
wrapper.selectAll(CourseEntity.class);
|
||||
wrapper.leftJoin(CourseEntity.class,CourseEntity::getId,CourseToSociologyMarketEntity::getCourseId);
|
||||
wrapper.eq(CourseToSociologyMarketEntity::getSociologyMarketId,marketId);
|
||||
wrapper.orderByAsc(CourseToSociologyMarketEntity::getSort);
|
||||
List<CourseEntity> courseEntities = this.getBaseMapper().selectJoinList(CourseEntity.class, wrapper);
|
||||
return courseEntities;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user