Commit 475e8c60 authored by liuyuanjun's avatar liuyuanjun

增加resultMap字段

parent 11f40560
......@@ -171,6 +171,9 @@ public class BLesson extends IdEntity<BLesson> {
@ApiModelProperty(value = "平台推荐自带标签")
private String pushLabel;
@ApiModelProperty(value = "平台推荐自带标签")
private String pushLable;
//-------------------------------------
@ApiModelProperty(value = "学习进度")
......
......@@ -232,8 +232,8 @@ public class BLessonServiceImpl implements BLessonService {
bLessonRepository.hotNumberReCount2(bLesson.getBusinessId());
}
//添加 推送至企业信息 标签信息
if (StringUtils.isNotEmpty(bLesson.getPushLabel())) {
String[] labels = bLesson.getPushLabel().split(",");
if (StringUtils.isNotEmpty(bLesson.getPushLable())) {
String[] labels = bLesson.getPushLable().split(",");
List<QueryLabelResDTO> dto = bLabelRepository.queryPushLabel(labels);
bLesson.setLabelList(dto);
}
......
......@@ -96,6 +96,7 @@
<result column="value_gain" jdbcType="VARCHAR" property="valueGain"/>
<result column="value_update_date" jdbcType="TIMESTAMP" property="valueUpdateDate"/>
<result column="is_trans" jdbcType="VARCHAR" property="isTrans"/>
<result column="push_lable" jdbcType="VARCHAR" property="pushLable"/>
<collection property="labelList" ofType="org.rcisoft.business.blabel.dto.QueryLabelResDTO"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment