diff --git a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxClockLog.java b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxClockLog.java index 1314f24..53a81b6 100644 --- a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxClockLog.java +++ b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxClockLog.java @@ -5,6 +5,8 @@ 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.List; + /** * 用户打卡对象 wx_clock_log * @@ -52,6 +54,8 @@ public class WxClockLog extends BaseEntity { // 微信用户实体 private WxUserMember wxUserMember; + private List wxClockImgList; + public void setId(Long id) { this.id = id; } @@ -108,6 +112,14 @@ public class WxClockLog extends BaseEntity { this.wxUserMember = wxUserMember; } + public List getWxClockImgList() { + return wxClockImgList; + } + + public void setWxClockImgList(List wxClockImgList) { + this.wxClockImgList = wxClockImgList; + } + @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) diff --git a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/mapper/WxClockLogMapper.java b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/mapper/WxClockLogMapper.java index 102bad8..fde3ef9 100644 --- a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/mapper/WxClockLogMapper.java +++ b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/mapper/WxClockLogMapper.java @@ -67,4 +67,6 @@ public interface WxClockLogMapper { List selectWxClockImgRetList(WxClockLog queryClockLog); List selectMemberClockLogList(UserClockLogReq userClockLogReq); + + List detail(UserClockLogReq userClockLogReq); } diff --git a/flossom-common/flossom-common-core/src/main/resources/mapper/WxClockLogMapper.xml b/flossom-common/flossom-common-core/src/main/resources/mapper/WxClockLogMapper.xml index 4f3a7ac..e00466d 100644 --- a/flossom-common/flossom-common-core/src/main/resources/mapper/WxClockLogMapper.xml +++ b/flossom-common/flossom-common-core/src/main/resources/mapper/WxClockLogMapper.xml @@ -36,6 +36,24 @@ 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 @@ -65,6 +83,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" order by create_time desc + +