2024.04.23提交代码

master
c'g'l 2 years ago
parent d1f863ec37
commit 92811c515a

@ -118,6 +118,12 @@
<groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId>
</dependency>
<!-- httpClient -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
</dependencies>
</project>

@ -6,7 +6,10 @@ public class IntegralChangTextConstants {
public static final String COMPLETE_INFORMATION = "完善信息,获得奖励积分";
// 绑定仪器
public static final String BINDING_INSTRUMENT = "绑定成功,获得奖励积分";
public static final String BINDING_INSTRUMENT = "{}绑定成功,获得奖励积分";
// 绑定仪器
public static final String UNBINDING_INSTRUMENT = "{}解绑,扣除{}积分";
// 日常打卡
public static final String DAILY_CLOCK = "打卡成功,获得奖励积分";

@ -0,0 +1,11 @@
package com.flossom.common.core.constant;
/**
* -
*/
public class InterfaceRequestBelongingConstants {
public static final String SHUYUN_INTERFACE = "shuyun";
}

@ -24,6 +24,10 @@ public class R<T> implements Serializable
private T data;
private String message;
private String gatewaySuccess;
public static <T> R<T> ok()
{
return restResult(null, SUCCESS, null);
@ -112,4 +116,20 @@ public class R<T> implements Serializable
{
return R.SUCCESS == ret.getCode();
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getGatewaySuccess() {
return gatewaySuccess;
}
public void setGatewaySuccess(String gatewaySuccess) {
this.gatewaySuccess = gatewaySuccess;
}
}

@ -11,57 +11,59 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author flossom
* @date 2023-12-20
*/
public class ActivityChannelInfo extends BaseEntity
{
public class ActivityChannelInfo extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 渠道ID */
/**
* ID
*/
private Long id;
/** 渠道类型 */
/**
*
*/
@Excel(name = "渠道类型")
private Integer channelType;
/** 渠道名称 */
/**
*
*/
@Excel(name = "渠道名称")
private String channelName;
public void setId(Long id)
{
public void setId(Long id) {
this.id = id;
}
public Long getId()
{
public Long getId() {
return id;
}
public void setChannelType(Integer channelType)
{
public void setChannelType(Integer channelType) {
this.channelType = channelType;
}
public Integer getChannelType()
{
public Integer getChannelType() {
return channelType;
}
public void setChannelName(String channelName)
{
public void setChannelName(String channelName) {
this.channelName = channelName;
}
public String getChannelName()
{
public String getChannelName() {
return channelName;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("channelType", getChannelType())
.append("channelName", getChannelName())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.toString();
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("channelType", getChannelType())
.append("channelName", getChannelName())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.toString();
}
}

@ -1,5 +1,6 @@
package com.flossom.common.core.domain.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
@ -15,51 +16,82 @@ import java.util.Date;
* @author flossom
* @date 2023-12-11
*/
public class CtLeaveMessage extends BaseEntity
{
public class CtLeaveMessage extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 主键ID */
/**
* ID
*/
private Long id;
/** 来源 1-我的模块 */
/**
* 1-
*/
@Excel(name = "来源 1-我的模块 ")
private Integer source;
private Long userId;
/** 来源名称 */
/**
*
*/
@Excel(name = "来源名称")
private String sourceName;
/** 用户编号 */
/**
*
*/
@Excel(name = "用户编号")
private Integer userNumber;
/** 用户头像 */
/**
*
*/
@Excel(name = "用户头像")
private String userImg;
/** 用户昵称 */
/**
*
*/
@Excel(name = "用户昵称")
private String userName;
/** 用户手机号码 */
/**
*
*/
@Excel(name = "用户手机号码")
private String userPhone;
/** 用户留言 */
/**
*
*/
@Excel(name = "用户留言")
@NotBlank(message = "留言反馈不能为空")
@Length(min = 1, max = 100)
private String messageInfo;
/** 查询开始时间 */
/**
*
*/
private Date beginTime;
/** 查询结束时间 */
/**
*
*/
private Date endTime;
/** 查询用户ID处理 */
/**
* ID
*/
private String userNumberStr;
/** 查询用户电话处理 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/**
*
*/
private WxUserMember wxUserMember;
public Long getUserId() {
@ -70,67 +102,59 @@ public class CtLeaveMessage extends BaseEntity
this.userId = userId;
}
public void setId(Long id)
{
public void setId(Long id) {
this.id = id;
}
public Long getId()
{
public Long getId() {
return id;
}
public void setSource(Integer source)
{
public void setSource(Integer source) {
this.source = source;
}
public Integer getSource()
{
public Integer getSource() {
return source;
}
public void setSourceName(String sourceName)
{
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getSourceName()
{
public String getSourceName() {
return sourceName;
}
public void setUserImg(String userImg)
{
public void setUserImg(String userImg) {
this.userImg = userImg;
}
public String getUserImg()
{
public String getUserImg() {
return userImg;
}
public void setUserName(String userName)
{
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserName()
{
public String getUserName() {
return userName;
}
public void setUserPhone(String userPhone)
{
public void setUserPhone(String userPhone) {
this.userPhone = userPhone;
}
public String getUserPhone()
{
public String getUserPhone() {
return userPhone;
}
public void setMessageInfo(String messageInfo)
{
public void setMessageInfo(String messageInfo) {
this.messageInfo = messageInfo;
}
public String getMessageInfo()
{
public String getMessageInfo() {
return messageInfo;
}
@ -176,15 +200,15 @@ public class CtLeaveMessage extends BaseEntity
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("source", getSource())
.append("sourceName", getSourceName())
.append("userImg", getUserImg())
.append("userName", getUserName())
.append("userPhone", getUserPhone())
.append("messageInfo", getMessageInfo())
.append("createTime", getCreateTime())
.toString();
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("source", getSource())
.append("sourceName", getSourceName())
.append("userImg", getUserImg())
.append("userName", getUserName())
.append("userPhone", getUserPhone())
.append("messageInfo", getMessageInfo())
.append("createTime", getCreateTime())
.toString();
}
}

@ -1,23 +1,22 @@
package com.flossom.common.core.domain.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* integral_clock
*
* @author flossom
* @date 2024-01-25
*/
public class IntegralClock extends BaseEntity
{
public class IntegralClock extends BaseEntity {
private static final long serialVersionUID = 1L;
/** $column.columnComment */

@ -11,45 +11,45 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author flossom
* @date 2023-12-11
*/
public class IntegralGlobal extends BaseEntity
{
public class IntegralGlobal extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 主键 */
/**
*
*/
private Long id;
/** 初始奖励积分 */
/**
*
*/
@Excel(name = "初始奖励积分")
private Long integral;
public void setId(Long id)
{
public void setId(Long id) {
this.id = id;
}
public Long getId()
{
public Long getId() {
return id;
}
public void setIntegral(Long integral)
{
public void setIntegral(Long integral) {
this.integral = integral;
}
public Long getIntegral()
{
public Long getIntegral() {
return integral;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("integral", getIntegral())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("integral", getIntegral())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}

@ -1,9 +1,5 @@
package com.flossom.common.core.domain.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
@ -11,37 +7,52 @@ import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* site_info
*
* @author flossom
* @date 2023-12-20
*/
public class SiteInfo extends BaseEntity
{
public class SiteInfo extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 站点管理ID */
/**
* ID
*/
private Long id;
/** 类型 1-弹窗列表 2-轮播列表 */
/**
* 1- 2-
*/
@Excel(name = "类型 1-弹窗列表 2-轮播列表 ")
private Integer siteType;
/** 站点名称 */
/**
*
*/
@Excel(name = "站点名称")
private String siteName;
/** 文件路径 */
/**
*
*/
@Excel(name = "文件路径")
private String fileUrl;
/** 开启开始时间 */
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@Excel(name = "开启开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
private Date siteStartTime;
private List<String> startTime = new ArrayList<String>();
/** 开启结束时间 */
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@Excel(name = "开启结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
@ -49,87 +60,123 @@ public class SiteInfo extends BaseEntity
private List<String> registerTime = new ArrayList<String>();
/** 用户注册开始时间 */
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@Excel(name = "用户注册开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
private Date userRegisterStartTime;
/** 用户注册结束时间 */
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@Excel(name = "用户注册结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
private Date userRegisterEndTime;
/** 1-首页 2-发现模块 3-活动模块 */
/**
* 1- 2- 3-
*/
@Excel(name = "1-首页 2-发现模块 3-活动模块")
private Integer openType;
/** 推送批次 1-永久一次 2-每次进入 3-自定义频次 */
/**
* 1- 2- 3-
*/
@Excel(name = "推送批次 1-永久一次 2-每次进入 3-自定义频次")
private Integer pushType;
/** 推送次数(自定义批次) */
/**
* ()
*/
@Excel(name = "推送次数(自定义批次)")
private Integer pushNumber;
/** 推送时间 */
/**
*
*/
@Excel(name = "推送时间")
private String pushTimer;
// 推送时间数组
private List<Long> pushTimerArray = new ArrayList<Long>();
/** 可见小程序标签 */
/**
*
*/
@Excel(name = "可见小程序标签")
private String showWechatTag;
private List<Long> showWechatTagArray = new ArrayList<Long>();
/** 可见小程序标签ID */
/**
* ID
*/
@Excel(name = "可见小程序标签ID")
private String showWechatTagId;
/** 可见外部标签 */
/**
*
*/
@Excel(name = "可见外部标签")
private String showCompanyTag;
private List<Long> showCompanyTagArray = new ArrayList<Long>();
/** 可见外部标签ID */
/**
* ID
*/
@Excel(name = "可见外部标签ID")
private String showCompanyTagId;
/** 禁止小程序标签 */
/**
*
*/
@Excel(name = "禁止小程序标签")
private String forbidWechatTag;
private List<Long> forbidWechatTagArray = new ArrayList<Long>();
/** 禁止小程序标签ID */
/**
* ID
*/
@Excel(name = "禁止小程序标签ID")
private String forbidWechatTagId;
/** 禁止外部标签 */
/**
*
*/
@Excel(name = "禁止外部标签")
private String forbidCompanyTag;
private List<Long> forbidCompanyTagArray = new ArrayList<Long>();
/** 禁止外部标签ID */
/**
* ID
*/
@Excel(name = "禁止外部标签ID")
private String forbidCompanyTagId;
/** 渠道名称 */
/**
*
*/
@Excel(name = "渠道名称")
private String channelName;
private List<Long> channelArray = new ArrayList<Long>();
/** 渠道ID */
/**
* ID
*/
@Excel(name = "渠道ID")
private String channelId;
/** 仪器名称 */
/**
*
*/
@Excel(name = "仪器名称")
private String instrumentName;
/** 仪器ID */
/**
* ID
*/
@Excel(name = "仪器ID")
private String instrumentId;
private List<Long> machineArray = new ArrayList<Long>();
@ -137,78 +184,114 @@ public class SiteInfo extends BaseEntity
private String handlerCompanyTagId;
private List<Long> handlerCompanyTagArray = new ArrayList<Long>();
/** 获取外部标签 */
/**
*
*/
@Excel(name = "获取外部标签")
private String handlerCompanyTag;
@Excel(name = "获取小程序标签")
private String handlerWechatTag;
/** 获取小程序标签ID */
/**
* ID
*/
private String handlerWechatTagId;
private List<Long> handlerWechatTagArray = new ArrayList<Long>();
/** 用户类型 0-全部 1-游客 2-会员 */
/**
* 0- 1- 2-
*/
@Excel(name = "用户类型 0-全部 1-游客 2-会员")
private Integer userType;
/** 1-开启 2-关闭 弹窗 */
/**
* 1- 2-
*/
@Excel(name = "1-开启 2-关闭 弹窗")
private Integer operate;
/** 打卡多少次显示活动 */
/**
*
*/
@Excel(name = "打卡多少次显示活动 ")
private Long signNumber;
/** 排序 */
/**
*
*/
@Excel(name = "排序")
private Long orderNumber;
/** 跳转类型0无跳转、1跳转内部链接、3跳转外部链接、4跳转小程序、5导向视频号、6导向视频号直播间 */
/**
* 013456
*/
@Excel(name = "跳转类型0无跳转、1跳转内部链接、3跳转外部链接、4跳转小程序、5导向视频号、6导向视频号直播间")
private Integer type;
/** 跳转链接(跳转外部链接、跳转内部链接) */
/**
*
*/
@Excel(name = "跳转链接", readConverterExp = "跳=转外部链接、跳转内部链接")
private String link;
/** 跳转链接参数(跳转内部链接) */
/**
*
*/
@Excel(name = "跳转链接参数", readConverterExp = "跳=转内部链接")
private String linkParams;
/** 外链小程序appid跳转小程序 */
/**
* appid
*/
@Excel(name = "外链小程序appid", readConverterExp = "跳=转小程序")
private String redirectAppid;
/** 外链小程序url跳转小程序 */
/**
* url
*/
@Excel(name = "外链小程序url", readConverterExp = "跳=转小程序")
private String redirectUrl;
/** 视频号(导向视频号、导向视频号直播间) */
/**
*
*/
@Excel(name = "视频号", readConverterExp = "导=向视频号、导向视频号直播间")
private String videoNo;
/** 视频号feedId导向视频号 */
/**
* feedId
*/
@Excel(name = "视频号feedId", readConverterExp = "导=向视频号")
private String feedId;
public void setId(Long id)
{
/**
*
*/
private Boolean isSortAndOpen;
public Boolean getSortAndOpen() {
return isSortAndOpen;
}
public void setSortAndOpen(Boolean sortAndOpen) {
isSortAndOpen = sortAndOpen;
}
public void setId(Long id) {
this.id = id;
}
public Long getId()
{
public Long getId() {
return id;
}
public void setSiteName(String siteName)
{
public void setSiteName(String siteName) {
this.siteName = siteName;
}
public String getSiteName()
{
public String getSiteName() {
return siteName;
}
@ -220,166 +303,147 @@ public class SiteInfo extends BaseEntity
this.fileUrl = fileUrl;
}
public void setSiteStartTime(Date siteStartTime)
{
public void setSiteStartTime(Date siteStartTime) {
this.siteStartTime = siteStartTime;
}
public Date getSiteStartTime()
{
public Date getSiteStartTime() {
return siteStartTime;
}
public void setSiteEndTime(Date siteEndTime)
{
public void setSiteEndTime(Date siteEndTime) {
this.siteEndTime = siteEndTime;
}
public Date getSiteEndTime()
{
public Date getSiteEndTime() {
return siteEndTime;
}
public void setUserRegisterStartTime(Date userRegisterStartTime)
{
public void setUserRegisterStartTime(Date userRegisterStartTime) {
this.userRegisterStartTime = userRegisterStartTime;
}
public Date getUserRegisterStartTime()
{
public Date getUserRegisterStartTime() {
return userRegisterStartTime;
}
public void setUserRegisterEndTime(Date userRegisterEndTime)
{
public void setUserRegisterEndTime(Date userRegisterEndTime) {
this.userRegisterEndTime = userRegisterEndTime;
}
public Date getUserRegisterEndTime()
{
public Date getUserRegisterEndTime() {
return userRegisterEndTime;
}
public void setOpenType(Integer openType)
{
public void setOpenType(Integer openType) {
this.openType = openType;
}
public Integer getOpenType()
{
public Integer getOpenType() {
return openType;
}
public void setPushType(Integer pushType)
{
public void setPushType(Integer pushType) {
this.pushType = pushType;
}
public Integer getPushType()
{
public Integer getPushType() {
return pushType;
}
public void setPushNumber(Integer pushNumber)
{
public void setPushNumber(Integer pushNumber) {
this.pushNumber = pushNumber;
}
public Integer getPushNumber()
{
public Integer getPushNumber() {
return pushNumber;
}
public void setPushTimer(String pushTimer)
{
public void setPushTimer(String pushTimer) {
this.pushTimer = pushTimer;
}
public String getPushTimer()
{
public String getPushTimer() {
return pushTimer;
}
public void setShowWechatTag(String showWechatTag)
{
public void setShowWechatTag(String showWechatTag) {
this.showWechatTag = showWechatTag;
}
public String getShowWechatTag()
{
public String getShowWechatTag() {
return showWechatTag;
}
public void setShowWechatTagId(String showWechatTagId)
{
public void setShowWechatTagId(String showWechatTagId) {
this.showWechatTagId = showWechatTagId;
}
public String getShowWechatTagId()
{
public String getShowWechatTagId() {
return showWechatTagId;
}
public void setShowCompanyTag(String showCompanyTag)
{
public void setShowCompanyTag(String showCompanyTag) {
this.showCompanyTag = showCompanyTag;
}
public String getShowCompanyTag()
{
public String getShowCompanyTag() {
return showCompanyTag;
}
public void setShowCompanyTagId(String showCompanyTagId)
{
public void setShowCompanyTagId(String showCompanyTagId) {
this.showCompanyTagId = showCompanyTagId;
}
public String getShowCompanyTagId()
{
public String getShowCompanyTagId() {
return showCompanyTagId;
}
public void setForbidWechatTag(String forbidWechatTag)
{
public void setForbidWechatTag(String forbidWechatTag) {
this.forbidWechatTag = forbidWechatTag;
}
public String getForbidWechatTag()
{
public String getForbidWechatTag() {
return forbidWechatTag;
}
public void setForbidWechatTagId(String forbidWechatTagId)
{
public void setForbidWechatTagId(String forbidWechatTagId) {
this.forbidWechatTagId = forbidWechatTagId;
}
public String getForbidWechatTagId()
{
public String getForbidWechatTagId() {
return forbidWechatTagId;
}
public void setForbidCompanyTag(String forbidCompanyTag)
{
public void setForbidCompanyTag(String forbidCompanyTag) {
this.forbidCompanyTag = forbidCompanyTag;
}
public String getForbidCompanyTag()
{
public String getForbidCompanyTag() {
return forbidCompanyTag;
}
public void setForbidCompanyTagId(String forbidCompanyTagId)
{
public void setForbidCompanyTagId(String forbidCompanyTagId) {
this.forbidCompanyTagId = forbidCompanyTagId;
}
public String getForbidCompanyTagId()
{
public String getForbidCompanyTagId() {
return forbidCompanyTagId;
}
public void setChannelName(String channelName)
{
public void setChannelName(String channelName) {
this.channelName = channelName;
}
public String getChannelName()
{
public String getChannelName() {
return channelName;
}
public void setChannelId(String channelId)
{
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getChannelId()
{
public String getChannelId() {
return channelId;
}
@ -417,103 +481,91 @@ public class SiteInfo extends BaseEntity
// {
// return machineId;
// }
public void setUserType(Integer userType)
{
public void setUserType(Integer userType) {
this.userType = userType;
}
public Integer getUserType()
{
public Integer getUserType() {
return userType;
}
public void setOperate(Integer operate)
{
public void setOperate(Integer operate) {
this.operate = operate;
}
public Integer getOperate()
{
public Integer getOperate() {
return operate;
}
public void setSignNumber(Long signNumber)
{
public void setSignNumber(Long signNumber) {
this.signNumber = signNumber;
}
public Long getSignNumber()
{
public Long getSignNumber() {
return signNumber;
}
public void setOrderNumber(Long orderNumber)
{
public void setOrderNumber(Long orderNumber) {
this.orderNumber = orderNumber;
}
public Long getOrderNumber()
{
public Long getOrderNumber() {
return orderNumber;
}
public void setType(Integer type)
{
public void setType(Integer type) {
this.type = type;
}
public Integer getType()
{
public Integer getType() {
return type;
}
public void setLink(String link)
{
public void setLink(String link) {
this.link = link;
}
public String getLink()
{
public String getLink() {
return link;
}
public void setLinkParams(String linkParams)
{
public void setLinkParams(String linkParams) {
this.linkParams = linkParams;
}
public String getLinkParams()
{
public String getLinkParams() {
return linkParams;
}
public void setRedirectAppid(String redirectAppid)
{
public void setRedirectAppid(String redirectAppid) {
this.redirectAppid = redirectAppid;
}
public String getRedirectAppid()
{
public String getRedirectAppid() {
return redirectAppid;
}
public void setRedirectUrl(String redirectUrl)
{
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getRedirectUrl()
{
public String getRedirectUrl() {
return redirectUrl;
}
public void setVideoNo(String videoNo)
{
public void setVideoNo(String videoNo) {
this.videoNo = videoNo;
}
public String getVideoNo()
{
public String getVideoNo() {
return videoNo;
}
public void setFeedId(String feedId)
{
public void setFeedId(String feedId) {
this.feedId = feedId;
}
public String getFeedId()
{
public String getFeedId() {
return feedId;
}
@ -647,44 +699,44 @@ public class SiteInfo extends BaseEntity
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("siteName", getSiteName())
.append("siteStartTime", getSiteStartTime())
.append("siteEndTime", getSiteEndTime())
.append("userRegisterStartTime", getUserRegisterStartTime())
.append("userRegisterEndTime", getUserRegisterEndTime())
.append("openType", getOpenType())
.append("pushType", getPushType())
.append("pushNumber", getPushNumber())
.append("pushTimer", getPushTimer())
.append("showWechatTag", getShowWechatTag())
.append("showWechatTagId", getShowWechatTagId())
.append("showCompanyTag", getShowCompanyTag())
.append("showCompanyTagId", getShowCompanyTagId())
.append("forbidWechatTag", getForbidWechatTag())
.append("forbidWechatTagId", getForbidWechatTagId())
.append("forbidCompanyTag", getForbidCompanyTag())
.append("forbidCompanyTagId", getForbidCompanyTagId())
.append("channelName", getChannelName())
.append("channelId", getChannelId())
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("siteName", getSiteName())
.append("siteStartTime", getSiteStartTime())
.append("siteEndTime", getSiteEndTime())
.append("userRegisterStartTime", getUserRegisterStartTime())
.append("userRegisterEndTime", getUserRegisterEndTime())
.append("openType", getOpenType())
.append("pushType", getPushType())
.append("pushNumber", getPushNumber())
.append("pushTimer", getPushTimer())
.append("showWechatTag", getShowWechatTag())
.append("showWechatTagId", getShowWechatTagId())
.append("showCompanyTag", getShowCompanyTag())
.append("showCompanyTagId", getShowCompanyTagId())
.append("forbidWechatTag", getForbidWechatTag())
.append("forbidWechatTagId", getForbidWechatTagId())
.append("forbidCompanyTag", getForbidCompanyTag())
.append("forbidCompanyTagId", getForbidCompanyTagId())
.append("channelName", getChannelName())
.append("channelId", getChannelId())
// .append("machineName", getMachineName())
// .append("machineId", getMachineId())
.append("userType", getUserType())
.append("operate", getOperate())
.append("signNumber", getSignNumber())
.append("orderNumber", getOrderNumber())
.append("type", getType())
.append("link", getLink())
.append("linkParams", getLinkParams())
.append("redirectAppid", getRedirectAppid())
.append("redirectUrl", getRedirectUrl())
.append("videoNo", getVideoNo())
.append("feedId", getFeedId())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
.append("userType", getUserType())
.append("operate", getOperate())
.append("signNumber", getSignNumber())
.append("orderNumber", getOrderNumber())
.append("type", getType())
.append("link", getLink())
.append("linkParams", getLinkParams())
.append("redirectAppid", getRedirectAppid())
.append("redirectUrl", getRedirectUrl())
.append("videoNo", getVideoNo())
.append("feedId", getFeedId())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}

@ -70,7 +70,7 @@ public class SysTag extends BaseEntity
private Integer tagUsers;
@Excel(name = "数云外部标签ID")
private String shuyunTagId;
private Integer shuyunTagId;
/** 子标签 */
private List<SysTag> children = new ArrayList<SysTag>();
@ -222,11 +222,11 @@ public class SysTag extends BaseEntity
this.tagUsers = tagUsers;
}
public String getShuyunTagId() {
public Integer getShuyunTagId() {
return shuyunTagId;
}
public void setShuyunTagId(String shuyunTagId) {
public void setShuyunTagId(Integer shuyunTagId) {
this.shuyunTagId = shuyunTagId;
}

@ -0,0 +1,568 @@
package com.flossom.common.core.domain.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* wx_find_carousel
*
* @author flossom
* @date 2024-04-10
*/
public class WxFindCarousel extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private Long id;
/**
*
*/
@Excel(name = "标题")
private String title;
/**
*
*/
@Excel(name = "文件路径")
private String fileUrl;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "开启开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date siteStartTime;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "开启结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date siteEndTime;
/**
*
*/
private List<String> startTime = new ArrayList<>();
/**
*
*/
private List<String> registerTime = new ArrayList<>();
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "用户注册开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date userRegisterStartTime;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "用户注册结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date userRegisterEndTime;
/**
* ID
*/
private List<Long> showWechatTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "可见小程序标签ID")
private String showWechatTagId;
/**
* ID
*/
private List<Long> showCompanyTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "可见外部标签ID")
private String showCompanyTagId;
/**
*ID
*/
private List<Long> forbidWechatTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "禁止小程序标签ID")
private String forbidWechatTagId;
/**
* ID
*/
private List<Long> forbidCompanyTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "禁止外部标签ID")
private String forbidCompanyTagId;
/**
* ID
*/
@Excel(name = "弹窗获取外部标签ID")
private String handlerCompanyTagId;
/**
* ID
*/
private List<Long> handlerCompanyTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "弹窗获取小程序标签ID")
private String handlerWechatTagId;
/**
* ID
*/
private List<Long> handlerWechatTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "渠道ID")
private String channelId;
/**
* ID
*/
private List<Long> machineArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "仪器ID")
private String instrumentId;
/**
* 1 2
*/
@Excel(name = "1开启 2关闭 轮播图开关")
private Long operate;
/**
*
*/
@Excel(name = "打卡多少次显示活动 ")
private Long signNumber;
/**
* 0 1 2
*/
@Excel(name = "用户类型 0全部 1游客 2会员")
private Long userType;
/**
*
*/
@Excel(name = "排序")
private Long orderNumber;
/**
* 013456
*/
@Excel(name = "跳转类型0无跳转、1跳转内部链接、3跳转外部链接、4跳转小程序、5导向视频号、6导向视频号直播间")
private Long type;
/**
*
*/
@Excel(name = "跳转链接", readConverterExp = "跳=转外部链接、跳转内部链接")
private String link;
/**
*
*/
@Excel(name = "跳转链接参数", readConverterExp = "跳=转内部链接")
private String linkParams;
/**
* appid
*/
@Excel(name = "外链小程序appid", readConverterExp = "跳=转小程序")
private String redirectAppid;
/**
* url
*/
@Excel(name = "外链小程序url", readConverterExp = "跳=转小程序")
private String redirectUrl;
/**
*
*/
@Excel(name = "视频号", readConverterExp = "导=向视频号、导向视频号直播间")
private String videoNo;
/**
* feedId
*/
@Excel(name = "视频号feedId", readConverterExp = "导=向视频号")
private String feedId;
/**
*
*/
private Boolean isSortAndOpen;
/**
* 0 2
*/
private Long delFlag = 0L;
public Boolean getSortAndOpen() {
return isSortAndOpen;
}
public void setSortAndOpen(Boolean sortAndOpen) {
isSortAndOpen = sortAndOpen;
}
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setTitle(String title) {
this.title = title;
}
public String getTitle() {
return title;
}
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
public String getFileUrl() {
return fileUrl;
}
public void setSiteStartTime(Date siteStartTime) {
this.siteStartTime = siteStartTime;
}
public Date getSiteStartTime() {
return siteStartTime;
}
public void setSiteEndTime(Date siteEndTime) {
this.siteEndTime = siteEndTime;
}
public Date getSiteEndTime() {
return siteEndTime;
}
public void setUserRegisterStartTime(Date userRegisterStartTime) {
this.userRegisterStartTime = userRegisterStartTime;
}
public Date getUserRegisterStartTime() {
return userRegisterStartTime;
}
public void setUserRegisterEndTime(Date userRegisterEndTime) {
this.userRegisterEndTime = userRegisterEndTime;
}
public Date getUserRegisterEndTime() {
return userRegisterEndTime;
}
public void setShowWechatTagId(String showWechatTagId) {
this.showWechatTagId = showWechatTagId;
}
public String getShowWechatTagId() {
return showWechatTagId;
}
public void setShowCompanyTagId(String showCompanyTagId) {
this.showCompanyTagId = showCompanyTagId;
}
public String getShowCompanyTagId() {
return showCompanyTagId;
}
public void setForbidWechatTagId(String forbidWechatTagId) {
this.forbidWechatTagId = forbidWechatTagId;
}
public String getForbidWechatTagId() {
return forbidWechatTagId;
}
public void setForbidCompanyTagId(String forbidCompanyTagId) {
this.forbidCompanyTagId = forbidCompanyTagId;
}
public String getForbidCompanyTagId() {
return forbidCompanyTagId;
}
public void setHandlerCompanyTagId(String handlerCompanyTagId) {
this.handlerCompanyTagId = handlerCompanyTagId;
}
public String getHandlerCompanyTagId() {
return handlerCompanyTagId;
}
public void setHandlerWechatTagId(String handlerWechatTagId) {
this.handlerWechatTagId = handlerWechatTagId;
}
public String getHandlerWechatTagId() {
return handlerWechatTagId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getChannelId() {
return channelId;
}
public void setInstrumentId(String instrumentId) {
this.instrumentId = instrumentId;
}
public String getInstrumentId() {
return instrumentId;
}
public void setOperate(Long operate) {
this.operate = operate;
}
public Long getOperate() {
return operate;
}
public void setSignNumber(Long signNumber) {
this.signNumber = signNumber;
}
public Long getSignNumber() {
return signNumber;
}
public void setUserType(Long userType) {
this.userType = userType;
}
public Long getUserType() {
return userType;
}
public void setOrderNumber(Long orderNumber) {
this.orderNumber = orderNumber;
}
public Long getOrderNumber() {
return orderNumber;
}
public void setType(Long type) {
this.type = type;
}
public Long getType() {
return type;
}
public void setLink(String link) {
this.link = link;
}
public String getLink() {
return link;
}
public void setLinkParams(String linkParams) {
this.linkParams = linkParams;
}
public String getLinkParams() {
return linkParams;
}
public void setRedirectAppid(String redirectAppid) {
this.redirectAppid = redirectAppid;
}
public String getRedirectAppid() {
return redirectAppid;
}
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getRedirectUrl() {
return redirectUrl;
}
public void setVideoNo(String videoNo) {
this.videoNo = videoNo;
}
public String getVideoNo() {
return videoNo;
}
public void setFeedId(String feedId) {
this.feedId = feedId;
}
public String getFeedId() {
return feedId;
}
public void setDelFlag(Long delFlag) {
this.delFlag = delFlag;
}
public Long getDelFlag() {
return delFlag;
}
public List<Long> getShowWechatTagArray() {
return showWechatTagArray;
}
public void setShowWechatTagArray(List<Long> showWechatTagArray) {
this.showWechatTagArray = showWechatTagArray;
}
public List<Long> getShowCompanyTagArray() {
return showCompanyTagArray;
}
public void setShowCompanyTagArray(List<Long> showCompanyTagArray) {
this.showCompanyTagArray = showCompanyTagArray;
}
public List<Long> getForbidWechatTagArray() {
return forbidWechatTagArray;
}
public void setForbidWechatTagArray(List<Long> forbidWechatTagArray) {
this.forbidWechatTagArray = forbidWechatTagArray;
}
public List<Long> getForbidCompanyTagArray() {
return forbidCompanyTagArray;
}
public void setForbidCompanyTagArray(List<Long> forbidCompanyTagArray) {
this.forbidCompanyTagArray = forbidCompanyTagArray;
}
public List<Long> getMachineArray() {
return machineArray;
}
public void setMachineArray(List<Long> machineArray) {
this.machineArray = machineArray;
}
public List<Long> getHandlerCompanyTagArray() {
return handlerCompanyTagArray;
}
public void setHandlerCompanyTagArray(List<Long> handlerCompanyTagArray) {
this.handlerCompanyTagArray = handlerCompanyTagArray;
}
public List<Long> getHandlerWechatTagArray() {
return handlerWechatTagArray;
}
public void setHandlerWechatTagArray(List<Long> handlerWechatTagArray) {
this.handlerWechatTagArray = handlerWechatTagArray;
}
public List<String> getStartTime() {
return startTime;
}
public void setStartTime(List<String> startTime) {
this.startTime = startTime;
}
public List<String> getRegisterTime() {
return registerTime;
}
public void setRegisterTime(List<String> registerTime) {
this.registerTime = registerTime;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("title", getTitle())
.append("fileUrl", getFileUrl())
.append("siteStartTime", getSiteStartTime())
.append("siteEndTime", getSiteEndTime())
.append("userRegisterStartTime", getUserRegisterStartTime())
.append("userRegisterEndTime", getUserRegisterEndTime())
.append("showWechatTagId", getShowWechatTagId())
.append("showCompanyTagId", getShowCompanyTagId())
.append("forbidWechatTagId", getForbidWechatTagId())
.append("forbidCompanyTagId", getForbidCompanyTagId())
.append("handlerCompanyTagId", getHandlerCompanyTagId())
.append("handlerWechatTagId", getHandlerWechatTagId())
.append("channelId", getChannelId())
.append("instrumentId", getInstrumentId())
.append("operate", getOperate())
.append("signNumber", getSignNumber())
.append("userType", getUserType())
.append("orderNumber", getOrderNumber())
.append("type", getType())
.append("link", getLink())
.append("linkParams", getLinkParams())
.append("redirectAppid", getRedirectAppid())
.append("redirectUrl", getRedirectUrl())
.append("videoNo", getVideoNo())
.append("feedId", getFeedId())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("delFlag", getDelFlag())
.toString();
}
}

@ -0,0 +1,97 @@
package com.flossom.common.core.domain.entity;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* wx_find_instrument
*
* @author flossom
* @date 2024-04-10
*/
public class WxFindInstrument extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private Long id;
/**
* id()
*/
@Excel(name = "发现管理id(发现轮播图和产品攻略)")
private Long wxFindId;
/**
* 1: 2:
*/
@Excel(name = "发现管理类型 1:发现轮播图 2:产品攻略")
private Integer wxFindType;
/**
* ID
*/
@Excel(name = "仪器ID")
private Long instrumentId;
/**
* 0 2
*/
private Long delFlag = 0L;
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setWxFindId(Long wxFindId) {
this.wxFindId = wxFindId;
}
public Long getWxFindId() {
return wxFindId;
}
public void setInstrumentId(Long instrumentId) {
this.instrumentId = instrumentId;
}
public Long getInstrumentId() {
return instrumentId;
}
public void setDelFlag(Long delFlag) {
this.delFlag = delFlag;
}
public Long getDelFlag() {
return delFlag;
}
public Integer getWxFindType() {
return wxFindType;
}
public void setWxFindType(Integer wxFindType) {
this.wxFindType = wxFindType;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("wxFindId", getWxFindId())
.append("instrumentId", getInstrumentId())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("delFlag", getDelFlag())
.toString();
}
}

@ -0,0 +1,580 @@
package com.flossom.common.core.domain.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* wx_find_product_strategy
*
* @author flossom
* @date 2024-04-10
*/
public class WxFindProductStrategy extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private Long id;
/**
*
*/
@Excel(name = "标题")
private String title;
/**
*
*/
@Excel(name = "文件路径")
private String fileUrl;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "开启开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date siteStartTime;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "开启结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date siteEndTime;
/**
*
*/
private List<String> startTime = new ArrayList<>();
/**
*
*/
private List<String> registerTime = new ArrayList<>();
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "用户注册开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date userRegisterStartTime;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "用户注册结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date userRegisterEndTime;
/**
* ID
*/
private List<Long> showWechatTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "可见小程序标签ID")
private String showWechatTagId;
/**
* ID
*/
private List<Long> showCompanyTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "可见外部标签ID")
private String showCompanyTagId;
/**
*ID
*/
private List<Long> forbidWechatTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "禁止小程序标签ID")
private String forbidWechatTagId;
/**
* ID
*/
private List<Long> forbidCompanyTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "禁止外部标签ID")
private String forbidCompanyTagId;
/**
* ID
*/
@Excel(name = "弹窗获取外部标签ID")
private String handlerCompanyTagId;
/**
* ID
*/
private List<Long> handlerCompanyTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "弹窗获取小程序标签ID")
private String handlerWechatTagId;
/**
* ID
*/
private List<Long> handlerWechatTagArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "渠道ID")
private String channelId;
/**
* ID
*/
private List<Long> machineArray = new ArrayList<>();
/**
* ID
*/
@Excel(name = "仪器ID")
private String instrumentId;
/**
* 1 2
*/
@Excel(name = "1开启 2关闭 是否开启")
private Long operate;
/**
*
*/
@Excel(name = "打卡多少次显示活动 ")
private Long signNumber;
/**
* 0 1 2
*/
@Excel(name = "用户类型 0全部 1游客 2会员")
private Long userType;
/**
*
*/
@Excel(name = "排序")
private Long orderNumber;
/**
* 013456
*/
@Excel(name = "跳转类型0无跳转、1跳转内部链接、3跳转外部链接、4跳转小程序、5导向视频号、6导向视频号直播间")
private Long type;
/**
*
*/
@Excel(name = "跳转链接", readConverterExp = "跳=转外部链接、跳转内部链接")
private String link;
/**
*
*/
@Excel(name = "跳转链接参数", readConverterExp = "跳=转内部链接")
private String linkParams;
/**
* appid
*/
@Excel(name = "外链小程序appid", readConverterExp = "跳=转小程序")
private String redirectAppid;
/**
* url
*/
@Excel(name = "外链小程序url", readConverterExp = "跳=转小程序")
private String redirectUrl;
/**
*
*/
@Excel(name = "视频号", readConverterExp = "导=向视频号、导向视频号直播间")
private String videoNo;
/**
* feedId
*/
@Excel(name = "视频号feedId", readConverterExp = "导=向视频号")
private String feedId;
/**
* 0 2
*/
private Long delFlag = 0L;
/**
*
*/
private Long key;
/**
*
*/
private Boolean isSortAndOpen;
public Boolean getSortAndOpen() {
return isSortAndOpen;
}
public void setSortAndOpen(Boolean sortAndOpen) {
isSortAndOpen = sortAndOpen;
}
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setTitle(String title) {
this.title = title;
}
public String getTitle() {
return title;
}
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
public String getFileUrl() {
return fileUrl;
}
public void setSiteStartTime(Date siteStartTime) {
this.siteStartTime = siteStartTime;
}
public Date getSiteStartTime() {
return siteStartTime;
}
public void setSiteEndTime(Date siteEndTime) {
this.siteEndTime = siteEndTime;
}
public Date getSiteEndTime() {
return siteEndTime;
}
public void setUserRegisterStartTime(Date userRegisterStartTime) {
this.userRegisterStartTime = userRegisterStartTime;
}
public Date getUserRegisterStartTime() {
return userRegisterStartTime;
}
public void setUserRegisterEndTime(Date userRegisterEndTime) {
this.userRegisterEndTime = userRegisterEndTime;
}
public Date getUserRegisterEndTime() {
return userRegisterEndTime;
}
public void setShowWechatTagId(String showWechatTagId) {
this.showWechatTagId = showWechatTagId;
}
public String getShowWechatTagId() {
return showWechatTagId;
}
public void setShowCompanyTagId(String showCompanyTagId) {
this.showCompanyTagId = showCompanyTagId;
}
public String getShowCompanyTagId() {
return showCompanyTagId;
}
public void setForbidWechatTagId(String forbidWechatTagId) {
this.forbidWechatTagId = forbidWechatTagId;
}
public String getForbidWechatTagId() {
return forbidWechatTagId;
}
public void setForbidCompanyTagId(String forbidCompanyTagId) {
this.forbidCompanyTagId = forbidCompanyTagId;
}
public String getForbidCompanyTagId() {
return forbidCompanyTagId;
}
public void setHandlerCompanyTagId(String handlerCompanyTagId) {
this.handlerCompanyTagId = handlerCompanyTagId;
}
public String getHandlerCompanyTagId() {
return handlerCompanyTagId;
}
public void setHandlerWechatTagId(String handlerWechatTagId) {
this.handlerWechatTagId = handlerWechatTagId;
}
public String getHandlerWechatTagId() {
return handlerWechatTagId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getChannelId() {
return channelId;
}
public void setInstrumentId(String instrumentId) {
this.instrumentId = instrumentId;
}
public String getInstrumentId() {
return instrumentId;
}
public void setOperate(Long operate) {
this.operate = operate;
}
public Long getOperate() {
return operate;
}
public void setSignNumber(Long signNumber) {
this.signNumber = signNumber;
}
public Long getSignNumber() {
return signNumber;
}
public void setUserType(Long userType) {
this.userType = userType;
}
public Long getUserType() {
return userType;
}
public void setOrderNumber(Long orderNumber) {
this.orderNumber = orderNumber;
}
public Long getOrderNumber() {
return orderNumber;
}
public void setType(Long type) {
this.type = type;
}
public Long getType() {
return type;
}
public void setLink(String link) {
this.link = link;
}
public String getLink() {
return link;
}
public void setLinkParams(String linkParams) {
this.linkParams = linkParams;
}
public String getLinkParams() {
return linkParams;
}
public void setRedirectAppid(String redirectAppid) {
this.redirectAppid = redirectAppid;
}
public String getRedirectAppid() {
return redirectAppid;
}
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getRedirectUrl() {
return redirectUrl;
}
public void setVideoNo(String videoNo) {
this.videoNo = videoNo;
}
public String getVideoNo() {
return videoNo;
}
public void setFeedId(String feedId) {
this.feedId = feedId;
}
public String getFeedId() {
return feedId;
}
public void setDelFlag(Long delFlag) {
this.delFlag = delFlag;
}
public Long getDelFlag() {
return delFlag;
}
public List<Long> getShowWechatTagArray() {
return showWechatTagArray;
}
public void setShowWechatTagArray(List<Long> showWechatTagArray) {
this.showWechatTagArray = showWechatTagArray;
}
public List<Long> getShowCompanyTagArray() {
return showCompanyTagArray;
}
public void setShowCompanyTagArray(List<Long> showCompanyTagArray) {
this.showCompanyTagArray = showCompanyTagArray;
}
public List<Long> getForbidWechatTagArray() {
return forbidWechatTagArray;
}
public void setForbidWechatTagArray(List<Long> forbidWechatTagArray) {
this.forbidWechatTagArray = forbidWechatTagArray;
}
public List<Long> getForbidCompanyTagArray() {
return forbidCompanyTagArray;
}
public void setForbidCompanyTagArray(List<Long> forbidCompanyTagArray) {
this.forbidCompanyTagArray = forbidCompanyTagArray;
}
public List<Long> getHandlerCompanyTagArray() {
return handlerCompanyTagArray;
}
public void setHandlerCompanyTagArray(List<Long> handlerCompanyTagArray) {
this.handlerCompanyTagArray = handlerCompanyTagArray;
}
public List<Long> getHandlerWechatTagArray() {
return handlerWechatTagArray;
}
public void setHandlerWechatTagArray(List<Long> handlerWechatTagArray) {
this.handlerWechatTagArray = handlerWechatTagArray;
}
public List<Long> getMachineArray() {
return machineArray;
}
public void setMachineArray(List<Long> machineArray) {
this.machineArray = machineArray;
}
public List<String> getStartTime() {
return startTime;
}
public void setStartTime(List<String> startTime) {
this.startTime = startTime;
}
public List<String> getRegisterTime() {
return registerTime;
}
public void setRegisterTime(List<String> registerTime) {
this.registerTime = registerTime;
}
public Long getKey() {
return key;
}
public void setKey(Long key) {
this.key = key;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("title", getTitle())
.append("fileUrl", getFileUrl())
.append("siteStartTime", getSiteStartTime())
.append("siteEndTime", getSiteEndTime())
.append("userRegisterStartTime", getUserRegisterStartTime())
.append("userRegisterEndTime", getUserRegisterEndTime())
.append("showWechatTagId", getShowWechatTagId())
.append("showCompanyTagId", getShowCompanyTagId())
.append("forbidWechatTagId", getForbidWechatTagId())
.append("forbidCompanyTagId", getForbidCompanyTagId())
.append("handlerCompanyTagId", getHandlerCompanyTagId())
.append("handlerWechatTagId", getHandlerWechatTagId())
.append("channelId", getChannelId())
.append("instrumentId", getInstrumentId())
.append("operate", getOperate())
.append("signNumber", getSignNumber())
.append("userType", getUserType())
.append("orderNumber", getOrderNumber())
.append("type", getType())
.append("link", getLink())
.append("linkParams", getLinkParams())
.append("redirectAppid", getRedirectAppid())
.append("redirectUrl", getRedirectUrl())
.append("videoNo", getVideoNo())
.append("feedId", getFeedId())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("delFlag", getDelFlag())
.toString();
}
}

@ -0,0 +1,131 @@
package com.flossom.common.core.domain.entity;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* wx_find_tag
*
* @author flossom
* @date 2024-04-10
*/
public class WxFindTag extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private Long id;
/**
* id()
*/
@Excel(name = "发现管理id(发现轮播图和产品攻略)")
private Long wxFindId;
/**
* 1: 2:
*/
@Excel(name = "发现管理类型 1:发现轮播图 2:产品攻略")
private Integer wxFindType;
/**
*
*/
@Excel(name = "标签主键")
private Long tagId;
/**
* 1 2
*/
@Excel(name = "标签类型", readConverterExp = "1=小程序标签,2=企微标签")
private Integer tagType;
/**
* 0 1,2
*/
@Excel(name = "状态", readConverterExp = "0=正常,1=禁用,2获得")
private Long status;
/**
* 0 2
*/
private Long delFlag = 0L;
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setWxFindId(Long wxFindId) {
this.wxFindId = wxFindId;
}
public Long getWxFindId() {
return wxFindId;
}
public void setTagId(Long tagId) {
this.tagId = tagId;
}
public Long getTagId() {
return tagId;
}
public void setTagType(Integer tagType) {
this.tagType = tagType;
}
public Integer getWxFindType() {
return wxFindType;
}
public void setWxFindType(Integer wxFindType) {
this.wxFindType = wxFindType;
}
public Integer getTagType() {
return tagType;
}
public void setStatus(Long status) {
this.status = status;
}
public Long getStatus() {
return status;
}
public void setDelFlag(Long delFlag) {
this.delFlag = delFlag;
}
public Long getDelFlag() {
return delFlag;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("wxFindId", getWxFindId())
.append("tagId", getTagId())
.append("tagType", getTagType())
.append("status", getStatus())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("delFlag", getDelFlag())
.toString();
}
}

@ -25,6 +25,11 @@ public class WxInstrumentInstructions extends BaseEntity {
@Excel(name = "设备id")
private Long instrumentId;
/**
* ,
*/
private String nameCongruent;
/**
*
*/
@ -106,6 +111,14 @@ public class WxInstrumentInstructions extends BaseEntity {
isSave = save;
}
public String getNameCongruent() {
return nameCongruent;
}
public void setNameCongruent(String nameCongruent) {
this.nameCongruent = nameCongruent;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

@ -0,0 +1,143 @@
package com.flossom.common.core.domain.entity;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* wx_interface_request_log
*/
public class WxInterfaceRequestLog extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* id
*/
private Long id;
/**
*
*/
private String belonging;
/**
*
*/
private String url;
/**
*
*/
private String method;
/**
* params
*/
private String requestParams;
/**
* body
*/
private String requestBody;
/**
*
*/
private Long responseCode;
/**
*
*/
private Long times;
/**
*
*/
private String responseData;
/**
*
*/
private String errorMessage;
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setBelonging(String belonging) {
this.belonging = belonging;
}
public String getBelonging() {
return belonging;
}
public void setUrl(String url) {
this.url = url;
}
public String getUrl() {
return url;
}
public void setMethod(String method) {
this.method = method;
}
public String getMethod() {
return method;
}
public void setRequestParams(String requestParams) {
this.requestParams = requestParams;
}
public String getRequestParams() {
return requestParams;
}
public void setRequestBody(String requestBody) {
this.requestBody = requestBody;
}
public String getRequestBody() {
return requestBody;
}
public void setResponseCode(Long responseCode) {
this.responseCode = responseCode;
}
public Long getResponseCode() {
return responseCode;
}
public void setTimes(Long times) {
this.times = times;
}
public Long getTimes() {
return times;
}
public void setResponseData(String responseData) {
this.responseData = responseData;
}
public String getResponseData() {
return responseData;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getErrorMessage() {
return errorMessage;
}
}

@ -122,6 +122,53 @@ public class WxMode extends BaseEntity
private List<WxModeGear> modeVibrate = new ArrayList<>();
/**
* json
*/
private String faceCalibrationPopUpJson;
/**
* json
*/
private String nursingAdjustmentJson;
/**
* json
*/
private String customizationElectricFormula;
/**
* json
*/
private String customizationElectricFrequency;
/**
* json
*/
private String eyeNursingRadar;
/**
* json
*/
private String eyeNursingQuestion;
/**
* json
*/
private String eyeNursingTime;
/**
*
*/
private String eyeNursingElectricFormula;
/**
* jsonx
*/
private String customizationElectricQuestion;
private String faleAll;
public void setId(Long id)
{
@ -395,6 +442,86 @@ public class WxMode extends BaseEntity
this.modeVibrate = modeVibrate;
}
public String getFaceCalibrationPopUpJson() {
return faceCalibrationPopUpJson;
}
public void setFaceCalibrationPopUpJson(String faceCalibrationPopUpJson) {
this.faceCalibrationPopUpJson = faceCalibrationPopUpJson;
}
public String getNursingAdjustmentJson() {
return nursingAdjustmentJson;
}
public void setNursingAdjustmentJson(String nursingAdjustmentJson) {
this.nursingAdjustmentJson = nursingAdjustmentJson;
}
public String getCustomizationElectricFormula() {
return customizationElectricFormula;
}
public void setCustomizationElectricFormula(String customizationElectricFormula) {
this.customizationElectricFormula = customizationElectricFormula;
}
public String getCustomizationElectricFrequency() {
return customizationElectricFrequency;
}
public void setCustomizationElectricFrequency(String customizationElectricFrequency) {
this.customizationElectricFrequency = customizationElectricFrequency;
}
public String getEyeNursingRadar() {
return eyeNursingRadar;
}
public void setEyeNursingRadar(String eyeNursingRadar) {
this.eyeNursingRadar = eyeNursingRadar;
}
public String getEyeNursingQuestion() {
return eyeNursingQuestion;
}
public void setEyeNursingQuestion(String eyeNursingQuestion) {
this.eyeNursingQuestion = eyeNursingQuestion;
}
public String getEyeNursingTime() {
return eyeNursingTime;
}
public void setEyeNursingTime(String eyeNursingTime) {
this.eyeNursingTime = eyeNursingTime;
}
public String getEyeNursingElectricFormula() {
return eyeNursingElectricFormula;
}
public void setEyeNursingElectricFormula(String eyeNursingElectricFormula) {
this.eyeNursingElectricFormula = eyeNursingElectricFormula;
}
public String getCustomizationElectricQuestion() {
return customizationElectricQuestion;
}
public void setCustomizationElectricQuestion(String customizationElectricQuestion) {
this.customizationElectricQuestion = customizationElectricQuestion;
}
public String getFaleAll() {
return faleAll;
}
public void setFaleAll(String faleAll) {
this.faleAll = faleAll;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

@ -0,0 +1,185 @@
package com.flossom.common.core.domain.entity;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* wx_mode_we200_relation
*
* @author flossom
* @date 2024-04-11
*/
public class WxModeWe200Relation extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* $column.columnComment
*/
private Long id;
/**
* we200
*/
private Long modeId;
/**
* json
*/
private String faceCalibrationPopUpJson;
/**
* json
*/
private String nursingAdjustmentJson;
/**
* json
*/
private String customizationElectricFormula;
/**
* json
*/
private String customizationElectricFrequency;
/**
* json
*/
private String eyeNursingRadar;
/**
* json
*/
private String eyeNursingQuestion;
/**
* json
*/
private String eyeNursingTime;
/**
*
*/
private String eyeNursingElectricFormula;
/**
* jsonx
*/
private String customizationElectricQuestion;
private String faleAll;
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setModeId(Long modeId) {
this.modeId = modeId;
}
public Long getModeId() {
return modeId;
}
public void setFaceCalibrationPopUpJson(String faceCalibrationPopUpJson) {
this.faceCalibrationPopUpJson = faceCalibrationPopUpJson;
}
public String getFaceCalibrationPopUpJson() {
return faceCalibrationPopUpJson;
}
public void setNursingAdjustmentJson(String nursingAdjustmentJson) {
this.nursingAdjustmentJson = nursingAdjustmentJson;
}
public String getNursingAdjustmentJson() {
return nursingAdjustmentJson;
}
public void setCustomizationElectricFormula(String customizationElectricFormula) {
this.customizationElectricFormula = customizationElectricFormula;
}
public String getCustomizationElectricFormula() {
return customizationElectricFormula;
}
public void setCustomizationElectricFrequency(String customizationElectricFrequency) {
this.customizationElectricFrequency = customizationElectricFrequency;
}
public String getCustomizationElectricFrequency() {
return customizationElectricFrequency;
}
public void setEyeNursingRadar(String eyeNursingRadar) {
this.eyeNursingRadar = eyeNursingRadar;
}
public String getEyeNursingRadar() {
return eyeNursingRadar;
}
public void setEyeNursingQuestion(String eyeNursingQuestion) {
this.eyeNursingQuestion = eyeNursingQuestion;
}
public String getEyeNursingQuestion() {
return eyeNursingQuestion;
}
public void setEyeNursingTime(String eyeNursingTime) {
this.eyeNursingTime = eyeNursingTime;
}
public String getEyeNursingTime() {
return eyeNursingTime;
}
public void setEyeNursingElectricFormula(String eyeNursingElectricFormula) {
this.eyeNursingElectricFormula = eyeNursingElectricFormula;
}
public String getEyeNursingElectricFormula() {
return eyeNursingElectricFormula;
}
public void setCustomizationElectricQuestion(String customizationElectricQuestion) {
this.customizationElectricQuestion = customizationElectricQuestion;
}
public String getCustomizationElectricQuestion() {
return customizationElectricQuestion;
}
public String getFaleAll() {
return faleAll;
}
public void setFaleAll(String faleAll) {
this.faleAll = faleAll;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("modeId", getModeId())
.append("faceCalibrationPopUpJson", getFaceCalibrationPopUpJson())
.append("nursingAdjustmentJson", getNursingAdjustmentJson())
.append("customizationElectricFormula", getCustomizationElectricFormula())
.append("customizationElectricFrequency", getCustomizationElectricFrequency())
.append("eyeNursingRadar", getEyeNursingRadar())
.append("eyeNursingQuestion", getEyeNursingQuestion())
.append("eyeNursingTime", getEyeNursingTime())
.append("eyeNursingElectricFormula", getEyeNursingElectricFormula())
.append("customizationElectricQuestion", getCustomizationElectricQuestion())
.toString();
}
}

@ -155,6 +155,32 @@ public class WxNursingLog extends BaseEntity {
*/
private Integer jumpType;
/**
*
*/
private String dictTypeName;
/**
* id
*/
private Long dictTypeId;
public String getDictTypeName() {
return dictTypeName;
}
public void setDictTypeName(String dictTypeName) {
this.dictTypeName = dictTypeName;
}
public Long getDictTypeId() {
return dictTypeId;
}
public void setDictTypeId(Long dictTypeId) {
this.dictTypeId = dictTypeId;
}
public void setId(Long id) {
this.id = id;
}

@ -1,8 +1,6 @@
package com.flossom.common.core.domain.entity;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* wx_user_script_log

@ -1,13 +1,8 @@
package com.flossom.common.core.domain.req;
import com.flossom.common.core.annotation.Excel;
import com.flossom.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalTime;
import java.util.List;
/**
* wx_nursing_log
@ -55,6 +50,21 @@ public class WxNursingLogReq {
*/
private String nursingData;
/**
*
*/
private Boolean waterTest;
/**
*
*/
private Integer energyValue;
/**
*
*/
private List<Integer> gearPositionList;
public void setInstrumentId(Long instrumentId) {
this.instrumentId = instrumentId;
}
@ -110,4 +120,28 @@ public class WxNursingLogReq {
public void setNursingData(String nursingData) {
this.nursingData = nursingData;
}
public List<Integer> getGearPositionList() {
return gearPositionList;
}
public void setGearPositionList(List<Integer> gearPositionList) {
this.gearPositionList = gearPositionList;
}
public Boolean getWaterTest() {
return waterTest;
}
public void setWaterTest(Boolean waterTest) {
this.waterTest = waterTest;
}
public Integer getEnergyValue() {
return energyValue;
}
public void setEnergyValue(Integer energyValue) {
this.energyValue = energyValue;
}
}

@ -0,0 +1,34 @@
package com.flossom.common.core.domain.ret;
/**
*
*/
public class CustomizationElectricFormulaVo {
private String feelingType;
private Double pullingSeconds;
private Double moisturizeSeconds;
public String getFeelingType() {
return feelingType;
}
public void setFeelingType(String feelingType) {
this.feelingType = feelingType;
}
public Double getPullingSeconds() {
return pullingSeconds;
}
public void setPullingSeconds(Double pullingSeconds) {
this.pullingSeconds = pullingSeconds;
}
public Double getMoisturizeSeconds() {
return moisturizeSeconds;
}
public void setMoisturizeSeconds(Double moisturizeSeconds) {
this.moisturizeSeconds = moisturizeSeconds;
}
}

@ -181,6 +181,51 @@ public class WxModeRet {
*/
private List<WxModeGear> modeVibrate = new ArrayList<>();
/**
* json
*/
private String faceCalibrationPopUpJson;
/**
* json
*/
private String nursingAdjustmentJson;
/**
* json
*/
private String customizationElectricFormula;
/**
* json
*/
private String customizationElectricFrequency;
/**
* json
*/
private String eyeNursingRadar;
/**
* json
*/
private String eyeNursingQuestion;
/**
* json
*/
private String eyeNursingTime;
/**
*
*/
private String eyeNursingElectricFormula;
/**
* jsonx
*/
private String customizationElectricQuestion;
public void setId(Long id) {
this.id = id;
@ -445,4 +490,76 @@ public class WxModeRet {
public void setModeVibrate(List<WxModeGear> modeVibrate) {
this.modeVibrate = modeVibrate;
}
public String getFaceCalibrationPopUpJson() {
return faceCalibrationPopUpJson;
}
public void setFaceCalibrationPopUpJson(String faceCalibrationPopUpJson) {
this.faceCalibrationPopUpJson = faceCalibrationPopUpJson;
}
public String getNursingAdjustmentJson() {
return nursingAdjustmentJson;
}
public void setNursingAdjustmentJson(String nursingAdjustmentJson) {
this.nursingAdjustmentJson = nursingAdjustmentJson;
}
public String getCustomizationElectricFormula() {
return customizationElectricFormula;
}
public void setCustomizationElectricFormula(String customizationElectricFormula) {
this.customizationElectricFormula = customizationElectricFormula;
}
public String getCustomizationElectricFrequency() {
return customizationElectricFrequency;
}
public void setCustomizationElectricFrequency(String customizationElectricFrequency) {
this.customizationElectricFrequency = customizationElectricFrequency;
}
public String getEyeNursingRadar() {
return eyeNursingRadar;
}
public void setEyeNursingRadar(String eyeNursingRadar) {
this.eyeNursingRadar = eyeNursingRadar;
}
public String getEyeNursingQuestion() {
return eyeNursingQuestion;
}
public void setEyeNursingQuestion(String eyeNursingQuestion) {
this.eyeNursingQuestion = eyeNursingQuestion;
}
public String getEyeNursingTime() {
return eyeNursingTime;
}
public void setEyeNursingTime(String eyeNursingTime) {
this.eyeNursingTime = eyeNursingTime;
}
public String getEyeNursingElectricFormula() {
return eyeNursingElectricFormula;
}
public void setEyeNursingElectricFormula(String eyeNursingElectricFormula) {
this.eyeNursingElectricFormula = eyeNursingElectricFormula;
}
public String getCustomizationElectricQuestion() {
return customizationElectricQuestion;
}
public void setCustomizationElectricQuestion(String customizationElectricQuestion) {
this.customizationElectricQuestion = customizationElectricQuestion;
}
}

@ -0,0 +1,34 @@
package com.flossom.common.core.domain.shuyun;
import com.flossom.common.core.domain.entity.WxUserInstrument;
public class ExchangeBindingUserInstrument {
private WxUserInstrument oldUserInstrument;
private WxUserInstrument newUserInstrument;
public ExchangeBindingUserInstrument() {
}
public ExchangeBindingUserInstrument(WxUserInstrument oldUserInstrument, WxUserInstrument newUserInstrument) {
this.oldUserInstrument = oldUserInstrument;
this.newUserInstrument = newUserInstrument;
}
public WxUserInstrument getOldUserInstrument() {
return oldUserInstrument;
}
public void setOldUserInstrument(WxUserInstrument oldUserInstrument) {
this.oldUserInstrument = oldUserInstrument;
}
public WxUserInstrument getNewUserInstrument() {
return newUserInstrument;
}
public void setNewUserInstrument(WxUserInstrument newUserInstrument) {
this.newUserInstrument = newUserInstrument;
}
}

@ -0,0 +1,43 @@
package com.flossom.common.core.domain.shuyun;
public class ShuYunBatchIntegralOperation {
private ShuYunPointChange shuYunPointChange;
private Long userId;
private String unionId;
public ShuYunBatchIntegralOperation() {
}
public ShuYunBatchIntegralOperation(ShuYunPointChange shuYunPointChange, Long userId, String unionId) {
this.shuYunPointChange = shuYunPointChange;
this.userId = userId;
this.unionId = unionId;
}
public ShuYunPointChange getShuYunPointChange() {
return shuYunPointChange;
}
public void setShuYunPointChange(ShuYunPointChange shuYunPointChange) {
this.shuYunPointChange = shuYunPointChange;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getUnionId() {
return unionId;
}
public void setUnionId(String unionId) {
this.unionId = unionId;
}
}

@ -0,0 +1,58 @@
package com.flossom.common.core.domain.shuyun;
import java.util.ArrayList;
import java.util.List;
public class ShuYunBatchTagOperation {
// 计算新增加元素
List<Integer> needAddTagIdList = new ArrayList<>();
// 计算要删除的元素
List<Integer> needDelTagIdList = new ArrayList<>();
private Long userId;
private String unionId;
public ShuYunBatchTagOperation() {
}
public ShuYunBatchTagOperation(List<Integer> needAddTagIdList, List<Integer> needDelTagIdList, Long userId, String unionId) {
this.needDelTagIdList = needDelTagIdList;
this.needAddTagIdList = needAddTagIdList;
this.userId = userId;
this.unionId = unionId;
}
public List<Integer> getNeedDelTagIdList() {
return needDelTagIdList;
}
public void setNeedDelTagIdList(List<Integer> needDelTagIdList) {
this.needDelTagIdList = needDelTagIdList;
}
public List<Integer> getNeedAddTagIdList() {
return needAddTagIdList;
}
public void setNeedAddTagIdList(List<Integer> needAddTagIdList) {
this.needAddTagIdList = needAddTagIdList;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getUnionId() {
return unionId;
}
public void setUnionId(String unionId) {
this.unionId = unionId;
}
}

@ -19,7 +19,7 @@ public class ShuYunTag {
/**
* 0, 1(), 2:, 3:, 4:, 5:(), 6:, 7:8:
*/
private Integer valueType;
private Integer valueType = 1;
/**
* (0://, 1:/)
* 34, "0":"整数","1":"小数",
@ -33,16 +33,16 @@ public class ShuYunTag {
/**
* 24(0:1)
*/
private Integer valueNumberOption;
private Integer valueNumberOption = 0;
/**
* -1
* ,validPeriodType使
*/
private Integer validPeriod;
private Integer validPeriod = -1;
/**
* (0:, 1:, 2:,-1:)
*/
private Integer validPeriodType;
private Integer validPeriodType = 0;
/**
*
*/
@ -56,7 +56,7 @@ public class ShuYunTag {
/**
* (0, 1(), 2:, 3:, 4:, 5:(), 6:, 7:8:)
*/
private String tagType;
private String tagType = "1";
private List<ShuYunTagValue> tagValue;
private Integer permission;
@ -67,6 +67,10 @@ public class ShuYunTag {
public ShuYunTag() {
}
public ShuYunTag(Integer groupId, String tagName) {
this.groupId = groupId;
this.tagName = tagName;
}
public ShuYunTag(Integer groupId, Integer tagId, String tagName, Integer valueType, Integer optionType, Integer valueNumberOption, Integer validPeriod, Integer validPeriodType, String description) {
this.groupId = groupId;

@ -12,7 +12,7 @@ public class ShuYunTagCreateCallbackReq {
/**
* ID
*/
private String tagId;
private Integer tagId;
/**
*
*/
@ -27,17 +27,17 @@ public class ShuYunTagCreateCallbackReq {
public ShuYunTagCreateCallbackReq() {
}
public ShuYunTagCreateCallbackReq(String tagId, String tagName, Date addTime) {
public ShuYunTagCreateCallbackReq(Integer tagId, String tagName, Date addTime) {
this.tagId = tagId;
this.tagName = tagName;
this.addTime = addTime;
}
public String getTagId() {
public Integer getTagId() {
return tagId;
}
public void setTagId(String tagId) {
public void setTagId(Integer tagId) {
this.tagId = tagId;
}

@ -1,7 +1,5 @@
package com.flossom.common.core.domain.shuyun;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;
/**
@ -43,13 +41,18 @@ public class ShuYunUserTagReq<T> {
*/
private Integer parentTagId;
/**
*
*
*/
private String instanceName;
public ShuYunUserTagReq() {
}
public ShuYunUserTagReq(Integer tagId, List<T> tagValue) {
this.tagId = tagId;
this.tagValue = tagValue;
}
public ShuYunUserTagReq(String platCode, String shopId, String platAccount, Integer tagId, List<T> tagValue) {
this.platCode = platCode;
this.shopId = shopId;
@ -65,6 +68,13 @@ public class ShuYunUserTagReq<T> {
this.tagsMark = tagsMark;
}
public ShuYunUserTagReq(Integer tagId, List<T> tagValue, Integer parentTagId, String instanceName) {
this.tagId = tagId;
this.tagValue = tagValue;
this.parentTagId = parentTagId;
this.instanceName = instanceName;
}
public String getPlatCode() {
return platCode;
}

@ -0,0 +1,43 @@
package com.flossom.common.core.enums;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
*
*
* @author flossom
*/
public enum RedarlevelInitEnum {
VERTICAL("垂"),
COLLAPSE("垮"),
LINES("纹"),
PINE("松"),
CONCAVE("凹"),
BLACK("黑"),
FATIGUE("疲"),
SWELLING("肿");
private final String name;
RedarlevelInitEnum(String name) {
this.name = name;
}
public String getName() {
return name;
}
/**
*
* @return
*/
public static Map<String, Integer> initRedarMap(Integer min) {
Map<String, Integer> initMap = new HashMap<>();
Arrays.stream(values()).forEach(item -> {
initMap.put(item.getName(), min);
});
return initMap;
}
}

@ -0,0 +1,30 @@
package com.flossom.common.core.enums;
/**
*
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/11
*/
public enum WxFindEnum {
CAROUSEL_IMAGE(1, "发现轮播图"),
PRODUCT_STARTEGY(2, "产品攻略");
private final Integer type;
private final String name;
WxFindEnum(Integer type, String name) {
this.type = type;
this.name = name;
}
public Integer getType() {
return type;
}
public String getName() {
return name;
}
}

@ -1,6 +1,7 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.ActivityChannelInfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@ -10,8 +11,7 @@ import java.util.List;
* @author flossom
* @date 2023-12-20
*/
public interface ActivityChannelInfoMapper
{
public interface ActivityChannelInfoMapper {
/**
*
*
@ -20,6 +20,14 @@ public interface ActivityChannelInfoMapper
*/
public ActivityChannelInfo selectActivityChannelInfoById(Long id);
/**
*
*
* @param id
* @return
*/
List<ActivityChannelInfo> selectActivityChannelInfoByIdList(@Param("ids") List<Long> id);
/**
*
*

@ -11,8 +11,7 @@ import java.util.List;
* @author flossom
* @date 2023-12-11
*/
public interface CtLeaveMessageMapper
{
public interface CtLeaveMessageMapper {
/**
* -
*

@ -1,7 +1,9 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.SiteInfo;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
@ -59,4 +61,16 @@ public interface SiteInfoMapper
* @return
*/
public int deleteSiteInfoByIds(Long[] ids);
/**
*
* @param orderNumber
* @param operate
* @param id id
* @param updateDate
* @param updateName
*/
void updateSort(@Param("operate")Integer operate, @Param("orderNumber")Long orderNumber, @Param("id")Long id, @Param("updateDate")Date updateDate, @Param("updateName")String updateName);
}

@ -1,8 +1,9 @@
package com.flossom.common.core.mapper;
import java.util.List;
import com.flossom.common.core.domain.entity.SiteInfoTag;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* Mapper
@ -77,4 +78,12 @@ public interface SiteInfoTagMapper
* @return
*/
public int deleteSiteInfoTagByTagId(Long tagId);
/**
*
*
* @param siteInfoTagList
* @return
*/
void inserts(@Param("siteInfoTagList")List<SiteInfoTag> siteInfoTagList);
}

@ -36,6 +36,24 @@ public interface SysTagMapper {
*/
public SysTag selectDeptById(Long id);
/**
* ID
*
* @param ids ID
* @return
*/
List<Long> selectDeptByIds(@Param("ids")List<Long> ids);
/**
* ID
*
* @param ids ID
* @return
*/
List<SysTag> selectDataListByIds(@Param("ids")List<Long> ids);
public SysTag selectSysTagById(@Param("id") Long id, @Param("delFlag") Integer delFlag);
/**
* ID
*

@ -62,7 +62,7 @@ public interface WxClockLogMapper {
*/
public int deleteWxClockLogByIds(Long[] ids);
Integer selectCountByUserId(WxClockLog queryClockLog);
Long selectCountByUserId(WxClockLog queryClockLog);
List<WxClockLogRet> selectWxClockImgRetList(WxClockLog queryClockLog);

@ -61,5 +61,5 @@ public interface WxClockStatisticsMapper {
*/
public int deleteWxClockStatisticsByIds(Long[] ids);
List<WxClockStatistics> selectByUserIdAndYearMonth(@Param("userIdList") List<Long> userIdList, @Param("year") int year, @Param("month") int month);
List<WxClockStatistics> selectByUserIdAndYearMonth(@Param("userIdList") List<Long> userIdList, @Param("year") Integer year, @Param("month") Integer month);
}

@ -0,0 +1,76 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.WxFindCarousel;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* Mapper
*
* @author flossom
* @date 2024-04-10
*/
public interface WxFindCarouselMapper {
/**
*
*
* @param id
* @return
*/
WxFindCarousel selectWxFindCarouselById(Long id);
/**
*
*
* @param wxFindCarousel
* @return
*/
List<WxFindCarousel> selectWxFindCarouselList(WxFindCarousel wxFindCarousel);
/**
*
*
* @param wxFindCarousel
* @return
*/
int insertWxFindCarousel(WxFindCarousel wxFindCarousel);
/**
*
*
* @param wxFindCarousel
* @return
*/
int updateWxFindCarousel(WxFindCarousel wxFindCarousel);
/**
*
*
* @param id
* @return
*/
int deleteWxFindCarouselById(@Param("id") Long id, @Param("updateDate") Date updateDate, @Param("updateName") String updateName);
/**
*
*
* @param ids
* @return
*/
int deleteWxFindCarouselByIds(@Param("ids") Long[] ids, @Param("updateDate") Date updateDate, @Param("updateName") String updateName);
/**
*
*
* @param orderNumber
* @param operate
* @param id id
* @param updateDate
* @param updateName
*/
void updateSortOrOpen(@Param("operate") Long operate, @Param("orderNumber") Long orderNumber, @Param("id") Long id, @Param("updateDate") Date updateDate, @Param("updateName") String updateName);
void updateTitleById(@Param("title") String title, @Param("id") long id);
}

@ -0,0 +1,71 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.WxFindInstrument;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* Mapper
*
* @author flossom
* @date 2024-04-10
*/
public interface WxFindInstrumentMapper {
/**
*
*
* @param id
* @return
*/
WxFindInstrument selectWxFindInstrumentById(Long id);
/**
*
*
* @param wxFindInstrument
* @return
*/
List<WxFindInstrument> selectWxFindInstrumentList(WxFindInstrument wxFindInstrument);
/**
*
*
* @param wxFindInstrument
* @return
*/
int insertWxFindInstrument(WxFindInstrument wxFindInstrument);
/**
*
*
* @param wxFindInstrument
* @return
*/
int updateWxFindInstrument(WxFindInstrument wxFindInstrument);
/**
*
*
* @param id
* @return
*/
int deleteWxFindInstrumentById(Long id);
/**
*
*
* @param ids
* @return
*/
int deleteWxFindInstrumentByIds(Long[] ids);
/**
* id
* @param wxFindId id
* @param updateDate
* @param updateName
*/
void deleteWxFindInstrumentByWxFindId(@Param("wxFindId")Long wxFindId, @Param("updateDate")Date updateDate, @Param("updateName")String updateName, @Param("wxFindType")Integer wxFindType);
}

@ -0,0 +1,73 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.WxFindProductStrategy;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* Mapper
*
* @author flossom
* @date 2024-04-10
*/
public interface WxFindProductStrategyMapper {
/**
*
*
* @param id
* @return
*/
WxFindProductStrategy selectWxFindProductStrategyById(Long id);
/**
*
*
* @param wxFindProductStrategy
* @return
*/
List<WxFindProductStrategy> selectWxFindProductStrategyList(WxFindProductStrategy wxFindProductStrategy);
/**
*
*
* @param wxFindProductStrategy
* @return
*/
int insertWxFindProductStrategy(WxFindProductStrategy wxFindProductStrategy);
/**
*
*
* @param wxFindProductStrategy
* @return
*/
int updateWxFindProductStrategy(WxFindProductStrategy wxFindProductStrategy);
/**
*
*
* @param id
* @return
*/
int deleteWxFindProductStrategyById(@Param("id")Long id, @Param("updateDate") Date updateDate, @Param("updateName")String updateName);
/**
*
*
* @param ids
* @return
*/
int deleteWxFindProductStrategyByIds(@Param("ids")Long[] ids, @Param("updateDate") Date updateDate, @Param("updateName")String updateName);
/**
*
* @param orderNumber
* @param operate
* @param id id
* @param updateDate
* @param updateName
*/
void updateSort(@Param("operate")Long operate, @Param("orderNumber")Long orderNumber, @Param("id")Long id, @Param("updateDate")Date updateDate, @Param("updateName")String updateName);
}

@ -0,0 +1,79 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.WxFindTag;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* Mapper
*
* @author flossom
* @date 2024-04-10
*/
public interface WxFindTagMapper {
/**
*
*
* @param id
* @return
*/
WxFindTag selectWxFindTagById(Long id);
/**
*
*
* @param wxFindTag
* @return
*/
List<WxFindTag> selectWxFindTagList(WxFindTag wxFindTag);
/**
*
*
* @param wxFindTag
* @return
*/
int insertWxFindTag(WxFindTag wxFindTag);
/**
*
*
* @param wxFindTagList
* @return
*/
int inserts(@Param("wxFindTagList") List<WxFindTag> wxFindTagList);
/**
*
*
* @param wxFindTag
* @return
*/
int updateWxFindTag(WxFindTag wxFindTag);
/**
*
*
* @param id
* @return
*/
int deleteWxFindTagById(Long id);
/**
*
*
* @param ids
* @return
*/
int deleteWxFindTagByIds(Long[] ids);
/**
* id
* @param wxFindId id
* @param updateDate
* @param updateName
*/
void deleteWxFindTagByWxFindId(@Param("wxFindId")Long wxFindId, @Param("updateDate")Date updateDate, @Param("updateName")String updateName, @Param("wxFindType")Integer wxFindType);
}

@ -0,0 +1,61 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.WxInterfaceRequestLog;
import java.util.List;
/**
* Mapper
*/
public interface WxInterfaceRequestLogMapper {
/**
*
*
* @param id
* @return
*/
public WxInterfaceRequestLog selectWxInterfaceRequestLogById(Long id);
/**
*
*
* @param wxInterfaceRequestLog
* @return
*/
public List<WxInterfaceRequestLog> selectWxInterfaceRequestLogList(WxInterfaceRequestLog wxInterfaceRequestLog);
/**
*
*
* @param wxInterfaceRequestLog
* @return
*/
public int insertWxInterfaceRequestLog(WxInterfaceRequestLog wxInterfaceRequestLog);
/**
*
*
* @param wxInterfaceRequestLog
* @return
*/
public int updateWxInterfaceRequestLog(WxInterfaceRequestLog wxInterfaceRequestLog);
/**
*
*
* @param id
* @return
*/
public int deleteWxInterfaceRequestLogById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteWxInterfaceRequestLogByIds(Long[] ids);
}

@ -0,0 +1,66 @@
package com.flossom.common.core.mapper;
import com.flossom.common.core.domain.entity.WxModeWe200Relation;
import java.util.List;
/**
* Mapper
*
* @author flossom
* @date 2024-04-11
*/
public interface WxModeWe200RelationMapper {
/**
*
*
* @param id
* @return
*/
public WxModeWe200Relation selectWxModeWe200RelationById(Long id);
/**
*
*
* @param wxModeWe200Relation
* @return
*/
public List<WxModeWe200Relation> selectWxModeWe200RelationList(WxModeWe200Relation wxModeWe200Relation);
public WxModeWe200Relation selectWxModeWe200RelationByModeId(Long modeId);
/**
*
*
* @param wxModeWe200Relation
* @return
*/
public int insertWxModeWe200Relation(WxModeWe200Relation wxModeWe200Relation);
/**
*
*
* @param wxModeWe200Relation
* @return
*/
public int updateWxModeWe200Relation(WxModeWe200Relation wxModeWe200Relation);
/**
*
*
* @param id
* @return
*/
public int deleteWxModeWe200RelationById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteWxModeWe200RelationByIds(Long[] ids);
}

@ -68,4 +68,11 @@ public interface WxUserInstrumentMapper
void deleteByUserId(@Param("userId") Long userId);
List<WxUserInstrument> selectListByCondition(WxUserInstrument wxUserInstrument);
/**
* idid
* @param userId id
* @return id
*/
List<Long> selectInstrumentIdListByUserId(@Param("userId") Long userId);
}

@ -71,9 +71,11 @@ public interface WxUserTagMapper {
List<Integer> selectWxUserTagByTagId(@Param("tagId") Integer tagId, @Param("type") Integer type);
List<Integer> selectWxUserTagByUserId(@Param("userId") Integer userId, @Param("type") Integer type);
void insertBatch(@Param("list") List<WxUserTag> list);
void deleteBatch(@Param("tagIdList") List<Integer> tagIdList, @Param("userIdList") List<Integer> userIdList);
void deleteBatch(@Param("tagIdList") List<Integer> tagIdList, @Param("userId") Integer userId, @Param("type") Integer type);
void deleteWxUserTagByUserId(@Param("userId") Long userId);
}

@ -0,0 +1,71 @@
package com.flossom.common.core.request.miniProgram;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
*
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/16
*/
public class AnswerResultRequest {
/**
*
*/
@NotEmpty(message = "电流定制配方不能为空")
private List<String> electricList;
/**
* (Lv1, Lv2, Lv3, Lv4, Lv5)
*/
@NotNull(message = "电流等级不能为空")
private Integer electricLevel;
/**
*
*/
@NotNull(message = "电流雷达图最小等级不能为空")
private Integer min;
/**
* id
*/
@NotNull(message = "模式id不能为空")
private Long modeId;
public List<String> getElectricList() {
return electricList;
}
public void setElectricList(List<String> electricList) {
this.electricList = electricList;
}
public Integer getElectricLevel() {
return electricLevel;
}
public void setElectricLevel(Integer electricLevel) {
this.electricLevel = electricLevel;
}
public Long getModeId() {
return modeId;
}
public void setModeId(Long modeId) {
this.modeId = modeId;
}
public Integer getMin() {
return min;
}
public void setMin(Integer min) {
this.min = min;
}
}

@ -0,0 +1,41 @@
package com.flossom.common.core.request.miniProgram;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/16
*/
public class ElectricFormulaRequest {
/**
* ID
*/
@NotNull(message = "模式ID不能为空")
private Long modeId;
/**
*
*/
@NotEmpty(message = "答题结论不能为空")
private List<Integer> formula;
public Long getModeId() {
return modeId;
}
public void setModeId(Long modeId) {
this.modeId = modeId;
}
public List<Integer> getFormula() {
return formula;
}
public void setFormula(List<Integer> formula) {
this.formula = formula;
}
}

@ -0,0 +1,132 @@
package com.flossom.common.core.response;
import java.io.Serializable;
/**
*
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/11
*/
public class WxFindCarouselListResponse implements Serializable {
private static final long serialVersionUID = 1243453534L;
/**
* ID
*/
private Long id;
/**
*
*/
private String fileUrl;
/**
* 013456
*/
private Long type;
/**
*
*/
private String link;
/**
*
*/
private String linkParams;
/**
* appid
*/
private String redirectAppid;
/**
* url
*/
private String redirectUrl;
/**
*
*/
private String videoNo;
/**
* feedId
*/
private String feedId;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getFileUrl() {
return fileUrl;
}
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
public Long getType() {
return type;
}
public void setType(Long type) {
this.type = type;
}
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
public String getLinkParams() {
return linkParams;
}
public void setLinkParams(String linkParams) {
this.linkParams = linkParams;
}
public String getRedirectAppid() {
return redirectAppid;
}
public void setRedirectAppid(String redirectAppid) {
this.redirectAppid = redirectAppid;
}
public String getRedirectUrl() {
return redirectUrl;
}
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
public String getVideoNo() {
return videoNo;
}
public void setVideoNo(String videoNo) {
this.videoNo = videoNo;
}
public String getFeedId() {
return feedId;
}
public void setFeedId(String feedId) {
this.feedId = feedId;
}
}

@ -0,0 +1,73 @@
package com.flossom.common.core.response.miniProgram;
/**
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/16
*/
public class EyeNursingElectricFormulaResponse {
/**
*
*/
private String requirementSelection;
/**
*
*/
private String part;
/**
*
*/
private String CurrentType;
/**
*
*/
private Integer levelScore;
public EyeNursingElectricFormulaResponse() {
}
public EyeNursingElectricFormulaResponse(String requirementSelection, String part, String currentType, Integer levelScore) {
this.requirementSelection = requirementSelection;
this.part = part;
CurrentType = currentType;
this.levelScore = levelScore;
}
public String getRequirementSelection() {
return requirementSelection;
}
public void setRequirementSelection(String requirementSelection) {
this.requirementSelection = requirementSelection;
}
public String getPart() {
return part;
}
public void setPart(String part) {
this.part = part;
}
public String getCurrentType() {
return CurrentType;
}
public void setCurrentType(String currentType) {
CurrentType = currentType;
}
public Integer getLevelScore() {
return levelScore;
}
public void setLevelScore(Integer levelScore) {
this.levelScore = levelScore;
}
}

@ -0,0 +1,45 @@
package com.flossom.common.core.response.miniProgram;
/**
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/17
*/
public class RedarScoreResponse {
/**
*
*/
private String redarName;
/**
*
*/
private Integer redarScore;
public RedarScoreResponse() {
}
public RedarScoreResponse(String redarName, Integer redarScore) {
this.redarName = redarName;
this.redarScore = redarScore;
}
public String getRedarName() {
return redarName;
}
public void setRedarName(String redarName) {
this.redarName = redarName;
}
public Integer getRedarScore() {
return redarScore;
}
public void setRedarScore(Integer redarScore) {
this.redarScore = redarScore;
}
}

@ -0,0 +1,64 @@
package com.flossom.common.core.response.miniProgram;
import java.util.List;
/**
*
* @author CGLiang
* @version 2.0.0
* @date 2024/4/17
*/
public class WxAnswerResponse {
/**
*
*/
private Integer nursingTime;
/**
*
*/
private String formulaCode;
/**
*
*/
private List<RedarScoreResponse> redarScoreList;
/**
*
*/
private List<EyeNursingElectricFormulaResponse> electricFormulaList;
public List<EyeNursingElectricFormulaResponse> getElectricFormulaList() {
return electricFormulaList;
}
public void setElectricFormulaList(List<EyeNursingElectricFormulaResponse> electricFormulaList) {
this.electricFormulaList = electricFormulaList;
}
public Integer getNursingTime() {
return nursingTime;
}
public void setNursingTime(Integer nursingTime) {
this.nursingTime = nursingTime;
}
public String getFormulaCode() {
return formulaCode;
}
public void setFormulaCode(String formulaCode) {
this.formulaCode = formulaCode;
}
public List<RedarScoreResponse> getRedarScoreList() {
return redarScoreList;
}
public void setRedarScoreList(List<RedarScoreResponse> redarScoreList) {
this.redarScoreList = redarScoreList;
}
}

@ -0,0 +1,43 @@
package com.flossom.common.core.utils;
import java.util.*;
public class CollectionUtils {
private CollectionUtils() {
}
public static boolean isNotEmpty(Collection<?> collection) {
return !isEmpty(collection);
}
public static boolean isEmpty(Collection<?> collection) {
return null == collection || collection.isEmpty();
}
public static int size(Collection<?> collection) {
return null == collection ? 0 : collection.size();
}
public static <T> List<List<T>> split(List<T> list, int size) {
if (isEmpty(list)) {
return Collections.emptyList();
} else {
int listSize = list.size();
List<List<T>> result = new ArrayList(listSize / size + 1);
int offset = 0;
for (int toIdx = size; toIdx <= listSize; toIdx += size) {
result.add(list.subList(offset, toIdx));
offset = toIdx;
}
if (offset < listSize) {
result.add(list.subList(offset, listSize));
}
return result;
}
}
}

@ -0,0 +1,393 @@
package com.flossom.common.core.utils;
import org.apache.http.Consts;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.config.RequestConfig.Builder;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.conn.ConnectTimeoutException;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.conn.ssl.SSLContextBuilder;
import org.apache.http.conn.ssl.TrustStrategy;
import org.apache.http.conn.ssl.X509HostnameVerifier;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLException;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocket;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.net.URI;
import java.security.GeneralSecurityException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
public class HttpClientUtils {
private static final Logger log = LoggerFactory.getLogger(HttpClientUtils.class);
public static final int connTimeout = 10000;
public static final int readTimeout = 10000;
public static final String charset = "UTF-8";
private static HttpClient client = null;
static {
PoolingHttpClientConnectionManager cm = new PoolingHttpClientConnectionManager();
cm.setMaxTotal(128);
cm.setDefaultMaxPerRoute(128);
client = HttpClients.custom().setConnectionManager(cm).build();
}
public static String postJsonParameters(String url, String parameterStr) throws Exception {
return postJson(url, parameterStr, charset, connTimeout, readTimeout);
}
public static String postParameters(String url, String parameterStr) throws Exception {
return post(url, parameterStr, "application/x-www-form-urlencoded", charset, connTimeout, readTimeout);
}
public static String postParameters(String url, String parameterStr, String charset, Integer connTimeout, Integer readTimeout) throws ConnectTimeoutException, SocketTimeoutException, Exception {
return post(url, parameterStr, "application/x-www-form-urlencoded", charset, connTimeout, readTimeout);
}
public static String postParameters(String url, Map<String, String> params) throws ConnectTimeoutException,
SocketTimeoutException, Exception {
return postForm(url, params, null, connTimeout, readTimeout);
}
public static String postParameters(String url, Map<String, String> params, Integer connTimeout, Integer readTimeout) throws ConnectTimeoutException,
SocketTimeoutException, Exception {
return postForm(url, params, null, connTimeout, readTimeout);
}
public static String get(String url) throws Exception {
return get(url, charset, null, null);
}
public static String get(String url, String charset) throws Exception {
return get(url, charset, connTimeout, readTimeout);
}
public static String getParameters(String url, Map<String, String> params) throws Exception {
URIBuilder builder = new URIBuilder(url);
if (params != null) {
for (String key : params.keySet()) {
builder.addParameter(key, params.get(key));
}
}
URI uri = builder.build();
return get(uri.toString(), charset, null, null);
}
/**
* Post , 使.
*
* @param url
* @param body RequestBody
* @param charset
* @param connTimeout ,.
* @param readTimeout ,.
* @return ResponseBody, 使.
* @throws ConnectTimeoutException
* @throws SocketTimeoutException
* @throws Exception
*/
public static String postJson(String url, String body, String charset, Integer connTimeout, Integer readTimeout) throws Exception {
HttpClient client = null;
HttpPost post = new HttpPost(url);
String result = "";
try {
if (StringUtils.isNotBlank(body)) {
HttpEntity entity = new StringEntity(body, ContentType.APPLICATION_JSON);
post.setEntity(entity);
}
// 设置参数
Builder customReqConf = RequestConfig.custom();
if (connTimeout != null) {
customReqConf.setConnectTimeout(connTimeout);
}
if (readTimeout != null) {
customReqConf.setSocketTimeout(readTimeout);
}
post.setConfig(customReqConf.build());
HttpResponse res;
if (url.startsWith("https")) {
// 执行 Https 请求.
client = createSSLInsecureClient();
res = client.execute(post);
} else {
// 执行 Http 请求.
client = HttpClientUtils.client;
res = client.execute(post);
}
result = EntityUtils.toString(res.getEntity(), charset);
} catch (Exception ex) {
log.error("HttpClient request error!", ex);
throw ex;
} finally {
post.releaseConnection();
if (url.startsWith("https") && client != null && client instanceof CloseableHttpClient) {
((CloseableHttpClient) client).close();
}
}
return result;
}
/**
* Post , 使.
*
* @param url
* @param body RequestBody
* @param mimeType application/xml "application/x-www-form-urlencoded" a=1&b=2&c=3
* @param charset
* @param connTimeout ,.
* @param readTimeout ,.
* @return ResponseBody, 使.
* @throws ConnectTimeoutException
* @throws SocketTimeoutException
* @throws Exception
*/
public static String post(String url, String body, String mimeType, String charset, Integer connTimeout, Integer readTimeout)
throws ConnectTimeoutException, SocketTimeoutException, Exception {
HttpClient client = null;
HttpPost post = new HttpPost(url);
String result = "";
try {
if (StringUtils.isNotBlank(body)) {
HttpEntity entity = new StringEntity(body, ContentType.create(mimeType, charset));
post.setEntity(entity);
}
// 设置参数
Builder customReqConf = RequestConfig.custom();
if (connTimeout != null) {
customReqConf.setConnectTimeout(connTimeout);
}
if (readTimeout != null) {
customReqConf.setSocketTimeout(readTimeout);
}
post.setConfig(customReqConf.build());
HttpResponse res;
if (url.startsWith("https")) {
// 执行 Https 请求.
client = createSSLInsecureClient();
res = client.execute(post);
} else {
// 执行 Http 请求.
client = HttpClientUtils.client;
res = client.execute(post);
}
result = EntityUtils.toString(res.getEntity(), charset);
} catch (Exception ex) {
log.error("HttpClient request error!", ex);
throw ex;
} finally {
post.releaseConnection();
if (url.startsWith("https") && client != null && client instanceof CloseableHttpClient) {
((CloseableHttpClient) client).close();
}
}
return result;
}
/**
* form
*
* @param url
* @param params
* @param connTimeout
* @param readTimeout
* @return
* @throws ConnectTimeoutException
* @throws SocketTimeoutException
* @throws Exception
*/
public static String postForm(String url, Map<String, String> params, Map<String, String> headers, Integer connTimeout, Integer readTimeout) throws ConnectTimeoutException,
SocketTimeoutException, Exception {
HttpClient client = null;
HttpPost post = new HttpPost(url);
try {
if (params != null && !params.isEmpty()) {
List<NameValuePair> formParams = new ArrayList<NameValuePair>();
Set<Entry<String, String>> entrySet = params.entrySet();
for (Entry<String, String> entry : entrySet) {
formParams.add(new BasicNameValuePair(entry.getKey(), entry.getValue()));
}
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(formParams, Consts.UTF_8);
post.setEntity(entity);
}
if (headers != null && !headers.isEmpty()) {
for (Entry<String, String> entry : headers.entrySet()) {
post.addHeader(entry.getKey(), entry.getValue());
}
}
// 设置参数
Builder customReqConf = RequestConfig.custom();
if (connTimeout != null) {
customReqConf.setConnectTimeout(connTimeout);
}
if (readTimeout != null) {
customReqConf.setSocketTimeout(readTimeout);
}
post.setConfig(customReqConf.build());
HttpResponse res = null;
if (url.startsWith("https")) {
// 执行 Https 请求.
client = createSSLInsecureClient();
res = client.execute(post);
} else {
// 执行 Http 请求.
client = HttpClientUtils.client;
res = client.execute(post);
}
return EntityUtils.toString(res.getEntity(), charset);
} catch (Exception ex) {
log.error("HttpClient request error!", ex);
throw ex;
} finally {
post.releaseConnection();
if (url.startsWith("https") && client != null
&& client instanceof CloseableHttpClient) {
((CloseableHttpClient) client).close();
}
}
}
/**
* GET
*
* @param url
* @param charset
* @param connTimeout ,.
* @param readTimeout ,.
* @return
* @throws ConnectTimeoutException
* @throws SocketTimeoutException
* @throws Exception
*/
public static String get(String url, String charset, Integer connTimeout, Integer readTimeout)
throws ConnectTimeoutException, SocketTimeoutException, Exception {
HttpClient client = null;
HttpGet get = new HttpGet(url);
String result = "";
try {
// 设置参数
Builder customReqConf = RequestConfig.custom();
if (connTimeout != null) {
customReqConf.setConnectTimeout(connTimeout);
}
if (readTimeout != null) {
customReqConf.setSocketTimeout(readTimeout);
}
get.setConfig(customReqConf.build());
HttpResponse res = null;
if (url.startsWith("https")) {
// 执行 Https 请求.
client = createSSLInsecureClient();
res = client.execute(get);
} else {
// 执行 Http 请求.
client = HttpClientUtils.client;
res = client.execute(get);
}
result = EntityUtils.toString(res.getEntity(), charset);
} catch (Exception ex) {
log.error("HttpClient request error!", ex);
throw ex;
} finally {
get.releaseConnection();
if (url.startsWith("https") && client != null && client instanceof CloseableHttpClient) {
((CloseableHttpClient) client).close();
}
}
return result;
}
/**
* response charset
*
* @param ressponse
* @return
*/
@SuppressWarnings("unused")
private static String getCharsetFromResponse(HttpResponse ressponse) {
// Content-Type:text/html; charset=GBK
if (ressponse.getEntity() != null && ressponse.getEntity().getContentType() != null && ressponse.getEntity().getContentType().getValue() != null) {
String contentType = ressponse.getEntity().getContentType().getValue();
if (contentType.contains("charset=")) {
return contentType.substring(contentType.indexOf("charset=") + 8);
}
}
return null;
}
/**
* SSL
*
* @return
* @throws GeneralSecurityException
*/
private static CloseableHttpClient createSSLInsecureClient() throws GeneralSecurityException {
try {
SSLContext sslContext = new SSLContextBuilder().loadTrustMaterial(null, new TrustStrategy() {
public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException {
return true;
}
}).build();
SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext, new X509HostnameVerifier() {
@Override
public boolean verify(String arg0, SSLSession arg1) {
return true;
}
@Override
public void verify(String host, SSLSocket ssl)
throws IOException {
}
@Override
public void verify(String host, X509Certificate cert)
throws SSLException {
}
@Override
public void verify(String host, String[] cns,
String[] subjectAlts) throws SSLException {
}
});
return HttpClients.custom().setSSLSocketFactory(sslsf).build();
} catch (GeneralSecurityException e) {
throw e;
}
}
}

@ -1,118 +1,117 @@
package com.flossom.common.core.web.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* Entity
*
* @author flossom
*/
public class BaseEntity implements Serializable
{
public class BaseEntity implements Serializable {
private static final long serialVersionUID = 1L;
/** 搜索值 */
/**
*
*/
@JsonIgnore
private String searchValue;
/** 创建者 */
/**
*
*/
private String createBy;
/** 创建时间 */
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/** 更新者 */
/**
*
*/
private String updateBy;
/** 更新时间 */
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
/** 备注 */
/**
*
*/
private String remark;
/** 请求参数 */
/**
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private Map<String, Object> params;
public String getSearchValue()
{
public String getSearchValue() {
return searchValue;
}
public void setSearchValue(String searchValue)
{
public void setSearchValue(String searchValue) {
this.searchValue = searchValue;
}
public String getCreateBy()
{
public String getCreateBy() {
return createBy;
}
public void setCreateBy(String createBy)
{
public void setCreateBy(String createBy) {
this.createBy = createBy;
}
public Date getCreateTime()
{
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime)
{
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getUpdateBy()
{
public String getUpdateBy() {
return updateBy;
}
public void setUpdateBy(String updateBy)
{
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy;
}
public Date getUpdateTime()
{
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime)
{
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public String getRemark()
{
public String getRemark() {
return remark;
}
public void setRemark(String remark)
{
public void setRemark(String remark) {
this.remark = remark;
}
public Map<String, Object> getParams()
{
if (params == null)
{
public Map<String, Object> getParams() {
if (params == null) {
params = new HashMap<>();
}
return params;
}
public void setParams(Map<String, Object> params)
{
public void setParams(Map<String, Object> params) {
this.params = params;
}
}

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.ActivityChannelInfoMapper">
<resultMap type="ActivityChannelInfo" id="ActivityChannelInfoResult">
<resultMap type="com.flossom.common.core.domain.entity.ActivityChannelInfo" id="ActivityChannelInfoResult">
<result property="id" column="id" />
<result property="channelType" column="channel_type" />
<result property="channelName" column="channel_name" />
@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, channel_type, channel_name, create_time, create_by from activity_channel_info
</sql>
<select id="selectActivityChannelInfoList" parameterType="ActivityChannelInfo" resultMap="ActivityChannelInfoResult">
<select id="selectActivityChannelInfoList" parameterType="com.flossom.common.core.domain.entity.ActivityChannelInfo" resultMap="ActivityChannelInfoResult">
<include refid="selectActivityChannelInfoVo"/>
<where>
<if test="channelType != null "> and channel_type = #{channelType}</if>
@ -29,7 +29,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertActivityChannelInfo" parameterType="ActivityChannelInfo">
<!--根据id列表查询数据-->
<select id="selectActivityChannelInfoByIdList" resultType="com.flossom.common.core.domain.entity.ActivityChannelInfo" >
<include refid="selectActivityChannelInfoVo"/>
where id in
<foreach collection="ids" item="id" separator="," open="(" close=")">
#{id}
</foreach>
</select>
<insert id="insertActivityChannelInfo" parameterType="com.flossom.common.core.domain.entity.ActivityChannelInfo">
insert into activity_channel_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
@ -47,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateActivityChannelInfo" parameterType="ActivityChannelInfo">
<update id="updateActivityChannelInfo" parameterType="com.flossom.common.core.domain.entity.ActivityChannelInfo">
update activity_channel_info
<trim prefix="SET" suffixOverrides=",">
<if test="channelType != null">channel_type = #{channelType},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.CtLeaveMessageMapper">
<resultMap type="CtLeaveMessage" id="CtLeaveMessageResult">
<resultMap type="com.flossom.common.core.domain.entity.CtLeaveMessage" id="CtLeaveMessageResult">
<result property="id" column="id" />
<result property="source" column="source" />
<result property="userId" column="user_id" />
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id,user_id, source, source_name, user_img,user_number, user_name, user_phone, message_info, create_time from ct_leave_message
</sql>
<select id="selectCtLeaveMessageList" parameterType="CtLeaveMessage" resultMap="CtLeaveMessageResult">
<select id="selectCtLeaveMessageList" parameterType="com.flossom.common.core.domain.entity.CtLeaveMessage" resultMap="CtLeaveMessageResult">
<include refid="selectCtLeaveMessageVo"/>
<where>
<if test="source != null "> and source = #{source}</if>
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertCtLeaveMessage" parameterType="CtLeaveMessage" useGeneratedKeys="true" keyProperty="id">
<insert id="insertCtLeaveMessage" parameterType="com.flossom.common.core.domain.entity.CtLeaveMessage" useGeneratedKeys="true" keyProperty="id">
insert into ct_leave_message
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userId != null">user_id,</if>
@ -67,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateCtLeaveMessage" parameterType="CtLeaveMessage">
<update id="updateCtLeaveMessage" parameterType="com.flossom.common.core.domain.entity.CtLeaveMessage">
update ct_leave_message
<trim prefix="SET" suffixOverrides=",">
<if test="userId != null">user_id = #{userId},</if>
@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
<select id="selectCtLeaveMessageByCondition" parameterType="CtLeaveMessage" resultMap="CtLeaveMessageResult">
<select id="selectCtLeaveMessageByCondition" parameterType="com.flossom.common.core.domain.entity.CtLeaveMessage" resultMap="CtLeaveMessageResult">
<include refid="selectCtLeaveMessageVo"/>
where 1 = 1
<if test="userNumberStr!=null and userNumberStr !=''">

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.IntegralClockMapper">
<resultMap type="IntegralClock" id="IntegralClockResult">
<resultMap type="com.flossom.common.core.domain.entity.IntegralClock" id="IntegralClockResult">
<result property="id" column="id" />
<result property="dailyClockCredit" column="daily_clock_credit" />
<result property="isExtraClock" column="is_extra_clock" />
@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, daily_clock_credit, is_extra_clock, extra_clock_credit, start_time, end_time, status, create_by, create_time, update_by, update_time, remark from integral_clock
</sql>
<select id="selectIntegralClockList" parameterType="IntegralClock" resultMap="IntegralClockResult">
<select id="selectIntegralClockList" parameterType="com.flossom.common.core.domain.entity.IntegralClock" resultMap="IntegralClockResult">
<include refid="selectIntegralClockVo"/>
<where>
<if test="dailyClockCredit != null "> and daily_clock_credit = #{dailyClockCredit}</if>
@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertIntegralClock" parameterType="IntegralClock" useGeneratedKeys="true" keyProperty="id">
<insert id="insertIntegralClock" parameterType="com.flossom.common.core.domain.entity.IntegralClock" useGeneratedKeys="true" keyProperty="id">
insert into integral_clock
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="dailyClockCredit != null">daily_clock_credit,</if>
@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateIntegralClock" parameterType="IntegralClock">
<update id="updateIntegralClock" parameterType="com.flossom.common.core.domain.entity.IntegralClock">
update integral_clock
<trim prefix="SET" suffixOverrides=",">
<if test="dailyClockCredit != null">daily_clock_credit = #{dailyClockCredit},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.IntegralGlobalMapper">
<resultMap type="IntegralGlobal" id="IntegralGlobalResult">
<resultMap type="com.flossom.common.core.domain.entity.IntegralGlobal" id="IntegralGlobalResult">
<result property="id" column="id" />
<result property="integral" column="integral" />
<result property="createTime" column="create_time" />
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, integral, create_time, create_by, update_by, update_time from integral_global
</sql>
<select id="selectIntegralGlobalList" parameterType="IntegralGlobal" resultMap="IntegralGlobalResult">
<select id="selectIntegralGlobalList" parameterType="com.flossom.common.core.domain.entity.IntegralGlobal" resultMap="IntegralGlobalResult">
<include refid="selectIntegralGlobalVo"/>
<where>
<if test="integral != null "> and integral = #{integral}</if>
@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertIntegralGlobal" parameterType="IntegralGlobal">
<insert id="insertIntegralGlobal" parameterType="com.flossom.common.core.domain.entity.IntegralGlobal">
insert into integral_global
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
@ -49,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateIntegralGlobal" parameterType="IntegralGlobal">
<update id="updateIntegralGlobal" parameterType="com.flossom.common.core.domain.entity.IntegralGlobal">
update integral_global
<trim prefix="SET" suffixOverrides=",">
<if test="integral != null">integral = #{integral},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SiteInfoChannelMapper">
<resultMap type="SiteInfoChannel" id="SiteInfoChannelResult">
<resultMap type="com.flossom.common.core.domain.entity.SiteInfoChannel" id="SiteInfoChannelResult">
<result property="id" column="id" />
<result property="siteId" column="site_id" />
<result property="channelId" column="channel_id" />
@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, site_id, channel_id, status, create_by, create_time, update_by, update_time, remark from site_info_channel
</sql>
<select id="selectSiteInfoChannelList" parameterType="SiteInfoChannel" resultMap="SiteInfoChannelResult">
<select id="selectSiteInfoChannelList" parameterType="com.flossom.common.core.domain.entity.SiteInfoChannel" resultMap="SiteInfoChannelResult">
<include refid="selectSiteInfoChannelVo"/>
<where>
<if test="siteId != null "> and site_id = #{siteId}</if>
@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertSiteInfoChannel" parameterType="SiteInfoChannel" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSiteInfoChannel" parameterType="com.flossom.common.core.domain.entity.SiteInfoChannel" useGeneratedKeys="true" keyProperty="id">
insert into site_info_channel
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="siteId != null">site_id,</if>
@ -58,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSiteInfoChannel" parameterType="SiteInfoChannel">
<update id="updateSiteInfoChannel" parameterType="com.flossom.common.core.domain.entity.SiteInfoChannel">
update site_info_channel
<trim prefix="SET" suffixOverrides=",">
<if test="siteId != null">site_id = #{siteId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SiteInfoInstrumentMapper">
<resultMap type="SiteInfoInstrument" id="SiteInfoInstrumentResult">
<resultMap type="com.flossom.common.core.domain.entity.SiteInfoInstrument" id="SiteInfoInstrumentResult">
<result property="id" column="id" />
<result property="siteId" column="site_id" />
<result property="instrumentId" column="instrument_id" />
@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, site_id, instrument_id, create_by, create_time, update_by, update_time from site_info_instrument
</sql>
<select id="selectSiteInfoInstrumentList" parameterType="SiteInfoInstrument" resultMap="SiteInfoInstrumentResult">
<select id="selectSiteInfoInstrumentList" parameterType="com.flossom.common.core.domain.entity.SiteInfoInstrument" resultMap="SiteInfoInstrumentResult">
<include refid="selectSiteInfoInstrumentVo"/>
<where>
<if test="siteId != null "> and site_id = #{siteId}</if>
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertSiteInfoInstrument" parameterType="SiteInfoInstrument">
<insert id="insertSiteInfoInstrument" parameterType="com.flossom.common.core.domain.entity.SiteInfoInstrument">
insert into site_info_instrument
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSiteInfoInstrument" parameterType="SiteInfoInstrument">
<update id="updateSiteInfoInstrument" parameterType="com.flossom.common.core.domain.entity.SiteInfoInstrument">
update site_info_instrument
<trim prefix="SET" suffixOverrides=",">
<if test="siteId != null">site_id = #{siteId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SiteInfoMapper">
<resultMap type="SiteInfo" id="SiteInfoResult">
<resultMap type="com.flossom.common.core.domain.entity.SiteInfo" id="SiteInfoResult">
<result property="id" column="id" />
<result property="siteType" column="site_type" />
<result property="siteName" column="site_name" />
@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, site_type, site_name, file_url, site_start_time, site_end_time, user_register_start_time, user_register_end_time, open_type, push_type, push_number, push_timer, show_wechat_tag, show_wechat_tag_id, show_company_tag, show_company_tag_id, forbid_wechat_tag, forbid_wechat_tag_id, forbid_company_tag, handler_company_tag, handler_company_tag_id, handler_wechat_tag_id, handler_wechat_tag, forbid_company_tag_id, channel_name, channel_id, instrument_name, instrument_id, user_type, operate, sign_number, order_number, type, link, link_params, redirect_appid, redirect_url, video_no, feed_id, create_by, create_time, update_by, update_time from site_info
</sql>
<select id="selectSiteInfoList" parameterType="SiteInfo" resultMap="SiteInfoResult">
<select id="selectSiteInfoList" parameterType="com.flossom.common.core.domain.entity.SiteInfo" resultMap="SiteInfoResult">
<include refid="selectSiteInfoVo"/>
<where>
<if test="siteType != null "> and site_type = #{siteType}</if>
@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertSiteInfo" parameterType="SiteInfo" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSiteInfo" parameterType="com.flossom.common.core.domain.entity.SiteInfo" useGeneratedKeys="true" keyProperty="id">
insert into site_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="siteType != null">site_type,</if>
@ -196,7 +196,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSiteInfo" parameterType="SiteInfo">
<update id="updateSiteInfo" parameterType="com.flossom.common.core.domain.entity.SiteInfo">
update site_info
<trim prefix="SET" suffixOverrides=",">
<if test="siteType != null">site_type = #{siteType},</if>
@ -255,4 +255,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{id}
</foreach>
</delete>
<!-- 修改排序 -->
<update id="updateSort">
update site_info
set
order_number = #{orderNumber},
operate = #{operate},
update_by = #{updateName},
update_time = #{updateDate}
where id = #{id}
</update>
</mapper>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SiteInfoTagMapper">
<resultMap type="SiteInfoTag" id="SiteInfoTagResult">
<resultMap type="com.flossom.common.core.domain.entity.SiteInfoTag" id="SiteInfoTagResult">
<result property="id" column="id" />
<result property="siteId" column="site_id" />
<result property="tagId" column="tag_id" />
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, site_id, tag_id, tag_type, status, create_by, create_time, update_by, update_time, remark from site_info_tag
</sql>
<select id="selectSiteInfoTagList" parameterType="SiteInfoTag" resultMap="SiteInfoTagResult">
<select id="selectSiteInfoTagList" parameterType="com.flossom.common.core.domain.entity.SiteInfoTag" resultMap="SiteInfoTagResult">
<include refid="selectSiteInfoTagVo"/>
<where>
<if test="siteId != null "> and site_id = #{siteId}</if>
@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertSiteInfoTag" parameterType="SiteInfoTag" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSiteInfoTag" parameterType="com.flossom.common.core.domain.entity.SiteInfoTag" useGeneratedKeys="true" keyProperty="id">
insert into site_info_tag
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="siteId != null">site_id,</if>
@ -62,7 +62,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSiteInfoTag" parameterType="SiteInfoTag">
<insert id="inserts">
insert into site_info_tag
<trim prefix="(" suffix=")" suffixOverrides="," >
site_id, tag_id, status, create_by, create_time, update_by, update_time, remark, tag_type
</trim>
VALUES
<foreach collection="siteInfoTagList" item="item" separator="," >
<trim prefix="(" suffix=")" suffixOverrides="," >
#{item.siteId}, #{item.tagId}, #{item.status}, #{item.createBy}, #{item.createTime}, #{item.updateBy}, #{item.updateTime}, #{item.remark}, #{item.tagType}
</trim>
</foreach>
</insert>
<update id="updateSiteInfoTag" parameterType="com.flossom.common.core.domain.entity.SiteInfoTag">
update site_info_tag
<trim prefix="SET" suffixOverrides=",">
<if test="siteId != null">site_id = #{siteId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SiteLogMapper">
<resultMap type="SiteLog" id="SiteLogResult">
<resultMap type="com.flossom.common.core.domain.entity.SiteLog" id="SiteLogResult">
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="siteId" column="site_id" />
@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, user_id, site_id, create_by, create_time from site_log
</sql>
<select id="selectSiteLogList" parameterType="SiteLog" resultMap="SiteLogResult">
<select id="selectSiteLogList" parameterType="com.flossom.common.core.domain.entity.SiteLog" resultMap="SiteLogResult">
<include refid="selectSiteLogVo"/>
<where>
<if test="userId != null "> and user_id = #{userId}</if>
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertSiteLog" parameterType="SiteLog" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSiteLog" parameterType="com.flossom.common.core.domain.entity.SiteLog" useGeneratedKeys="true" keyProperty="id">
insert into site_log
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userId != null">user_id,</if>
@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSiteLog" parameterType="SiteLog">
<update id="updateSiteLog" parameterType="com.flossom.common.core.domain.entity.SiteLog">
update site_log
<trim prefix="SET" suffixOverrides=",">
<if test="userId != null">user_id = #{userId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysConfigMapper">
<resultMap type="SysConfig" id="SysConfigResult">
<resultMap type="com.flossom.common.core.domain.entity.SysConfig" id="SysConfigResult">
<id property="configId" column="config_id" />
<result property="configName" column="config_name" />
<result property="configKey" column="config_key" />
@ -33,12 +33,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
</sql>
<select id="selectConfig" parameterType="SysConfig" resultMap="SysConfigResult">
<select id="selectConfig" parameterType="com.flossom.common.core.domain.entity.SysConfig" resultMap="SysConfigResult">
<include refid="selectConfigVo"/>
<include refid="sqlwhereSearch"/>
</select>
<select id="selectConfigList" parameterType="SysConfig" resultMap="SysConfigResult">
<select id="selectConfigList" parameterType="com.flossom.common.core.domain.entity.SysConfig" resultMap="SysConfigResult">
<include refid="selectConfigVo"/>
<where>
<if test="configName != null and configName != ''">
@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where config_key = #{configKey} limit 1
</select>
<insert id="insertConfig" parameterType="SysConfig">
<insert id="insertConfig" parameterType="com.flossom.common.core.domain.entity.SysConfig">
insert into sys_config (
<if test="configName != null and configName != '' ">config_name,</if>
<if test="configKey != null and configKey != '' ">config_key,</if>
@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateConfig" parameterType="SysConfig">
<update id="updateConfig" parameterType="com.flossom.common.core.domain.entity.SysConfig">
update sys_config
<set>
<if test="configName != null and configName != ''">config_name = #{configName},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysDeptMapper">
<resultMap type="SysDept" id="SysDeptResult">
<resultMap type="com.flossom.common.core.domain.entity.SysDept" id="SysDeptResult">
<id property="deptId" column="dept_id" />
<result property="parentId" column="parent_id" />
<result property="ancestors" column="ancestors" />
@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_dept d
</sql>
<select id="selectDeptList" parameterType="SysDept" resultMap="SysDeptResult">
<select id="selectDeptList" parameterType="com.flossom.common.core.domain.entity.SysDept" resultMap="SysDeptResult">
<include refid="selectDeptVo"/>
where d.del_flag = '0'
<if test="deptId != null and deptId != 0">
@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where dept_name=#{deptName} and parent_id = #{parentId} and del_flag = '0' limit 1
</select>
<insert id="insertDept" parameterType="SysDept">
<insert id="insertDept" parameterType="com.flossom.common.core.domain.entity.SysDept">
insert into sys_dept(
<if test="deptId != null and deptId != 0">dept_id,</if>
<if test="parentId != null and parentId != 0">parent_id,</if>
@ -113,7 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateDept" parameterType="SysDept">
<update id="updateDept" parameterType="com.flossom.common.core.domain.entity.SysDept">
update sys_dept
<set>
<if test="parentId != null and parentId != 0">parent_id = #{parentId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysDictDataMapper">
<resultMap type="SysDictData" id="SysDictDataResult">
<resultMap type="com.flossom.common.core.domain.entity.SysDictData" id="SysDictDataResult">
<id property="dictCode" column="dict_code" />
<result property="dictSort" column="dict_sort" />
<result property="dictLabel" column="dict_label" />
@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_dict_data
</sql>
<select id="selectDictDataList" parameterType="SysDictData" resultMap="SysDictDataResult">
<select id="selectDictDataList" parameterType="com.flossom.common.core.domain.entity.SysDictData" resultMap="SysDictDataResult">
<include refid="selectDictDataVo"/>
<where>
<if test="dictType != null and dictType != ''">
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by dict_sort asc
</select>
<select id="selectDictDataByType" parameterType="SysDictData" resultMap="SysDictDataResult">
<select id="selectDictDataByType" parameterType="com.flossom.common.core.domain.entity.SysDictData" resultMap="SysDictDataResult">
<include refid="selectDictDataVo"/>
where status = '0' and dict_type = #{dictType} order by dict_sort asc
</select>
@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
<update id="updateDictData" parameterType="SysDictData">
<update id="updateDictData" parameterType="com.flossom.common.core.domain.entity.SysDictData">
update sys_dict_data
<set>
<if test="dictSort != null">dict_sort = #{dictSort},</if>
@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update sys_dict_data set dict_type = #{newDictType} where dict_type = #{oldDictType}
</update>
<insert id="insertDictData" parameterType="SysDictData">
<insert id="insertDictData" parameterType="com.flossom.common.core.domain.entity.SysDictData">
insert into sys_dict_data(
<if test="dictSort != null">dict_sort,</if>
<if test="dictLabel != null and dictLabel != ''">dict_label,</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysDictTypeMapper">
<resultMap type="SysDictType" id="SysDictTypeResult">
<resultMap type="com.flossom.common.core.domain.entity.SysDictType" id="SysDictTypeResult">
<id property="dictId" column="dict_id" />
<result property="dictName" column="dict_name" />
<result property="dictType" column="dict_type" />
@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_dict_type
</sql>
<select id="selectDictTypeList" parameterType="SysDictType" resultMap="SysDictTypeResult">
<select id="selectDictTypeList" parameterType="com.flossom.common.core.domain.entity.SysDictType" resultMap="SysDictTypeResult">
<include refid="selectDictTypeVo"/>
<where>
<if test="dictName != null and dictName != ''">
@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
<update id="updateDictType" parameterType="SysDictType">
<update id="updateDictType" parameterType="com.flossom.common.core.domain.entity.SysDictType">
update sys_dict_type
<set>
<if test="dictName != null and dictName != ''">dict_name = #{dictName},</if>
@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where dict_id = #{dictId}
</update>
<insert id="insertDictType" parameterType="SysDictType">
<insert id="insertDictType" parameterType="com.flossom.common.core.domain.entity.SysDictType">
insert into sys_dict_type(
<if test="dictName != null and dictName != ''">dict_name,</if>
<if test="dictType != null and dictType != ''">dict_type,</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysFiringInfoMapper">
<resultMap type="SysFiringInfo" id="SysFiringInfoResult">
<resultMap type="com.flossom.common.core.domain.SysFiringInfo" id="SysFiringInfoResult">
<result property="id" column="id" />
<result property="title" column="title" />
<result property="content" column="content" />
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, title,content,file_url, file_path, file_suffix, del_flag, type, create_time, create_by from sys_firing_info
</sql>
<select id="selectSysFiringInfoList" parameterType="SysFiringInfo" resultMap="SysFiringInfoResult">
<select id="selectSysFiringInfoList" parameterType="com.flossom.common.core.domain.SysFiringInfo" resultMap="SysFiringInfoResult">
<include refid="selectSysFiringInfoVo"/>
<where>
<if test="filePath != null and filePath != ''"> and file_path = #{filePath}</if>
@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertSysFiringInfo" parameterType="SysFiringInfo" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSysFiringInfo" parameterType="com.flossom.common.core.domain.SysFiringInfo" useGeneratedKeys="true" keyProperty="id">
insert into sys_firing_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="title != null">title,</if>
@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSysFiringInfo" parameterType="SysFiringInfo">
<update id="updateSysFiringInfo" parameterType="com.flossom.common.core.domain.SysFiringInfo">
update sys_firing_info
<trim prefix="SET" suffixOverrides=",">
<if test="title != null">title = #{title},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysLogininforMapper">
<resultMap type="SysLogininfor" id="SysLogininforResult">
<resultMap type="com.flossom.common.core.domain.entity.SysLogininfor" id="SysLogininforResult">
<id property="infoId" column="info_id" />
<result property="userName" column="user_name" />
<result property="status" column="status" />
@ -13,12 +13,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="accessTime" column="access_time" />
</resultMap>
<insert id="insertLogininfor" parameterType="SysLogininfor">
<insert id="insertLogininfor" parameterType="com.flossom.common.core.domain.entity.SysLogininfor">
insert into sys_logininfor (user_name, status, ipaddr, msg, access_time)
values (#{userName}, #{status}, #{ipaddr}, #{msg}, sysdate())
</insert>
<select id="selectLogininforList" parameterType="SysLogininfor" resultMap="SysLogininforResult">
<select id="selectLogininforList" parameterType="com.flossom.common.core.domain.entity.SysLogininfor" resultMap="SysLogininforResult">
select info_id, user_name, ipaddr, status, msg, access_time from sys_logininfor
<where>
<if test="ipaddr != null and ipaddr != ''">

@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysMenuMapper">
<resultMap type="SysMenu" id="SysMenuResult">
<resultMap type="com.flossom.common.core.domain.entity.SysMenu" id="SysMenuResult">
<id property="menuId" column="menu_id" />
<result property="menuName" column="menu_name" />
<result property="parentName" column="parent_name" />
@ -32,7 +32,7 @@
from sys_menu
</sql>
<select id="selectMenuList" parameterType="SysMenu" resultMap="SysMenuResult">
<select id="selectMenuList" parameterType="com.flossom.common.core.domain.entity.SysMenu" resultMap="SysMenuResult">
<include refid="selectMenuVo"/>
<where>
<if test="menuName != null and menuName != ''">
@ -54,7 +54,7 @@
order by m.parent_id, m.order_num
</select>
<select id="selectMenuListByUserId" parameterType="SysMenu" resultMap="SysMenuResult">
<select id="selectMenuListByUserId" parameterType="com.flossom.common.core.domain.entity.SysMenu" resultMap="SysMenuResult">
select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.`query`, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time
from sys_menu m
left join sys_role_menu rm on m.menu_id = rm.menu_id
@ -127,12 +127,12 @@
select count(1) from sys_menu where parent_id = #{menuId}
</select>
<select id="checkMenuNameUnique" parameterType="SysMenu" resultMap="SysMenuResult">
<select id="checkMenuNameUnique" parameterType="com.flossom.common.core.domain.entity.SysMenu" resultMap="SysMenuResult">
<include refid="selectMenuVo"/>
where menu_name=#{menuName} and parent_id = #{parentId} limit 1
</select>
<update id="updateMenu" parameterType="SysMenu">
<update id="updateMenu" parameterType="com.flossom.common.core.domain.entity.SysMenu">
update sys_menu
<set>
<if test="menuName != null and menuName != ''">menu_name = #{menuName},</if>
@ -155,7 +155,7 @@
where menu_id = #{menuId}
</update>
<insert id="insertMenu" parameterType="SysMenu">
<insert id="insertMenu" parameterType="com.flossom.common.core.domain.entity.SysMenu">
insert into sys_menu(
<if test="menuId != null and menuId != 0">menu_id,</if>
<if test="parentId != null and parentId != 0">parent_id,</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysNoticeMapper">
<resultMap type="SysNotice" id="SysNoticeResult">
<resultMap type="com.flossom.common.core.domain.entity.SysNotice" id="SysNoticeResult">
<result property="noticeId" column="notice_id" />
<result property="noticeTitle" column="notice_title" />
<result property="noticeType" column="notice_type" />
@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where notice_id = #{noticeId}
</select>
<select id="selectNoticeList" parameterType="SysNotice" resultMap="SysNoticeResult">
<select id="selectNoticeList" parameterType="com.flossom.common.core.domain.entity.SysNotice" resultMap="SysNoticeResult">
<include refid="selectNoticeVo"/>
<where>
<if test="noticeTitle != null and noticeTitle != ''">
@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
</select>
<insert id="insertNotice" parameterType="SysNotice">
<insert id="insertNotice" parameterType="com.flossom.common.core.domain.entity.SysNotice">
insert into sys_notice (
<if test="noticeTitle != null and noticeTitle != '' ">notice_title, </if>
<if test="noticeType != null and noticeType != '' ">notice_type, </if>
@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateNotice" parameterType="SysNotice">
<update id="updateNotice" parameterType="com.flossom.common.core.domain.entity.SysNotice">
update sys_notice
<set>
<if test="noticeTitle != null and noticeTitle != ''">notice_title = #{noticeTitle}, </if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysOperLogMapper">
<resultMap type="SysOperLog" id="SysOperLogResult">
<resultMap type="com.flossom.common.core.domain.entity.SysOperLog" id="SysOperLogResult">
<id property="operId" column="oper_id" />
<result property="title" column="title" />
<result property="businessType" column="business_type" />
@ -28,12 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_oper_log
</sql>
<insert id="insertOperlog" parameterType="SysOperLog">
<insert id="insertOperlog" parameterType="com.flossom.common.core.domain.entity.SysOperLog">
insert into sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_param, json_result, status, error_msg, cost_time, oper_time)
values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, sysdate())
</insert>
<select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
<select id="selectOperLogList" parameterType="com.flossom.common.core.domain.entity.SysOperLog" resultMap="SysOperLogResult">
<include refid="selectOperLogVo"/>
<where>
<if test="operIp != null and operIp != ''">

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysPostMapper">
<resultMap type="SysPost" id="SysPostResult">
<resultMap type="com.flossom.common.core.domain.entity.SysPost" id="SysPostResult">
<id property="postId" column="post_id" />
<result property="postCode" column="post_code" />
<result property="postName" column="post_name" />
@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_post
</sql>
<select id="selectPostList" parameterType="SysPost" resultMap="SysPostResult">
<select id="selectPostList" parameterType="com.flossom.common.core.domain.entity.SysPost" resultMap="SysPostResult">
<include refid="selectPostVo"/>
<where>
<if test="postCode != null and postCode != ''">
@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where post_code=#{postCode} limit 1
</select>
<update id="updatePost" parameterType="SysPost">
<update id="updatePost" parameterType="com.flossom.common.core.domain.entity.SysPost">
update sys_post
<set>
<if test="postCode != null and postCode != ''">post_code = #{postCode},</if>
@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where post_id = #{postId}
</update>
<insert id="insertPost" parameterType="SysPost" useGeneratedKeys="true" keyProperty="postId">
<insert id="insertPost" parameterType="com.flossom.common.core.domain.entity.SysPost" useGeneratedKeys="true" keyProperty="postId">
insert into sys_post(
<if test="postId != null and postId != 0">post_id,</if>
<if test="postCode != null and postCode != ''">post_code,</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysRegionMapper">
<resultMap type="SysRegion" id="SysRegionResult">
<resultMap type="com.flossom.common.core.domain.entity.SysRegion" id="SysRegionResult">
<result property="id" column="id" />
<result property="name" column="name" />
<result property="parentId" column="parent_id" />
@ -15,7 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, name, parent_id, level from sys_region
</sql>
<select id="selectSysRegionList" parameterType="SysRegion" resultMap="SysRegionResult">
<select id="selectSysRegionList" parameterType="com.flossom.common.core.domain.entity.SysRegion" resultMap="SysRegionResult">
<include refid="selectSysRegionVo"/>
<where>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
id ASC
</select>
<insert id="insertSysRegion" parameterType="SysRegion" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSysRegion" parameterType="com.flossom.common.core.domain.entity.SysRegion" useGeneratedKeys="true" keyProperty="id">
insert into sys_region
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="name != null and name != ''">name,</if>
@ -51,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateSysRegion" parameterType="SysRegion">
<update id="updateSysRegion" parameterType="com.flossom.common.core.domain.entity.SysRegion">
update sys_region
<trim prefix="SET" suffixOverrides=",">
<if test="name != null and name != ''">name = #{name},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysRoleDeptMapper">
<resultMap type="SysRoleDept" id="SysRoleDeptResult">
<resultMap type="com.flossom.common.core.domain.entity.SysRoleDept" id="SysRoleDeptResult">
<result property="roleId" column="role_id" />
<result property="deptId" column="dept_id" />
</resultMap>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysRoleMapper">
<resultMap type="SysRole" id="SysRoleResult">
<resultMap type="com.flossom.common.core.domain.entity.SysRole" id="SysRoleResult">
<id property="roleId" column="role_id" />
<result property="roleName" column="role_name" />
<result property="roleKey" column="role_key" />
@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_dept d on u.dept_id = d.dept_id
</sql>
<select id="selectRoleList" parameterType="SysRole" resultMap="SysRoleResult">
<select id="selectRoleList" parameterType="com.flossom.common.core.domain.entity.SysRole" resultMap="SysRoleResult">
<include refid="selectRoleVo"/>
where r.del_flag = '0'
<if test="roleId != null and roleId != 0">
@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where r.role_key=#{roleKey} and r.del_flag = '0' limit 1
</select>
<insert id="insertRole" parameterType="SysRole" useGeneratedKeys="true" keyProperty="roleId">
<insert id="insertRole" parameterType="com.flossom.common.core.domain.entity.SysRole" useGeneratedKeys="true" keyProperty="roleId">
insert into sys_role(
<if test="roleId != null and roleId != 0">role_id,</if>
<if test="roleName != null and roleName != ''">role_name,</if>
@ -121,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateRole" parameterType="SysRole">
<update id="updateRole" parameterType="com.flossom.common.core.domain.entity.SysRole">
update sys_role
<set>
<if test="roleName != null and roleName != ''">role_name = #{roleName},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysRoleMenuMapper">
<resultMap type="SysRoleMenu" id="SysRoleMenuResult">
<resultMap type="com.flossom.common.core.domain.entity.SysRoleMenu" id="SysRoleMenuResult">
<result property="roleId" column="role_id" />
<result property="menuId" column="menu_id" />
</resultMap>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysTagMapper">
<resultMap type="SysTag" id="SysTagResult">
<resultMap type="com.flossom.common.core.domain.entity.SysTag" id="SysTagResult">
<id property="id" column="id" />
<result property="parentId" column="parent_id" />
<result property="ancestors" column="ancestors" />
@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_tag d
</sql>
<select id="selectDeptList" parameterType="SysTag" resultMap="SysTagResult">
<select id="selectDeptList" parameterType="com.flossom.common.core.domain.entity.SysTag" resultMap="SysTagResult">
<include refid="selectDeptVo"/>
where d.del_flag = '0'
<if test="id != null and id != 0">
@ -69,6 +69,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id} and del_flag = '0'
</select>
<select id="selectDeptByIds" resultType="long">
select id from sys_tag
where id in
<foreach collection="ids" item="id" separator="," open="(" close=")">
#{id}
</foreach>
and del_flag = '0'
</select>
<select id="selectDataListByIds" resultType="com.flossom.common.core.domain.entity.SysTag">
<include refid="selectDeptVo"/>
where id in
<foreach collection="ids" item="id" separator="," open="(" close=")">
#{id}
</foreach>
and del_flag = '0'
</select>
<select id="selectTagByShuyunTagId" parameterType="String" resultMap="SysTagResult">
<include refid="selectDeptVo"/>
where shuyun_tag_id = #{shuyunTagId}
@ -113,7 +131,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</select>
<insert id="insertDept" parameterType="SysTag">
<select id="selectSysTagById" resultMap="SysTagResult">
<include refid="selectDeptVo"/>
where id = #{id} and del_flag = #{delFlag}
</select>
<insert id="insertDept" parameterType="com.flossom.common.core.domain.entity.SysTag">
<selectKey keyProperty="id" resultType="Long" order="AFTER">
SELECT LAST_INSERT_ID()
</selectKey>
insert into sys_tag(
<if test="id != null and id != 0">id,</if>
<if test="parentId != null and parentId != 0">parent_id,</if>
@ -147,7 +173,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateDept" parameterType="SysTag">
<update id="updateDept" parameterType="com.flossom.common.core.domain.entity.SysTag">
update sys_tag
<set>
<if test="parentId != null and parentId != 0">parent_id = #{parentId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysUserMapper">
<resultMap type="SysUser" id="SysUserResult">
<resultMap type="com.flossom.common.core.domain.entity.SysUser" id="SysUserResult">
<id property="userId" column="user_id" />
<result property="deptId" column="dept_id" />
<result property="userName" column="user_name" />
@ -23,11 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<association property="dept" javaType="SysDept" resultMap="deptResult" />
<association property="dept" javaType="com.flossom.common.core.domain.entity.SysDept" resultMap="deptResult" />
<collection property="roles" javaType="java.util.List" resultMap="RoleResult" />
</resultMap>
<resultMap id="deptResult" type="SysDept">
<resultMap id="deptResult" type="com.flossom.common.core.domain.entity.SysDept">
<id property="deptId" column="dept_id" />
<result property="parentId" column="parent_id" />
<result property="deptName" column="dept_name" />
@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="status" column="dept_status" />
</resultMap>
<resultMap id="RoleResult" type="SysRole">
<resultMap id="RoleResult" type="com.flossom.common.core.domain.entity.SysRole">
<id property="roleId" column="role_id" />
<result property="roleName" column="role_name" />
<result property="roleKey" column="role_key" />
@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_role r on r.role_id = ur.role_id
</sql>
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
<select id="selectUserList" parameterType="com.flossom.common.core.domain.entity.SysUser" resultMap="SysUserResult">
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber, u.sex, u.status, u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark, d.dept_name, d.leader from sys_user u
left join sys_dept d on u.dept_id = d.dept_id
where u.del_flag = '0'
@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
${params.dataScope}
</select>
<select id="selectAllocatedList" parameterType="SysUser" resultMap="SysUserResult">
<select id="selectAllocatedList" parameterType="com.flossom.common.core.domain.entity.SysUser" resultMap="SysUserResult">
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
from sys_user u
left join sys_dept d on u.dept_id = d.dept_id
@ -102,7 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
${params.dataScope}
</select>
<select id="selectUnallocatedList" parameterType="SysUser" resultMap="SysUserResult">
<select id="selectUnallocatedList" parameterType="com.flossom.common.core.domain.entity.SysUser" resultMap="SysUserResult">
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
from sys_user u
left join sys_dept d on u.dept_id = d.dept_id
@ -142,7 +142,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select user_id, email from sys_user where email = #{email} and del_flag = '0' limit 1
</select>
<insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
<insert id="insertUser" parameterType="com.flossom.common.core.domain.entity.SysUser" useGeneratedKeys="true" keyProperty="userId">
insert into sys_user(
<if test="userId != null and userId != 0">user_id,</if>
<if test="deptId != null and deptId != 0">dept_id,</if>
@ -176,7 +176,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)
</insert>
<update id="updateUser" parameterType="SysUser">
<update id="updateUser" parameterType="com.flossom.common.core.domain.entity.SysUser">
update sys_user
<set>
<if test="deptId != null and deptId != 0">dept_id = #{deptId},</if>
@ -197,15 +197,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where user_id = #{userId}
</update>
<update id="updateUserStatus" parameterType="SysUser">
<update id="updateUserStatus" parameterType="com.flossom.common.core.domain.entity.SysUser">
update sys_user set status = #{status} where user_id = #{userId}
</update>
<update id="updateUserAvatar" parameterType="SysUser">
<update id="updateUserAvatar" parameterType="com.flossom.common.core.domain.entity.SysUser">
update sys_user set avatar = #{avatar} where user_name = #{userName}
</update>
<update id="resetUserPwd" parameterType="SysUser">
<update id="resetUserPwd" parameterType="com.flossom.common.core.domain.entity.SysUser">
update sys_user set password = #{password} where user_name = #{userName}
</update>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysUserPostMapper">
<resultMap type="SysUserPost" id="SysUserPostResult">
<resultMap type="com.flossom.common.core.domain.entity.SysUserPost" id="SysUserPostResult">
<result property="userId" column="user_id" />
<result property="postId" column="post_id" />
</resultMap>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.SysUserRoleMapper">
<resultMap type="SysUserRole" id="SysUserRoleResult">
<resultMap type="com.flossom.common.core.domain.entity.SysUserRole" id="SysUserRoleResult">
<result property="userId" column="user_id" />
<result property="roleId" column="role_id" />
</resultMap>
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</insert>
<delete id="deleteUserRoleInfo" parameterType="SysUserRole">
<delete id="deleteUserRoleInfo" parameterType="com.flossom.common.core.domain.entity.SysUserRole">
delete from sys_user_role where user_id=#{userId} and role_id=#{roleId}
</delete>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxClockImgMapper">
<resultMap type="WxClockImg" id="WxClockImgResult">
<resultMap type="com.flossom.common.core.domain.entity.WxClockImg" id="WxClockImgResult">
<result property="id" column="id" />
<result property="userClockId" column="user_clock_id" />
<result property="clockImg" column="clock_img" />
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, user_clock_id, clock_img, status, create_by, create_time from wx_clock_img
</sql>
<select id="selectWxClockImgList" parameterType="WxClockImg" resultMap="WxClockImgResult">
<select id="selectWxClockImgList" parameterType="com.flossom.common.core.domain.entity.WxClockImg" resultMap="WxClockImgResult">
<include refid="selectWxClockImgVo"/>
<where>
<if test="userClockId != null "> and user_clock_id = #{userClockId}</if>
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxClockImg" parameterType="WxClockImg" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxClockImg" parameterType="com.flossom.common.core.domain.entity.WxClockImg" useGeneratedKeys="true" keyProperty="id">
insert into wx_clock_img
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userClockId != null">user_clock_id,</if>
@ -49,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxClockImg" parameterType="WxClockImg">
<update id="updateWxClockImg" parameterType="com.flossom.common.core.domain.entity.WxClockImg">
update wx_clock_img
<trim prefix="SET" suffixOverrides=",">
<if test="userClockId != null">user_clock_id = #{userClockId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxClockInstrumentLogMapper">
<resultMap type="WxClockInstrumentLog" id="WxClockInstrumentLogResult">
<resultMap type="com.flossom.common.core.domain.entity.WxClockInstrumentLog" id="WxClockInstrumentLogResult">
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="instrumentId" column="instrument_id" />
@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, user_id, instrument_id, instrument_name, status, create_by, create_time from wx_clock_instrument_log
</sql>
<select id="selectWxClockInstrumentLogList" parameterType="WxClockInstrumentLog" resultMap="WxClockInstrumentLogResult">
<select id="selectWxClockInstrumentLogList" parameterType="com.flossom.common.core.domain.entity.WxClockInstrumentLog" resultMap="WxClockInstrumentLogResult">
<include refid="selectWxClockInstrumentLogVo"/>
<where>
<if test="userId != null "> and user_id = #{userId}</if>
@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxClockInstrumentLog" parameterType="WxClockInstrumentLog" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxClockInstrumentLog" parameterType="com.flossom.common.core.domain.entity.WxClockInstrumentLog" useGeneratedKeys="true" keyProperty="id">
insert into wx_clock_instrument_log
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userId != null">user_id,</if>
@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxClockInstrumentLog" parameterType="WxClockInstrumentLog">
<update id="updateWxClockInstrumentLog" parameterType="com.flossom.common.core.domain.entity.WxClockInstrumentLog">
update wx_clock_instrument_log
<trim prefix="SET" suffixOverrides=",">
<if test="userId != null">user_id = #{userId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxClockLogMapper">
<resultMap type="WxClockLog" id="WxClockLogResult">
<resultMap type="com.flossom.common.core.domain.entity.WxClockLog" id="WxClockLogResult">
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="instrumentId" column="instrument_id" />
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateTime" column="update_time" />
</resultMap>
<resultMap type="WxClockLogRet" id="WxClockLogRetResult">
<resultMap type="com.flossom.common.core.domain.ret.WxClockLogRet" id="WxClockLogRetResult">
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="instrumentId" column="instrument_id" />
@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateTime" column="update_time" />
</resultMap>
<resultMap type="WxMemberClockLog" id="wxMemberClockLog">
<resultMap type="com.flossom.common.core.domain.entity.WxMemberClockLog" id="wxMemberClockLog">
<result property="userId" column="user_id" />
<result property="lastClockTime" column="last_clock_time"/>
<result property="clockNum" column="clock_num" />
@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="clockTime" column="clock_time" />
</resultMap>
<resultMap type="WxClockLog" id="WxClockImgLogResult">
<resultMap type="com.flossom.common.core.domain.entity.WxClockLog" id="WxClockImgLogResult">
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="instrumentId" column="instrument_id" />
@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<collection property="wxClockImgList" ofType="WxClockImg" >
<collection property="wxClockImgList" ofType="com.flossom.common.core.domain.entity.WxClockImg" >
<result property="id" column="img_id" />
<result property="userClockId" column="user_clock_id" />
<result property="clockImg" column="clock_img" />
@ -59,15 +59,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, user_id, instrument_id, instrument_name, clock_content, status, create_by, create_time, update_by, update_time from wx_clock_log
</sql>
<select id="selectCountByUserId" parameterType="WxClockLog" resultType="Integer">
<select id="selectCountByUserId" parameterType="com.flossom.common.core.domain.entity.WxClockLog" resultType="Long">
select count(1) from wx_clock_log
where
user_id = #{userId}
and create_time &gt;= #{params.beginTime}
and create_time &lt;= #{params.endTime}
<where>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="params != null and params.beginTime != null">
and create_time &gt;= #{params.beginTime}
</if>
<if test="params != null and params.endTime != null">
and create_time &lt;= #{params.endTime}
</if>
</where>
</select>
<select id="selectWxClockLogList" parameterType="WxClockLog" resultMap="WxClockLogResult">
<select id="selectWxClockLogList" parameterType="com.flossom.common.core.domain.entity.WxClockLog" resultMap="WxClockLogResult">
<include refid="selectWxClockLogVo"/>
<where>
<if test="userId != null "> and user_id = #{userId}</if>
@ -85,7 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by create_time desc
</select>
<select id="detail" parameterType="WxClockLog" resultMap="WxClockImgLogResult">
<select id="detail" parameterType="com.flossom.common.core.domain.entity.WxClockLog" resultMap="WxClockImgLogResult">
SELECT
log.id, log.user_id, log.instrument_id, log.instrument_name, log.clock_content, log.status,
log.create_by, log.create_time, log.update_by, log.update_time, img.id as img_id,
@ -111,7 +116,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectWxClockImgRetList" parameterType="WxClockLog" resultMap="WxClockLogRetResult">
<select id="selectWxClockImgRetList" parameterType="com.flossom.common.core.domain.entity.WxClockLog" resultMap="WxClockLogRetResult">
<include refid="selectWxClockLogVo"/>
<where>
<if test="userId != null "> and user_id = #{userId}</if>
@ -129,7 +134,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by create_time desc
</select>
<select id="selectMemberClockLogList" parameterType="userClockLogReq" resultMap="wxMemberClockLog">
<select id="selectMemberClockLogList" parameterType="com.flossom.common.core.domain.req.UserClockLogReq" resultMap="wxMemberClockLog">
SELECT
user_id,
MAX( update_time ) AS last_clock_time,
@ -172,7 +177,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
last_clock_time DESC
</select>
<insert id="insertWxClockLog" parameterType="WxClockLog" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxClockLog" parameterType="com.flossom.common.core.domain.entity.WxClockLog" useGeneratedKeys="true" keyProperty="id">
<selectKey keyProperty="id" resultType="Long" order="AFTER">
SELECT LAST_INSERT_ID()
</selectKey>
@ -201,7 +206,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxClockLog" parameterType="WxClockLog">
<update id="updateWxClockLog" parameterType="com.flossom.common.core.domain.entity.WxClockLog">
update wx_clock_log
<trim prefix="SET" suffixOverrides=",">
<if test="userId != null">user_id = #{userId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxClockStatisticsMapper">
<resultMap type="WxClockStatistics" id="WxClockStatisticsResult">
<resultMap type="com.flossom.common.core.domain.entity.WxClockStatistics" id="WxClockStatisticsResult">
<result property="id" column="id" />
<result property="year" column="year" />
<result property="month" column="month" />
@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, `year`, `month`, user_id, clock_num, percentage, status, create_by, create_time, update_by, update_time from wx_clock_statistics
</sql>
<select id="selectWxClockStatisticsList" parameterType="WxClockStatistics" resultMap="WxClockStatisticsResult">
<select id="selectWxClockStatisticsList" parameterType="com.flossom.common.core.domain.entity.WxClockStatistics" resultMap="WxClockStatisticsResult">
<include refid="selectWxClockStatisticsVo"/>
<where>
<if test="year != null "> and `year` = #{year}</if>
@ -42,7 +42,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectByUserIdAndYearMonth" resultMap="WxClockStatisticsResult">
<include refid="selectWxClockStatisticsVo"/>
<where>
`year` = #{year} and `month` = #{month}
<if test="year != null">
and `year` = #{year}
</if>
<if test="month != null">
and `month` = #{month}
</if>
<if test="userIdList != null and userIdList.size > 0">
and user_id in
<foreach item="userId" collection="userIdList" open="(" separator="," close=")">
@ -54,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<insert id="insertWxClockStatistics" parameterType="WxClockStatistics" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxClockStatistics" parameterType="com.flossom.common.core.domain.entity.WxClockStatistics" useGeneratedKeys="true" keyProperty="id">
insert into wx_clock_statistics
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="year != null">`year`,</if>
@ -82,7 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxClockStatistics" parameterType="WxClockStatistics">
<update id="updateWxClockStatistics" parameterType="com.flossom.common.core.domain.entity.WxClockStatistics">
update wx_clock_statistics
<trim prefix="SET" suffixOverrides=",">
<if test="year != null">`year` = #{year},</if>

@ -0,0 +1,218 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxFindCarouselMapper">
<resultMap type="com.flossom.common.core.domain.entity.WxFindCarousel" id="WxFindCarouselResult">
<result property="id" column="id" />
<result property="title" column="title" />
<result property="fileUrl" column="file_url" />
<result property="siteStartTime" column="site_start_time" />
<result property="siteEndTime" column="site_end_time" />
<result property="userRegisterStartTime" column="user_register_start_time" />
<result property="userRegisterEndTime" column="user_register_end_time" />
<result property="showWechatTagId" column="show_wechat_tag_id" />
<result property="showCompanyTagId" column="show_company_tag_id" />
<result property="forbidWechatTagId" column="forbid_wechat_tag_id" />
<result property="forbidCompanyTagId" column="forbid_company_tag_id" />
<result property="handlerCompanyTagId" column="handler_company_tag_id" />
<result property="handlerWechatTagId" column="handler_wechat_tag_id" />
<result property="channelId" column="channel_id" />
<result property="instrumentId" column="instrument_id" />
<result property="operate" column="operate" />
<result property="signNumber" column="sign_number" />
<result property="userType" column="user_type" />
<result property="orderNumber" column="order_number" />
<result property="type" column="type" />
<result property="link" column="link" />
<result property="linkParams" column="link_params" />
<result property="redirectAppid" column="redirect_appid" />
<result property="redirectUrl" column="redirect_url" />
<result property="videoNo" column="video_no" />
<result property="feedId" column="feed_id" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="selectWxFindCarouselVo">
select id, title, file_url, site_start_time, site_end_time, user_register_start_time, user_register_end_time, show_wechat_tag_id, show_company_tag_id, forbid_wechat_tag_id, forbid_company_tag_id, handler_company_tag_id, handler_wechat_tag_id, channel_id, instrument_id, operate, sign_number, user_type, order_number, type, link, link_params, redirect_appid, redirect_url, video_no, feed_id, create_by, create_time, update_by, update_time, del_flag from wx_find_carousel
</sql>
<select id="selectWxFindCarouselList" parameterType="com.flossom.common.core.domain.entity.WxFindCarousel" resultMap="WxFindCarouselResult">
<include refid="selectWxFindCarouselVo"/>
<where>
del_flag = 0
<if test="title != null and title != ''"> and title = #{title}</if>
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
<if test="siteStartTime != null "> and site_start_time &gt;= #{siteStartTime}</if>
<if test="siteEndTime != null "> and site_end_time &lt;= #{siteEndTime}</if>
<if test="userRegisterStartTime != null "> and user_register_start_time &gt;= #{userRegisterStartTime}</if>
<if test="userRegisterEndTime != null "> and user_register_end_time &lt;= #{userRegisterEndTime}</if>
<if test="showWechatTagId != null and showWechatTagId != ''"> and show_wechat_tag_id = #{showWechatTagId}</if>
<if test="showCompanyTagId != null and showCompanyTagId != ''"> and show_company_tag_id = #{showCompanyTagId}</if>
<if test="forbidWechatTagId != null and forbidWechatTagId != ''"> and forbid_wechat_tag_id = #{forbidWechatTagId}</if>
<if test="forbidCompanyTagId != null and forbidCompanyTagId != ''"> and forbid_company_tag_id = #{forbidCompanyTagId}</if>
<if test="handlerCompanyTagId != null and handlerCompanyTagId != ''"> and handler_company_tag_id = #{handlerCompanyTagId}</if>
<if test="handlerWechatTagId != null and handlerWechatTagId != ''"> and handler_wechat_tag_id = #{handlerWechatTagId}</if>
<if test="channelId != null and channelId != ''"> and channel_id = #{channelId}</if>
<if test="instrumentId != null and instrumentId != ''"> and instrument_id = #{instrumentId}</if>
<if test="operate != null "> and operate = #{operate}</if>
<if test="signNumber != null "> and sign_number = #{signNumber}</if>
<if test="userType != null "> and user_type = #{userType}</if>
<if test="orderNumber != null "> and order_number = #{orderNumber}</if>
<if test="type != null "> and type = #{type}</if>
<if test="link != null and link != ''"> and link = #{link}</if>
<if test="linkParams != null and linkParams != ''"> and link_params = #{linkParams}</if>
<if test="redirectAppid != null and redirectAppid != ''"> and redirect_appid = #{redirectAppid}</if>
<if test="redirectUrl != null and redirectUrl != ''"> and redirect_url = #{redirectUrl}</if>
<if test="videoNo != null and videoNo != ''"> and video_no = #{videoNo}</if>
<if test="feedId != null and feedId != ''"> and feed_id = #{feedId}</if>
</where>
order by order_number desc, coalesce(update_time, create_time) desc
</select>
<select id="selectWxFindCarouselById" parameterType="Long" resultMap="WxFindCarouselResult">
<include refid="selectWxFindCarouselVo"/>
where id = #{id} and del_flag = 0 limit 1
</select>
<insert id="insertWxFindCarousel" parameterType="com.flossom.common.core.domain.entity.WxFindCarousel" useGeneratedKeys="true" keyProperty="id">
insert into wx_find_carousel
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="title != null">title,</if>
<if test="fileUrl != null">file_url,</if>
<if test="siteStartTime != null">site_start_time,</if>
<if test="siteEndTime != null">site_end_time,</if>
<if test="userRegisterStartTime != null">user_register_start_time,</if>
<if test="userRegisterEndTime != null">user_register_end_time,</if>
<if test="showWechatTagId != null">show_wechat_tag_id,</if>
<if test="showCompanyTagId != null">show_company_tag_id,</if>
<if test="forbidWechatTagId != null">forbid_wechat_tag_id,</if>
<if test="forbidCompanyTagId != null">forbid_company_tag_id,</if>
<if test="handlerCompanyTagId != null">handler_company_tag_id,</if>
<if test="handlerWechatTagId != null">handler_wechat_tag_id,</if>
<if test="channelId != null">channel_id,</if>
<if test="instrumentId != null">instrument_id,</if>
<if test="operate != null">operate,</if>
<if test="signNumber != null">sign_number,</if>
<if test="userType != null">user_type,</if>
<if test="orderNumber != null">order_number,</if>
<if test="type != null">type,</if>
<if test="link != null">link,</if>
<if test="linkParams != null">link_params,</if>
<if test="redirectAppid != null">redirect_appid,</if>
<if test="redirectUrl != null">redirect_url,</if>
<if test="videoNo != null">video_no,</if>
<if test="feedId != null">feed_id,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="delFlag != null">del_flag,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null">#{title},</if>
<if test="fileUrl != null">#{fileUrl},</if>
<if test="siteStartTime != null">#{siteStartTime},</if>
<if test="siteEndTime != null">#{siteEndTime},</if>
<if test="userRegisterStartTime != null">#{userRegisterStartTime},</if>
<if test="userRegisterEndTime != null">#{userRegisterEndTime},</if>
<if test="showWechatTagId != null">#{showWechatTagId},</if>
<if test="showCompanyTagId != null">#{showCompanyTagId},</if>
<if test="forbidWechatTagId != null">#{forbidWechatTagId},</if>
<if test="forbidCompanyTagId != null">#{forbidCompanyTagId},</if>
<if test="handlerCompanyTagId != null">#{handlerCompanyTagId},</if>
<if test="handlerWechatTagId != null">#{handlerWechatTagId},</if>
<if test="channelId != null">#{channelId},</if>
<if test="instrumentId != null">#{instrumentId},</if>
<if test="operate != null">#{operate},</if>
<if test="signNumber != null">#{signNumber},</if>
<if test="userType != null">#{userType},</if>
<if test="orderNumber != null">#{orderNumber},</if>
<if test="type != null">#{type},</if>
<if test="link != null">#{link},</if>
<if test="linkParams != null">#{linkParams},</if>
<if test="redirectAppid != null">#{redirectAppid},</if>
<if test="redirectUrl != null">#{redirectUrl},</if>
<if test="videoNo != null">#{videoNo},</if>
<if test="feedId != null">#{feedId},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="delFlag != null">#{delFlag},</if>
</trim>
</insert>
<update id="updateWxFindCarousel" parameterType="com.flossom.common.core.domain.entity.WxFindCarousel">
update wx_find_carousel
<trim prefix="SET" suffixOverrides=",">
<if test="title != null">title = #{title},</if>
<if test="fileUrl != null">file_url = #{fileUrl},</if>
<if test="siteStartTime != null">site_start_time = #{siteStartTime},</if>
<if test="siteEndTime != null">site_end_time = #{siteEndTime},</if>
<if test="userRegisterStartTime != null">user_register_start_time = #{userRegisterStartTime},</if>
<if test="userRegisterEndTime != null">user_register_end_time = #{userRegisterEndTime},</if>
<if test="showWechatTagId != null">show_wechat_tag_id = #{showWechatTagId},</if>
<if test="showCompanyTagId != null">show_company_tag_id = #{showCompanyTagId},</if>
<if test="forbidWechatTagId != null">forbid_wechat_tag_id = #{forbidWechatTagId},</if>
<if test="forbidCompanyTagId != null">forbid_company_tag_id = #{forbidCompanyTagId},</if>
<if test="handlerCompanyTagId != null">handler_company_tag_id = #{handlerCompanyTagId},</if>
<if test="handlerWechatTagId != null">handler_wechat_tag_id = #{handlerWechatTagId},</if>
<if test="channelId != null">channel_id = #{channelId},</if>
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>
<if test="operate != null">operate = #{operate},</if>
<if test="signNumber != null">sign_number = #{signNumber},</if>
<if test="userType != null">user_type = #{userType},</if>
<if test="orderNumber != null">order_number = #{orderNumber},</if>
<if test="type != null">type = #{type},</if>
<if test="link != null">link = #{link},</if>
<if test="linkParams != null">link_params = #{linkParams},</if>
<if test="redirectAppid != null">redirect_appid = #{redirectAppid},</if>
<if test="redirectUrl != null">redirect_url = #{redirectUrl},</if>
<if test="videoNo != null">video_no = #{videoNo},</if>
<if test="feedId != null">feed_id = #{feedId},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteWxFindCarouselById">
update wx_find_carousel
set update_by = #{updateName},
update_time = #{updateDate},
del_flag = 2
where id = #{id}
</delete>
<!-- 修改排序 -->
<update id="updateSortOrOpen">
update wx_find_carousel
set
order_number = #{orderNumber},
operate = #{operate},
update_by = #{updateName},
update_time = #{updateDate}
where id = #{id}
</update>
<delete id="deleteWxFindCarouselByIds">
update wx_find_carousel
set update_by = #{updateName},
update_time = #{updateDate},
del_flag = 2
where id in
<foreach item="id" collection="ids" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxFindInstrumentMapper">
<resultMap type="com.flossom.common.core.domain.entity.WxFindInstrument" id="WxFindInstrumentResult">
<result property="id" column="id" />
<result property="wxFindId" column="wx_find_id" />
<result property="wxFindType" column="wx_find_type" />
<result property="instrumentId" column="instrument_id" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="selectWxFindInstrumentVo">
select id, wx_find_id, wx_find_type, instrument_id, create_by, create_time, update_by, update_time, del_flag from wx_find_instrument
</sql>
<select id="selectWxFindInstrumentList" parameterType="com.flossom.common.core.domain.entity.WxFindInstrument" resultMap="WxFindInstrumentResult">
<include refid="selectWxFindInstrumentVo"/>
<where>
del_flag = 0
<if test="wxFindId != null "> and wx_find_id = #{wxFindId}</if>
<if test="wxFindType != null "> and wx_find_type = #{wxFindType}</if>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
</where>
</select>
<select id="selectWxFindInstrumentById" parameterType="Long" resultMap="WxFindInstrumentResult">
<include refid="selectWxFindInstrumentVo"/>
where id = #{id} and del_flag = 0 limit 1
</select>
<insert id="insertWxFindInstrument" parameterType="com.flossom.common.core.domain.entity.WxFindInstrument" useGeneratedKeys="true" keyProperty="id">
insert into wx_find_instrument
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="wxFindId != null">wx_find_id,</if>
<if test="wxFindType != null ">wx_find_type,</if>
<if test="instrumentId != null">instrument_id,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="delFlag != null">del_flag,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="wxFindId != null">#{wxFindId},</if>
<if test="wxFindType != null ">#{wxFindType},</if>
<if test="instrumentId != null">#{instrumentId},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="delFlag != null">#{delFlag},</if>
</trim>
</insert>
<update id="updateWxFindInstrument" parameterType="com.flossom.common.core.domain.entity.WxFindInstrument">
update wx_find_instrument
<trim prefix="SET" suffixOverrides=",">
<if test="wxFindId != null">wx_find_id = #{wxFindId},</if>
<if test="wxFindType != null ">wx_find_type = #{wxFindType},</if>
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteWxFindInstrumentById" parameterType="Long">
update wx_find_instrument set delFlag = 2 where id = #{id}
</delete>
<delete id="deleteWxFindInstrumentByIds" parameterType="String">
update wx_find_instrument set delFlag = 2 where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
<!-- 根据发现管理id软删除数据 -->
<update id="deleteWxFindInstrumentByWxFindId">
update wx_find_instrument
set update_by = #{updateName},
update_time = #{updateDate},
del_flag = 2
where wx_find_id = #{wxFindId} and wx_find_type = #{wxFindType}
</update>
</mapper>

@ -0,0 +1,217 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxFindProductStrategyMapper">
<resultMap type="com.flossom.common.core.domain.entity.WxFindProductStrategy" id="WxFindProductStrategyResult">
<result property="id" column="id" />
<result property="title" column="title" />
<result property="fileUrl" column="file_url" />
<result property="siteStartTime" column="site_start_time" />
<result property="siteEndTime" column="site_end_time" />
<result property="userRegisterStartTime" column="user_register_start_time" />
<result property="userRegisterEndTime" column="user_register_end_time" />
<result property="showWechatTagId" column="show_wechat_tag_id" />
<result property="showCompanyTagId" column="show_company_tag_id" />
<result property="forbidWechatTagId" column="forbid_wechat_tag_id" />
<result property="forbidCompanyTagId" column="forbid_company_tag_id" />
<result property="handlerCompanyTagId" column="handler_company_tag_id" />
<result property="handlerWechatTagId" column="handler_wechat_tag_id" />
<result property="channelId" column="channel_id" />
<result property="instrumentId" column="instrument_id" />
<result property="operate" column="operate" />
<result property="signNumber" column="sign_number" />
<result property="userType" column="user_type" />
<result property="orderNumber" column="order_number" />
<result property="type" column="type" />
<result property="link" column="link" />
<result property="linkParams" column="link_params" />
<result property="redirectAppid" column="redirect_appid" />
<result property="redirectUrl" column="redirect_url" />
<result property="videoNo" column="video_no" />
<result property="feedId" column="feed_id" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="selectWxFindProductStrategyVo">
select id, title, file_url, site_start_time, site_end_time, user_register_start_time, user_register_end_time, show_wechat_tag_id, show_company_tag_id, forbid_wechat_tag_id, forbid_company_tag_id, handler_company_tag_id, handler_wechat_tag_id, channel_id, instrument_id, operate, sign_number, user_type, order_number, type, link, link_params, redirect_appid, redirect_url, video_no, feed_id, create_by, create_time, update_by, update_time, del_flag from wx_find_product_strategy
</sql>
<select id="selectWxFindProductStrategyList" parameterType="com.flossom.common.core.domain.entity.WxFindProductStrategy" resultMap="WxFindProductStrategyResult">
<include refid="selectWxFindProductStrategyVo"/>
<where>
del_flag = 0
<if test="title != null and title != ''"> and title = #{title}</if>
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
<if test="siteStartTime != null "> and site_start_time &gt;= #{siteStartTime}</if>
<if test="siteEndTime != null "> and site_end_time &lt;= #{siteEndTime}</if>
<if test="userRegisterStartTime != null "> and user_register_start_time &gt;= #{userRegisterStartTime}</if>
<if test="userRegisterEndTime != null "> and user_register_end_time &lt;= #{userRegisterEndTime}</if>
<if test="showWechatTagId != null and showWechatTagId != ''"> and show_wechat_tag_id = #{showWechatTagId}</if>
<if test="showCompanyTagId != null and showCompanyTagId != ''"> and show_company_tag_id = #{showCompanyTagId}</if>
<if test="forbidWechatTagId != null and forbidWechatTagId != ''"> and forbid_wechat_tag_id = #{forbidWechatTagId}</if>
<if test="forbidCompanyTagId != null and forbidCompanyTagId != ''"> and forbid_company_tag_id = #{forbidCompanyTagId}</if>
<if test="handlerCompanyTagId != null and handlerCompanyTagId != ''"> and handler_company_tag_id = #{handlerCompanyTagId}</if>
<if test="handlerWechatTagId != null and handlerWechatTagId != ''"> and handler_wechat_tag_id = #{handlerWechatTagId}</if>
<if test="channelId != null and channelId != ''"> and channel_id = #{channelId}</if>
<if test="instrumentId != null and instrumentId != ''"> and instrument_id = #{instrumentId}</if>
<if test="operate != null "> and operate = #{operate}</if>
<if test="signNumber != null "> and sign_number = #{signNumber}</if>
<if test="userType != null "> and user_type = #{userType}</if>
<if test="orderNumber != null "> and order_number = #{orderNumber}</if>
<if test="type != null "> and type = #{type}</if>
<if test="link != null and link != ''"> and link = #{link}</if>
<if test="linkParams != null and linkParams != ''"> and link_params = #{linkParams}</if>
<if test="redirectAppid != null and redirectAppid != ''"> and redirect_appid = #{redirectAppid}</if>
<if test="redirectUrl != null and redirectUrl != ''"> and redirect_url = #{redirectUrl}</if>
<if test="videoNo != null and videoNo != ''"> and video_no = #{videoNo}</if>
<if test="feedId != null and feedId != ''"> and feed_id = #{feedId}</if>
</where>
order by order_number desc , coalesce(update_time, create_time) desc
</select>
<select id="selectWxFindProductStrategyById" parameterType="Long" resultMap="WxFindProductStrategyResult">
<include refid="selectWxFindProductStrategyVo"/>
where id = #{id} and del_flag = 0 limit 1
</select>
<insert id="insertWxFindProductStrategy" parameterType="com.flossom.common.core.domain.entity.WxFindProductStrategy" useGeneratedKeys="true" keyProperty="id">
insert into wx_find_product_strategy
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="title != null">title,</if>
<if test="fileUrl != null">file_url,</if>
<if test="siteStartTime != null">site_start_time,</if>
<if test="siteEndTime != null">site_end_time,</if>
<if test="userRegisterStartTime != null">user_register_start_time,</if>
<if test="userRegisterEndTime != null">user_register_end_time,</if>
<if test="showWechatTagId != null">show_wechat_tag_id,</if>
<if test="showCompanyTagId != null">show_company_tag_id,</if>
<if test="forbidWechatTagId != null">forbid_wechat_tag_id,</if>
<if test="forbidCompanyTagId != null">forbid_company_tag_id,</if>
<if test="handlerCompanyTagId != null">handler_company_tag_id,</if>
<if test="handlerWechatTagId != null">handler_wechat_tag_id,</if>
<if test="channelId != null">channel_id,</if>
<if test="instrumentId != null">instrument_id,</if>
<if test="operate != null">operate,</if>
<if test="signNumber != null">sign_number,</if>
<if test="userType != null">user_type,</if>
<if test="orderNumber != null">order_number,</if>
<if test="type != null">type,</if>
<if test="link != null">link,</if>
<if test="linkParams != null">link_params,</if>
<if test="redirectAppid != null">redirect_appid,</if>
<if test="redirectUrl != null">redirect_url,</if>
<if test="videoNo != null">video_no,</if>
<if test="feedId != null">feed_id,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="delFlag != null">del_flag,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="title != null">#{title},</if>
<if test="fileUrl != null">#{fileUrl},</if>
<if test="siteStartTime != null">#{siteStartTime},</if>
<if test="siteEndTime != null">#{siteEndTime},</if>
<if test="userRegisterStartTime != null">#{userRegisterStartTime},</if>
<if test="userRegisterEndTime != null">#{userRegisterEndTime},</if>
<if test="showWechatTagId != null">#{showWechatTagId},</if>
<if test="showCompanyTagId != null">#{showCompanyTagId},</if>
<if test="forbidWechatTagId != null">#{forbidWechatTagId},</if>
<if test="forbidCompanyTagId != null">#{forbidCompanyTagId},</if>
<if test="handlerCompanyTagId != null">#{handlerCompanyTagId},</if>
<if test="handlerWechatTagId != null">#{handlerWechatTagId},</if>
<if test="channelId != null">#{channelId},</if>
<if test="instrumentId != null">#{instrumentId},</if>
<if test="operate != null">#{operate},</if>
<if test="signNumber != null">#{signNumber},</if>
<if test="userType != null">#{userType},</if>
<if test="orderNumber != null">#{orderNumber},</if>
<if test="type != null">#{type},</if>
<if test="link != null">#{link},</if>
<if test="linkParams != null">#{linkParams},</if>
<if test="redirectAppid != null">#{redirectAppid},</if>
<if test="redirectUrl != null">#{redirectUrl},</if>
<if test="videoNo != null">#{videoNo},</if>
<if test="feedId != null">#{feedId},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="delFlag != null">#{delFlag},</if>
</trim>
</insert>
<update id="updateWxFindProductStrategy" parameterType="com.flossom.common.core.domain.entity.WxFindProductStrategy">
update wx_find_product_strategy
<trim prefix="SET" suffixOverrides=",">
<if test="title != null">title = #{title},</if>
<if test="fileUrl != null">file_url = #{fileUrl},</if>
<if test="siteStartTime != null">site_start_time = #{siteStartTime},</if>
<if test="siteEndTime != null">site_end_time = #{siteEndTime},</if>
<if test="userRegisterStartTime != null">user_register_start_time = #{userRegisterStartTime},</if>
<if test="userRegisterEndTime != null">user_register_end_time = #{userRegisterEndTime},</if>
<if test="showWechatTagId != null">show_wechat_tag_id = #{showWechatTagId},</if>
<if test="showCompanyTagId != null">show_company_tag_id = #{showCompanyTagId},</if>
<if test="forbidWechatTagId != null">forbid_wechat_tag_id = #{forbidWechatTagId},</if>
<if test="forbidCompanyTagId != null">forbid_company_tag_id = #{forbidCompanyTagId},</if>
<if test="handlerCompanyTagId != null">handler_company_tag_id = #{handlerCompanyTagId},</if>
<if test="handlerWechatTagId != null">handler_wechat_tag_id = #{handlerWechatTagId},</if>
<if test="channelId != null">channel_id = #{channelId},</if>
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>
<if test="operate != null">operate = #{operate},</if>
<if test="signNumber != null">sign_number = #{signNumber},</if>
<if test="userType != null">user_type = #{userType},</if>
<if test="orderNumber != null">order_number = #{orderNumber},</if>
<if test="type != null">type = #{type},</if>
<if test="link != null">link = #{link},</if>
<if test="linkParams != null">link_params = #{linkParams},</if>
<if test="redirectAppid != null">redirect_appid = #{redirectAppid},</if>
<if test="redirectUrl != null">redirect_url = #{redirectUrl},</if>
<if test="videoNo != null">video_no = #{videoNo},</if>
<if test="feedId != null">feed_id = #{feedId},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteWxFindProductStrategyById">
update wx_find_product_strategy
set update_by = #{updateName},
update_time = #{updateDate},
del_flag = 2
where id = #{id}
</delete>
<delete id="deleteWxFindProductStrategyByIds">
update wx_find_product_strategy
set update_by = #{updateName},
update_time = #{updateDate},
del_flag = 2
where id in
<foreach item="id" collection="ids" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
<!-- 修改排序 -->
<update id="updateSort">
update wx_find_product_strategy
set
order_number = #{orderNumber},
operate = #{operate},
update_by = #{updateName},
update_time = #{updateDate}
where id = #{id}
</update>
</mapper>

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxFindTagMapper">
<resultMap type="com.flossom.common.core.domain.entity.WxFindTag" id="WxFindTagResult">
<result property="id" column="id" />
<result property="wxFindId" column="wx_find_id" />
<result property="wxFindType" column="wx_find_type" />
<result property="tagId" column="tag_id" />
<result property="tagType" column="tag_type" />
<result property="status" column="status" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="selectWxFindTagVo">
select id, wx_find_id, wx_find_type, tag_id, tag_type, status, create_by, create_time, update_by, update_time, remark, del_flag from wx_find_tag
</sql>
<select id="selectWxFindTagList" parameterType="com.flossom.common.core.domain.entity.WxFindTag" resultMap="WxFindTagResult">
<include refid="selectWxFindTagVo"/>
<where>
del_flag = 0
<if test="wxFindId != null "> and wx_find_id = #{wxFindId}</if>
<if test="wxFindType != null "> and wx_find_type = #{wxFindType}</if>
<if test="tagId != null "> and tag_id = #{tagId}</if>
<if test="tagType != null "> and tag_type = #{tagType}</if>
<if test="status != null "> and status = #{status}</if>
</where>
</select>
<select id="selectWxFindTagById" parameterType="Long" resultMap="WxFindTagResult">
<include refid="selectWxFindTagVo"/>
where id = #{id} and del_flag = 0 limit 1
</select>
<insert id="insertWxFindTag" parameterType="com.flossom.common.core.domain.entity.WxFindTag" useGeneratedKeys="true" keyProperty="id">
insert into wx_find_tag
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="wxFindId != null">wx_find_id,</if>
<if test="wxFindType != null ">wx_find_type,</if>
<if test="tagId != null">tag_id,</if>
<if test="tagType != null">tag_type,</if>
<if test="status != null">status,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="delFlag != null">del_flag,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="wxFindId != null">#{wxFindId},</if>
<if test="wxFindType != null ">#{wxFindType},</if>
<if test="tagId != null">#{tagId},</if>
<if test="tagType != null">#{tagType},</if>
<if test="status != null">#{status},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="delFlag != null">#{delFlag},</if>
</trim>
</insert>
<!-- 持久化 -->
<insert id="inserts" parameterType="java.util.List" >
insert into wx_find_tag
<trim prefix="(" suffix=")" suffixOverrides="," >
wx_find_id, wx_find_type, tag_id, tag_type, status, create_by, create_time, update_by, update_time, remark, del_flag
</trim>
VALUES
<foreach collection="wxFindTagList" item="item" separator="," >
<trim prefix="(" suffix=")" suffixOverrides="," >
#{item.wxFindId}, #{item.wxFindType}, #{item.tagId}, #{item.tagType}, #{item.status}, #{item.createBy}, #{item.createTime}, #{item.updateBy}, #{item.updateTime}, #{item.remark},#{item.delFlag},
</trim>
</foreach>
</insert>
<update id="updateWxFindTag" parameterType="com.flossom.common.core.domain.entity.WxFindTag">
update wx_find_tag
<trim prefix="SET" suffixOverrides=",">
<if test="wxFindId != null">wx_find_id = #{wxFindId},</if>
<if test="wxFindType != null ">wx_find_type = #{wxFindType},</if>
<if test="tagId != null">tag_id = #{tagId},</if>
<if test="tagType != null">tag_type = #{tagType},</if>
<if test="status != null">status = #{status},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
</trim>
where id = #{id}
</update>
<!-- 根据发现管理id软删除数据 -->
<update id="deleteWxFindTagByWxFindId">
update wx_find_tag
set update_by = #{updateName},
update_time = #{updateDate},
del_flag = 2
where wx_find_id = #{wxFindId} and wx_find_type = #{wxFindType}
</update>
<delete id="deleteWxFindTagById" parameterType="Long">
update wx_find_tag set delFlag = 2 where id = #{id}
</delete>
<delete id="deleteWxFindTagByIds" parameterType="String">
update wx_find_tag set delFlag = 2 where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentFileRelateMapper">
<resultMap type="WxInstrumentFileRelate" id="WxInstrumentFileRelateResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentFileRelate" id="WxInstrumentFileRelateResult">
<result property="id" column="id" />
<result property="classify" column="classify" />
<result property="instrumentId" column="instrument_id" />
@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, classify, instrument_id, file, file_type, message, status, create_by, create_time from wx_instrument_file_relate
</sql>
<select id="selectWxInstrumentFileRelateList" parameterType="WxInstrumentFileRelate" resultMap="WxInstrumentFileRelateResult">
<select id="selectWxInstrumentFileRelateList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentFileRelate" resultMap="WxInstrumentFileRelateResult">
<include refid="selectWxInstrumentFileRelateVo"/>
<where>
<if test="classify != null "> and classify = #{classify}</if>
@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where instrument_id = #{instrumentId} and classify = #{classify}
</select>
<insert id="insertWxInstrumentFileRelate" parameterType="WxInstrumentFileRelate" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentFileRelate" parameterType="com.flossom.common.core.domain.entity.WxInstrumentFileRelate" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_file_relate
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="classify != null">classify,</if>
@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentFileRelate" parameterType="WxInstrumentFileRelate">
<update id="updateWxInstrumentFileRelate" parameterType="com.flossom.common.core.domain.entity.WxInstrumentFileRelate">
update wx_instrument_file_relate
<trim prefix="SET" suffixOverrides=",">
<if test="classify != null">classify = #{classify},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentInstructionsMapper">
<resultMap type="WxInstrumentInstructions" id="WxInstrumentInstructionsResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentInstructions" id="WxInstrumentInstructionsResult">
<result property="id" column="id" />
<result property="instrumentId" column="instrument_id" />
<result property="name" column="name" />
@ -18,11 +18,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, instrument_id, name, link, status, create_by, create_time from wx_instrument_instructions
</sql>
<select id="selectWxInstrumentInstructionsList" parameterType="WxInstrumentInstructions" resultMap="WxInstrumentInstructionsResult">
<select id="selectWxInstrumentInstructionsList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentInstructions" resultMap="WxInstrumentInstructionsResult">
<include refid="selectWxInstrumentInstructionsVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="nameCongruent != null and nameCongruent != ''"> and name = #{nameCongruent}</if>
<if test="link != null and link != ''"> and link = #{link}</if>
<if test="status != null "> and status = #{status}</if>
<if test="id != null "> and id != #{id}</if>
@ -34,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxInstrumentInstructions" parameterType="WxInstrumentInstructions" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentInstructions" parameterType="com.flossom.common.core.domain.entity.WxInstrumentInstructions" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_instructions
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="instrumentId != null">instrument_id,</if>
@ -54,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentInstructions" parameterType="WxInstrumentInstructions">
<update id="updateWxInstrumentInstructions" parameterType="com.flossom.common.core.domain.entity.WxInstrumentInstructions">
update wx_instrument_instructions
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentLiningMapper">
<resultMap type="WxInstrumentLining" id="WxInstrumentLiningResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentLining" id="WxInstrumentLiningResult">
<result property="id" column="id" />
<result property="instrumentId" column="instrument_id" />
<result property="liningId" column="lining_id" />
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, instrument_id, lining_id, status, create_by, create_time from wx_instrument_lining
</sql>
<select id="selectWxInstrumentLiningList" parameterType="WxInstrumentLining" resultMap="WxInstrumentLiningResult">
<select id="selectWxInstrumentLiningList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentLining" resultMap="WxInstrumentLiningResult">
<include refid="selectWxInstrumentLiningVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxInstrumentLining" parameterType="WxInstrumentLining" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentLining" parameterType="com.flossom.common.core.domain.entity.WxInstrumentLining" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_lining
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="instrumentId != null">instrument_id,</if>
@ -49,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentLining" parameterType="WxInstrumentLining">
<update id="updateWxInstrumentLining" parameterType="com.flossom.common.core.domain.entity.WxInstrumentLining">
update wx_instrument_lining
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentMapper">
<resultMap type="WxInstrument" id="WxInstrumentResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrument" id="WxInstrumentResult">
<result property="id" column="id" />
<result property="name" column="name" />
<result property="type" column="type" />
@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, name, type, model, banner, logo, serial, guarantee, daily_clock_credit, is_extra_clock, binding_credit, extra_clock_credit, start_time, end_time, mini_tag_ids, mini_tag_names, wecom_tag_ids, wecom_tag_names, nursing_time, iot_version, iot_upgrade_data, is_scan_code, is_purchase, shopping_appid, shopping_path, bluetooth_connecting_title, bluetooth_connecting_content,bluetooth_connecting, bluetooth_closed_title, bluetooth_closed_content, bluetooth_closed, bluetooth_connect_fail_title, bluetooth_connect_fail_content, bluetooth_connect_fail, iot_version_upgrade, sort_no, status, manual_code_binding, scan_code_binding, create_by, create_time, update_by, update_time, remark, we200_iot_version, we200_iot_upgrade_data, we200_iot_version_upgrade, we200_bluetooth_connecting_title, we200_bluetooth_connecting_content, we200_bluetooth_connecting from wx_instrument
</sql>
<select id="selectWxInstrumentList" parameterType="WxInstrument" resultMap="WxInstrumentResult">
<select id="selectWxInstrumentList" parameterType="com.flossom.common.core.domain.entity.WxInstrument" resultMap="WxInstrumentResult">
<include refid="selectWxInstrumentVo"/>
<where>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
@ -112,7 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by create_time desc
</select>
<select id="selectWxInstrumentPage" parameterType="WxInstrumentReq" resultMap="WxInstrumentResult">
<select id="selectWxInstrumentPage" parameterType="com.flossom.common.core.domain.req.WxInstrumentReq" resultMap="WxInstrumentResult">
<include refid="selectWxInstrumentVo"/>
<where>
<if test="id != null"> and id like concat('%', #{id}, '%')</if>
@ -161,7 +161,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ORDER BY ins.sort_no DESC
</select>
<insert id="insertWxInstrument" parameterType="WxInstrument" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrument" parameterType="com.flossom.common.core.domain.entity.WxInstrument" useGeneratedKeys="true" keyProperty="id">
<selectKey keyProperty="id" resultType="Long" order="AFTER">
SELECT LAST_INSERT_ID()
</selectKey>
@ -270,7 +270,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrument" parameterType="WxInstrument">
<update id="updateWxInstrument" parameterType="com.flossom.common.core.domain.entity.WxInstrument">
update wx_instrument
<trim prefix="SET" suffixOverrides=",">
<if test="name != null and name != ''">name = #{name},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentModeMapper">
<resultMap type="WxInstrumentMode" id="WxInstrumentModeResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentMode" id="WxInstrumentModeResult">
<result property="id" column="id" />
<result property="instrumentId" column="instrument_id" />
<result property="modeId" column="mode_id" />
@ -20,7 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, instrument_id, mode_id, mode_sort, is_new, status, create_by, create_time, lining_id from wx_instrument_mode
</sql>
<select id="selectWxInstrumentModeList" parameterType="WxInstrumentMode" resultMap="WxInstrumentModeResult">
<select id="selectWxInstrumentModeList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentMode" resultMap="WxInstrumentModeResult">
<include refid="selectWxInstrumentModeVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxInstrumentMode" parameterType="WxInstrumentMode" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentMode" parameterType="com.flossom.common.core.domain.entity.WxInstrumentMode" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_mode
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="instrumentId != null">instrument_id,</if>
@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentMode" parameterType="WxInstrumentMode">
<update id="updateWxInstrumentMode" parameterType="com.flossom.common.core.domain.entity.WxInstrumentMode">
update wx_instrument_mode
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentNameRelateMapper">
<resultMap type="WxInstrumentNameRelate" id="WxInstrumentNameRelateResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentNameRelate" id="WxInstrumentNameRelateResult">
<result property="id" column="id" />
<result property="instrumentId" column="instrument_id" />
<result property="productName" column="product_name" />
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, instrument_id, product_name, status, create_by, create_time from wx_instrument_name_relate
</sql>
<select id="selectWxInstrumentNameRelateList" parameterType="WxInstrumentNameRelate" resultMap="WxInstrumentNameRelateResult">
<select id="selectWxInstrumentNameRelateList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentNameRelate" resultMap="WxInstrumentNameRelateResult">
<include refid="selectWxInstrumentNameRelateVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxInstrumentNameRelate" parameterType="WxInstrumentNameRelate" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentNameRelate" parameterType="com.flossom.common.core.domain.entity.WxInstrumentNameRelate" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_name_relate
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="instrumentId != null">instrument_id,</if>
@ -49,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentNameRelate" parameterType="WxInstrumentNameRelate">
<update id="updateWxInstrumentNameRelate" parameterType="com.flossom.common.core.domain.entity.WxInstrumentNameRelate">
update wx_instrument_name_relate
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentSerialLogMapper">
<resultMap type="WxInstrumentSerialLog" id="WxInstrumentSerialLogResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentSerialLog" id="WxInstrumentSerialLogResult">
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="userName" column="user_name" />
@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, user_id, user_name, user_mobile, user_headimg, instrument_id, instrument_name, serial, binding_status, status, create_by, create_time, remark from wx_instrument_serial_log
</sql>
<select id="selectWxInstrumentSerialLogList" parameterType="WxInstrumentSerialLog" resultMap="WxInstrumentSerialLogResult">
<select id="selectWxInstrumentSerialLogList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerialLog" resultMap="WxInstrumentSerialLogResult">
<include refid="selectWxInstrumentSerialLogVo"/>
<where>
<if test="userId != null "> and user_id = #{userId}</if>
@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxInstrumentSerialLog" parameterType="WxInstrumentSerialLog" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentSerialLog" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerialLog" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_serial_log
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userId != null">user_id,</if>
@ -76,7 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentSerialLog" parameterType="WxInstrumentSerialLog">
<update id="updateWxInstrumentSerialLog" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerialLog">
update wx_instrument_serial_log
<trim prefix="SET" suffixOverrides=",">
<if test="userId != null">user_id = #{userId},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentSerialMapper">
<resultMap type="WxInstrumentSerial" id="WxInstrumentSerialResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentSerial" id="WxInstrumentSerialResult">
<result property="id" column="id" />
<result property="instrumentId" column="instrument_id" />
<result property="serial" column="serial" />
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, source,instrument_id, serial, binding_status, valid_status, status, create_by, create_time, remark from wx_instrument_serial
</sql>
<select id="selectWxInstrumentSerialList" parameterType="WxInstrumentSerial" resultMap="WxInstrumentSerialResult">
<select id="selectWxInstrumentSerialList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerial" resultMap="WxInstrumentSerialResult">
<include refid="selectWxInstrumentSerialVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by create_time desc
</select>
<select id="selectEntityListBySerial" parameterType="WxInstrumentSerial" resultMap="WxInstrumentSerialResult">
<select id="selectEntityListBySerial" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerial" resultMap="WxInstrumentSerialResult">
<include refid="selectWxInstrumentSerialVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</select>
<insert id="insertWxInstrumentSerial" parameterType="WxInstrumentSerial" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentSerial" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerial" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_serial
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="instrumentId != null">instrument_id,</if>
@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentSerial" parameterType="WxInstrumentSerial">
<update id="updateWxInstrumentSerial" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerial">
update wx_instrument_serial
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>
@ -110,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</update>
<update id="updateBySerial" parameterType="WxInstrumentSerial">
<update id="updateBySerial" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerial">
update wx_instrument_serial
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>
@ -126,7 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<update id="updateAll" parameterType="WxInstrumentSerial">
<update id="updateAll" parameterType="com.flossom.common.core.domain.entity.WxInstrumentSerial">
update wx_instrument_serial
<trim prefix="SET" suffixOverrides=",">
<if test="validStatus != null">valid_status = #{validStatus},</if>

@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInstrumentTagMapper">
<resultMap type="WxInstrumentTag" id="WxInstrumentTagResult">
<resultMap type="com.flossom.common.core.domain.entity.WxInstrumentTag" id="WxInstrumentTagResult">
<result property="id" column="id" />
<result property="instrumentId" column="instrument_id" />
<result property="tagId" column="tag_id" />
@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select id, instrument_id, tag_id, type, status, create_by, create_time from wx_instrument_tag
</sql>
<select id="selectWxInstrumentTagList" parameterType="WxInstrumentTag" resultMap="WxInstrumentTagResult">
<select id="selectWxInstrumentTagList" parameterType="com.flossom.common.core.domain.entity.WxInstrumentTag" resultMap="WxInstrumentTagResult">
<include refid="selectWxInstrumentTagVo"/>
<where>
<if test="instrumentId != null "> and instrument_id = #{instrumentId}</if>
@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
</select>
<insert id="insertWxInstrumentTag" parameterType="WxInstrumentTag" useGeneratedKeys="true" keyProperty="id">
<insert id="insertWxInstrumentTag" parameterType="com.flossom.common.core.domain.entity.WxInstrumentTag" useGeneratedKeys="true" keyProperty="id">
insert into wx_instrument_tag
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="instrumentId != null">instrument_id,</if>
@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
</insert>
<update id="updateWxInstrumentTag" parameterType="WxInstrumentTag">
<update id="updateWxInstrumentTag" parameterType="com.flossom.common.core.domain.entity.WxInstrumentTag">
update wx_instrument_tag
<trim prefix="SET" suffixOverrides=",">
<if test="instrumentId != null">instrument_id = #{instrumentId},</if>

@ -0,0 +1,104 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.flossom.common.core.mapper.WxInterfaceRequestLogMapper">
<resultMap type="com.flossom.common.core.domain.entity.WxInterfaceRequestLog" id="WxInterfaceRequestLogResult">
<result property="id" column="id" />
<result property="belonging" column="belonging" />
<result property="url" column="url" />
<result property="method" column="method" />
<result property="requestParams" column="request_params" />
<result property="requestBody" column="request_body" />
<result property="responseCode" column="response_code" />
<result property="times" column="times" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="responseData" column="response_data" />
<result property="errorMessage" column="error_message" />
</resultMap>
<sql id="selectWxInterfaceRequestLogVo">
select id, belonging, url, method, request_params, request_body, response_code, times, create_by, create_time, response_data, error_message from wx_interface_request_log
</sql>
<select id="selectWxInterfaceRequestLogList" parameterType="com.flossom.common.core.domain.entity.WxInterfaceRequestLog" resultMap="WxInterfaceRequestLogResult">
<include refid="selectWxInterfaceRequestLogVo"/>
<where>
<if test="belonging != null and belonging != ''"> and belonging = #{belonging}</if>
<if test="url != null and url != ''"> and url = #{url}</if>
<if test="method != null and method != ''"> and method = #{method}</if>
<if test="requestParams != null and requestParams != ''"> and request_params = #{requestParams}</if>
<if test="requestBody != null and requestBody != ''"> and request_body = #{requestBody}</if>
<if test="responseCode != null "> and response_code = #{responseCode}</if>
<if test="times != null and times != ''"> and times = #{times}</if>
<if test="responseData != null and responseData != ''"> and response_data = #{responseData}</if>
<if test="errorMessage != null and errorMessage != ''"> and error_message = #{errorMessage}</if>
</where>
</select>
<select id="selectWxInterfaceRequestLogById" parameterType="Long" resultMap="WxInterfaceRequestLogResult">
<include refid="selectWxInterfaceRequestLogVo"/>
where id = #{id}
</select>
<insert id="insertWxInterfaceRequestLog" parameterType="com.flossom.common.core.domain.entity.WxInterfaceRequestLog" useGeneratedKeys="true" keyProperty="id">
insert into wx_interface_request_log
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="belonging != null">belonging,</if>
<if test="url != null">url,</if>
<if test="method != null">method,</if>
<if test="requestParams != null">request_params,</if>
<if test="requestBody != null">request_body,</if>
<if test="responseCode != null">response_code,</if>
<if test="times != null">times,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="responseData != null">response_data,</if>
<if test="errorMessage != null">error_message,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="belonging != null">#{belonging},</if>
<if test="url != null">#{url},</if>
<if test="method != null">#{method},</if>
<if test="requestParams != null">#{requestParams},</if>
<if test="requestBody != null">#{requestBody},</if>
<if test="responseCode != null">#{responseCode},</if>
<if test="times != null">#{times},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="responseData != null">#{responseData},</if>
<if test="errorMessage != null">#{errorMessage},</if>
</trim>
</insert>
<update id="updateWxInterfaceRequestLog" parameterType="com.flossom.common.core.domain.entity.WxInterfaceRequestLog">
update wx_interface_request_log
<trim prefix="SET" suffixOverrides=",">
<if test="belonging != null">belonging = #{belonging},</if>
<if test="url != null">url = #{url},</if>
<if test="method != null">method = #{method},</if>
<if test="requestParams != null">request_params = #{requestParams},</if>
<if test="requestBody != null">request_body = #{requestBody},</if>
<if test="responseCode != null">response_code = #{responseCode},</if>
<if test="times != null">times = #{times},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="responseData != null">response_data = #{responseData},</if>
<if test="errorMessage != null">error_message = #{errorMessage},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteWxInterfaceRequestLogById" parameterType="Long">
delete from wx_interface_request_log where id = #{id}
</delete>
<delete id="deleteWxInterfaceRequestLogByIds" parameterType="String">
delete from wx_interface_request_log where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save