Commit 82003e48 authored by jiaorz's avatar jiaorz

fdsf

parent cf0656e5
......@@ -25,7 +25,6 @@ public class IntegralToolsUtils {
endDate.setTime(date2);
return endDate.getDate() - startDate.getDate();
}
//获取当天的0点
public static Long getDayStart() {
long current = System.currentTimeMillis();
......
......@@ -80,7 +80,7 @@ public class IntegralSignRecordBiz extends BaseBiz<IntegralSignRecordMapper, Int
mapper.updateByPrimaryKeySelective(integralSignRecord);
//添加积分记录
addPoint(objectRestResponse.getData(),integralSignRecord, appUserDTO, integralSignRecord.getSignDays());
} else if(day >1 ) {//断续签
} else if(day > 1 || day < 0) {//断续签,小于0代表跨年签到
//规则连续签到 断签需要重新签到
if(objectRestResponse.getData().getIsContinuity()) {
integralSignRecord.setIsdel(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment