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

Commit 38e514d9 authored by wanglele's avatar wanglele

批量空投

parent 22c16452
......@@ -80,7 +80,8 @@
<select id="selectGoblinNftCode" parameterType="com.liquidnet.service.goblin.entity.GoblinNftExCode"
resultMap="BeseResult">
select
DISTINCT gnec.code,gnec.code_id,gnec.sku_id,gnec.box_sku_id,gnec.activity_id,gnec.state,gnec.redeem_uid,gnec.redeem_at,gnec.admin_uid,gnec.created_at
DISTINCT
gnec.code,gnec.code_id,gnec.sku_id,gnec.box_sku_id,gnec.activity_id,gnec.state,gnec.redeem_uid,gnec.redeem_at,gnec.admin_uid,gnec.created_at
from goblin_nft_ex_code gnec inner join goblin_nft_ex_sku gnes on gnec.sku_id = gnes.sku_id
<if test="code != null and code != ''">
and gnec.code = #{code,jdbcType=VARCHAR}
......
package com.liquidnet.service;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
......@@ -13,6 +14,7 @@ import java.util.Arrays;
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.liquidnet"})
@MapperScan(basePackages = "com.liquidnet.service.*.mapper")
public class ServiceConsumerKylinApplication implements CommandLineRunner {
@Autowired
private Environment environment;
......
......@@ -59,6 +59,7 @@ public class ConsumerGoblinPhoneCodeReceiver extends AbstractBizRedisReceiver{
}
goblinNftExCodeMapper.updateCodeAdminUids(codes.toString(),adminUid);
}catch (Exception e){
e.printStackTrace();
log.error("发送空投失败!");
}
return bol;
......
......@@ -402,7 +402,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
// 页条数
int pageSize = 2;
int pageSize = 1;
ArrayList<String> userIdList = CollectionUtil.arrayListString();
StringBuffer userIds = new StringBuffer();
int i = 1;
......
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