视频播放问题
This commit is contained in:
@ -74,6 +74,9 @@ public class SysNutritionalVideo extends BaseEntity
|
||||
|
||||
private String playUrl;
|
||||
|
||||
//播放凭证
|
||||
private String playAuth;
|
||||
|
||||
//文件名称
|
||||
private String fileName;
|
||||
|
||||
|
@ -146,6 +146,14 @@ public class SysWxUserLog extends BaseEntity
|
||||
@Excel(name = "点评")
|
||||
private String comment;
|
||||
|
||||
/** 点赞数量 */
|
||||
@Excel(name = "点赞数量")
|
||||
private Long thumbsupNum;
|
||||
|
||||
/** 健康宣言 */
|
||||
@Excel(name = "健康宣言")
|
||||
private String healthManifesto;
|
||||
|
||||
/** 删除标识 0未删除 1已删除 */
|
||||
private Long delFlag;
|
||||
|
||||
|
@ -0,0 +1,65 @@
|
||||
package com.stdiet.custom.dto.response;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 打卡社区
|
||||
*/
|
||||
@Data
|
||||
public class CommunityPunchReponse {
|
||||
|
||||
/**
|
||||
* 微信openid
|
||||
*/
|
||||
private String openid;
|
||||
|
||||
/**
|
||||
* 客户ID
|
||||
*/
|
||||
private Long cusId;
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
* 打卡日期时间
|
||||
*/
|
||||
private Date logTime;
|
||||
|
||||
/**
|
||||
* 当天打卡体重
|
||||
*/
|
||||
private BigDecimal weight;
|
||||
|
||||
/**
|
||||
* 营养师评论
|
||||
*/
|
||||
private String comment;
|
||||
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
private String thumbsupNum;
|
||||
|
||||
/**
|
||||
* 健康宣言
|
||||
*/
|
||||
private String healthManifesto;
|
||||
|
||||
/**
|
||||
* 近期打卡体重信息 logTime: 打卡日期 weight: 体重
|
||||
*/
|
||||
private List<Map<String,Object>> recentWeight;
|
||||
}
|
@ -38,6 +38,8 @@
|
||||
<result property="targetWeight" column="target_weight" />
|
||||
<result property="executionScore" column="execution_score" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="thumbsupNum" column="thumbsup_num" />
|
||||
<result property="healthManifesto" column="health_manifesto" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
<!-- 非持久字段 -->
|
||||
<result property="customerName" column="customer_name"></result>
|
||||
@ -71,6 +73,8 @@
|
||||
<result property="targetWeight" column="target_weight" />
|
||||
<result property="executionScore" column="execution_score" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="thumbsupNum" column="thumbsup_num" />
|
||||
<result property="healthManifesto" column="health_manifesto" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSysWxUserLogVo">
|
||||
@ -168,6 +172,8 @@
|
||||
<if test="targetWeight != null">target_weight,</if>
|
||||
<if test="executionScore != null">execution_score,</if>
|
||||
<if test="comment != null">comment,</if>
|
||||
<if test="thumbsupNum != null">thumbsup_num,</if>
|
||||
<if test="healthManifesto != null">health_manifesto,</if>
|
||||
<if test="delFlag != null">del_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
@ -202,6 +208,8 @@
|
||||
<if test="targetWeight != null">target_weight = #{targetWeight},</if>
|
||||
<if test="executionScore != null">execution_score = #{executionScore},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="thumbsupNum != null">#{thumbsupNum},</if>
|
||||
<if test="healthManifesto != null">#{healthManifesto},</if>
|
||||
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
@ -240,6 +248,8 @@
|
||||
<if test="targetWeight != null">target_weight = #{targetWeight},</if>
|
||||
<if test="executionScore != null">execution_score = #{executionScore},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="thumbsupNum != null">thumbsup_num = #{thumbsupNum},</if>
|
||||
<if test="healthManifesto != null">health_manifesto = #{healthManifesto},</if>
|
||||
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
@ -307,4 +317,18 @@
|
||||
order by wxlog.log_time desc
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 查询打卡社区内容 -->
|
||||
<!--<select id="">
|
||||
select wxinfo.openid,wxinfo.cus_id,wxinfo.nick_name,wxinfo.avatar_url,wxlog.log_time,wxlog.weight,wxlog.comment,wxlog.thumbsup_num,wxlog.health_manifesto from sys_wx_user_log wxlog
|
||||
left join sys_wx_user_info wxinfo on wxinfo.openid = wxlog.openid
|
||||
where wxlog.del_flag = 0
|
||||
<if test="logTime">
|
||||
and wxlog.log_time >= #{logTime}
|
||||
</if>
|
||||
order by wxlog.log_time desc
|
||||
</select>-->
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user