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

Commit 06cd00e8 authored by wanglele's avatar wanglele

批量空投

parent 101f6080
...@@ -82,7 +82,9 @@ ...@@ -82,7 +82,9 @@
select select
DISTINCT 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 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 and gnes.activity_id = gnec.activity_id from goblin_nft_ex_code gnec inner join goblin_nft_ex_sku gnes on gnec.sku_id = gnes.sku_id and gnes.activity_id
= gnec.activity_id
<where>
<if test="code != null and code != ''"> <if test="code != null and code != ''">
and gnec.code = #{code,jdbcType=VARCHAR} and gnec.code = #{code,jdbcType=VARCHAR}
</if> </if>
...@@ -123,6 +125,8 @@ ...@@ -123,6 +125,8 @@
</when> </when>
</choose> </choose>
</if> </if>
</where>
</select> </select>
<select id="selectCodeAvailableByActivityId" resultMap="BeseResult"> <select id="selectCodeAvailableByActivityId" resultMap="BeseResult">
...@@ -148,6 +152,7 @@ ...@@ -148,6 +152,7 @@
from goblin_nft_ex_code gnec inner join goblin_nft_ex_sku gnes from goblin_nft_ex_code gnec inner join goblin_nft_ex_sku gnes
on on
gnec.sku_id = gnes.sku_id and gnes.activity_id = gnec.activity_id gnec.sku_id = gnes.sku_id and gnes.activity_id = gnec.activity_id
<where>
<if test="code != null and code != ''"> <if test="code != null and code != ''">
and gnec.code = #{code,jdbcType=VARCHAR} and gnec.code = #{code,jdbcType=VARCHAR}
</if> </if>
...@@ -188,6 +193,8 @@ ...@@ -188,6 +193,8 @@
</when> </when>
</choose> </choose>
</if> </if>
</where>
</select> </select>
<select id="selectByActivityIds" resultMap="BeseResult"> <select id="selectByActivityIds" resultMap="BeseResult">
......
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