Browse Source

活动扫码签到接口 bug修改

feature/syp_points
liuchuang 5 years ago
parent
commit
4e9cda5d1c
  1. 5
      esua-epdc/epdc-module/epdc-heart/epdc-heart-client/src/main/java/com/elink/esua/epdc/activity/result/ActSignInListResultDTO.java
  2. 3
      esua-epdc/epdc-module/epdc-heart/epdc-heart-client/src/main/java/com/elink/esua/epdc/activity/result/ActSignInRecordsDTO.java
  3. 7
      esua-epdc/epdc-module/epdc-heart/epdc-heart-client/src/main/java/com/elink/esua/epdc/activity/result/ActSignInScanQrCodeResultDTO.java
  4. 6
      esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActUserPointsLogDao.xml

5
esua-epdc/epdc-module/epdc-heart/epdc-heart-client/src/main/java/com/elink/esua/epdc/activity/result/ActSignInListResultDTO.java

@ -3,6 +3,7 @@ package com.elink.esua.epdc.activity.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 活动信息
@ -30,10 +31,10 @@ public class ActSignInListResultDTO implements Serializable {
/**
* 打卡开始时间
*/
private String signinStartTime;
private Date signinStartTime;
/**
* 打卡截止时间
*/
private String signinEndTime;
private Date signinEndTime;
}

3
esua-epdc/epdc-module/epdc-heart/epdc-heart-client/src/main/java/com/elink/esua/epdc/activity/result/ActSignInRecordsDTO.java

@ -3,6 +3,7 @@ package com.elink.esua.epdc.activity.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 签到记录-result
@ -25,7 +26,7 @@ public class ActSignInRecordsDTO implements Serializable {
/**
* 签到时间
*/
private String createdTime;
private Date createdTime;
/**
* 操作积分类型 0-减积分1-加积分

7
esua-epdc/epdc-module/epdc-heart/epdc-heart-client/src/main/java/com/elink/esua/epdc/activity/result/ActSignInScanQrCodeResultDTO.java

@ -3,6 +3,7 @@ package com.elink.esua.epdc.activity.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 活动扫签到码-result
@ -30,17 +31,17 @@ public class ActSignInScanQrCodeResultDTO implements Serializable {
/**
* 打卡开始时间
*/
private String signinStartTime;
private Date signinStartTime;
/**
* 打卡截止时间
*/
private String signinEndTime;
private Date signinEndTime;
/**
* 签到奖励积分
*/
private String reward;
private Integer reward;
/**
* 签到状态0-未签到1-已签到

6
esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActUserPointsLogDao.xml

@ -33,10 +33,10 @@
WHERE
t.DEL_FLAG = '0'
AND t.OPERATION_TYPE = '9'
AND r.ACT_ID = #{formDto.actId}
AND r.ACT_ID = #{actId}
ORDER BY
t.CREATED_TIME DESC
LIMIT #{formDto.pageIndex}, #{formDto.pageSize}
LIMIT #{pageIndex}, #{pageSize}
</select>
<select id="selectCountOfSignInRecords" resultType="integer">
@ -49,7 +49,7 @@
WHERE
t.DEL_FLAG = '0'
AND t.OPERATION_TYPE = '9'
AND r.ACT_ID = #{formDto.actId}
AND r.ACT_ID = #{actId}
</select>
<select id="selectCountOfUserSignInRecords" resultType="integer">

Loading…
Cancel
Save