记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
f8f575ef
Commit
f8f575ef
authored
Jun 02, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delay完善 sql
parent
082e57ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GoblinNftExSkuMapper.xml
....liquidnet.service.goblin.mapper/GoblinNftExSkuMapper.xml
+3
-3
No files found.
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinNftExSkuMapper.xml
View file @
f8f575ef
...
@@ -25,11 +25,11 @@
...
@@ -25,11 +25,11 @@
<select
id=
"selectExCodeNum"
resultType=
"com.liquidnet.service.goblin.dto.GoblinNftExCodeNumDto"
>
<select
id=
"selectExCodeNum"
resultType=
"com.liquidnet.service.goblin.dto.GoblinNftExCodeNumDto"
>
select gnes.activity_id, gnes.store_id, gnes.spu_id, gnes.sku_id, gnes.unbox, gnes.ex_start_time, gnes.ex_stop_time, count(*) as num, gnec.box_sku_id
select gnes.activity_id, gnes.store_id, gnes.spu_id, gnes.sku_id, gnes.unbox, gnes.ex_start_time, gnes.ex_stop_time, count(*) as num, gnec.box_sku_id
from goblin_nft_ex_sku as gnes
from goblin_nft_ex_sku as gnes
left join goblin_nft_ex_code as gnec on gnes.activity_id = gnec.activity_id and gnes.
activity
_id =
left join goblin_nft_ex_code as gnec on gnes.activity_id = gnec.activity_id and gnes.
sku
_id =
gnec.
activity
_id
gnec.
sku
_id
<where>
<where>
gnes.activity_id = #{oldActivityId}
gnes.activity_id = #{oldActivityId}
and
gnec.state = 3 or (gnec.state = 1 or gnes.ex_stop_time
<![CDATA[<]]>
NOW(
))
and
(gnec.state = 3 or (gnec.state = 1 and gnes.ex_stop_time
<![CDATA[<]]>
NOW()
))
<if
test=
"unbox != '' "
>
<if
test=
"unbox != '' "
>
and gnes.unbox = #{unbox}
and gnes.unbox = #{unbox}
</if>
</if>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment