Commit f9d9c28b by 徐高华

画布-群发

parent 1ed40a97
......@@ -25,6 +25,16 @@ public class ContentMaterialDTO implements Serializable {
private String materialTitle ;
private String link ;
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
public int getType() {
return type;
}
......
......@@ -44,6 +44,16 @@ public class TabMaterialContent implements Serializable {
private String materialTitle ;
private String link ;
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
public String getMaterialTitle() {
return materialTitle;
}
......
......@@ -319,6 +319,7 @@ public class MaterialServiceImpl implements MaterialService {
tab.setWxEnterpriseId(wxEnterpriseId);
tab.setVideoImgUrl(dto.getVideoImgUrl());
tab.setAppid(dto.getAppid());
tab.setLink(dto.getLink());
this.materialContentMapper.insert(tab);
materialIdList.add(id);
}
......
......@@ -16,6 +16,7 @@
<result column="video_img_url" property="videoImgUrl" />
<result column="app_id" property="appid" />
<result column="material_title" property="materialTitle" />
<result column="link" property="link" />
</resultMap>
<sql id="Base_Column_List">
material_id,
......@@ -28,7 +29,7 @@
status_flag,
create_time,
update_time , media_type,
video_img_url , app_id , material_title
video_img_url , app_id , material_title , link
</sql>
<!-- ===================== 新增 ======================== -->
<insert id="insert" parameterType="com.gic.haoban.manage.service.entity.TabMaterialContent" useGeneratedKeys="true" keyProperty="id">
......@@ -45,7 +46,7 @@
create_time,
update_time ,
media_type,
video_img_url , app_id , material_title
video_img_url , app_id , material_title , link
)VALUES(
#{materialId,jdbcType=VARCHAR},
#{materialType,jdbcType=INTEGER},
......@@ -56,7 +57,7 @@
#{urlMd5,jdbcType=VARCHAR},
1,
now(),
now() , #{mediaType},#{videoImgUrl} , #{appid} , #{materialTitle}
now() , #{mediaType},#{videoImgUrl} , #{appid} , #{materialTitle} , #{link}
)
]]>
</insert>
......
......@@ -35,8 +35,7 @@ import java.util.stream.Collectors;
* 导购任务-好办小程序
*/
@Controller
@RequestMapping("clerk/task")
public class ClerkTaskController {
private static Logger logger = LoggerFactory.getLogger(ClerkTaskController.class);
......
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