记得上下班打卡 | git大法好,push需谨慎

Commit 9634d292 authored by wanglele's avatar wanglele

兑换码导出修改

parent fd21a293
......@@ -335,7 +335,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
if (StringUtil.isNotBlank(gnc.getBoxSkuId()) && gnc.getSkuId().equals(goblinNftExSku.getSkuId())) {
gnc.setExStartTime(goblinNftExSku.getExStartTime());
gnc.setExStopTime(goblinNftExSku.getExStopTime());
if (now.isAfter(goblinNftExSku.getExStopTime())) {
if (now.isAfter(goblinNftExSku.getExStopTime()) && !gnc.getState().equals(2)) {
gnc.setState(3);
}
break;
......@@ -343,7 +343,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
if (gnc.getSkuId().equals(goblinNftExSku.getSkuId())) {
gnc.setExStartTime(goblinNftExSku.getExStartTime());
gnc.setExStopTime(goblinNftExSku.getExStopTime());
if (now.isAfter(goblinNftExSku.getExStopTime())) {
if (now.isAfter(goblinNftExSku.getExStopTime()) && !gnc.getState().equals(2)) {
gnc.setState(3);
}
break;
......@@ -401,7 +401,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
}
phonestr.append(data.getPhone()).append(",");
phoneList.add(data.getPhone());
if(phoneList.size()>100){
if (phoneList.size() > 100) {
break;
}
}
......@@ -412,7 +412,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
return ResponseDto.failure("解析文件失败!");
}
if(phoneList.size()>=100){
if (phoneList.size() >= 100) {
return ResponseDto.failure("批量空投暂时数量不能大于100");
}
......
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