修改接口

This commit is contained in:
huangdeliang
2021-07-15 15:47:08 +08:00
parent f71fe6f4cd
commit 10739f936c
3 changed files with 23 additions and 22 deletions

View File

@ -3,26 +3,30 @@ package com.stdiet.custom.dto.response;
import com.stdiet.common.annotation.Excel;
import lombok.Data;
import java.io.Serializable;
@Data
public class BannerResponse implements Serializable {
public class BannerResponse {
private static final long serialVersionUID = 1L;
/** banner图标题 */
/**
* banner图标题
*/
@Excel(name = "banner图标题")
private String title;
/** banner图内容 */
/**
* banner图内容
*/
@Excel(name = "banner图内容")
private String content;
/** banner图片地址 */
/**
* banner图片地址
*/
@Excel(name = "banner图片地址")
private String bannerUrl;
/** 点击跳转地址 */
/**
* 点击跳转地址
*/
@Excel(name = "点击跳转地址")
private String jumpUrl;
}

View File

@ -144,9 +144,9 @@
update sys_wx_user_info set cus_id = null where openid = #{openid}
</update>
<!-- 根据客户ID更新健康减脂宣言 -->
<!-- 根据openID更新健康减脂宣言 -->
<update id="updateHealthManifestoByCusId" parameterType="SysWxUserInfo">
update sys_wx_user_info set health_manifesto = #{healthManifesto} where cus_id = #{cusId}
update sys_wx_user_info set health_manifesto = #{healthManifesto} where openid = #{openid}
</update>
</mapper>