记得上下班打卡 | 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
9533a3c8
Commit
9533a3c8
authored
Jan 12, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 参加的商铺列表
parent
7d8a9318
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
GoblinZhengzaiStoreListVo.java
...dnet/service/goblin/dto/vo/GoblinZhengzaiStoreListVo.java
+2
-2
GoblinZhengzaiMarketServiceImpl.java
.../goblin/service/impl/GoblinZhengzaiMarketServiceImpl.java
+1
-0
GoblinZhengzaiStoreListDto.java
...uidnet/service/goblin/dto/GoblinZhengzaiStoreListDto.java
+2
-2
GoblinSelfMarketingMapper.xml
...idnet.service.goblin.mapper/GoblinSelfMarketingMapper.xml
+8
-9
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinZhengzaiStoreListVo.java
View file @
9533a3c8
...
...
@@ -12,9 +12,9 @@ public class GoblinZhengzaiStoreListVo implements Cloneable {
@ApiModelProperty
(
value
=
"商铺名称"
)
String
storeName
;
@ApiModelProperty
(
value
=
"商铺商品数量"
)
String
spuCount
;
Integer
spuCount
;
@ApiModelProperty
(
value
=
"商铺款式数量"
)
String
skuCount
;
Integer
skuCount
;
private
static
final
GoblinZhengzaiStoreListVo
obj
=
new
GoblinZhengzaiStoreListVo
();
public
static
GoblinZhengzaiStoreListVo
getNew
()
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/goblin/service/impl/GoblinZhengzaiMarketServiceImpl.java
View file @
9533a3c8
...
...
@@ -182,6 +182,7 @@ public class GoblinZhengzaiMarketServiceImpl implements IGoblinZhengzaiMarketSer
vo
.
setStoreName
(
item
.
getStoreName
());
vo
.
setSpuCount
(
item
.
getSpuCount
());
vo
.
setSkuCount
(
item
.
getSkuCount
());
voList
.
add
(
vo
);
}
return
ResponseDto
.
success
(
voList
);
}
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/dto/GoblinZhengzaiStoreListDto.java
View file @
9533a3c8
...
...
@@ -6,6 +6,6 @@ import lombok.Data;
public
class
GoblinZhengzaiStoreListDto
{
String
storeId
;
String
storeName
;
String
spuCount
;
String
skuCount
;
Integer
spuCount
;
Integer
skuCount
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/resources/com.liquidnet.service.goblin.mapper/GoblinSelfMarketingMapper.xml
View file @
9533a3c8
...
...
@@ -9,7 +9,8 @@
<result
column=
"sku_count"
property=
"skuCount"
/>
</resultMap>
<resultMap
id=
"goblinZhengzaiStoreDetailsDtoResult"
type=
"com.liquidnet.service.goblin.dto.GoblinZhengzaiStoreDetailsDto"
>
<resultMap
id=
"goblinZhengzaiStoreDetailsDtoResult"
type=
"com.liquidnet.service.goblin.dto.GoblinZhengzaiStoreDetailsDto"
>
<result
column=
"sku_id"
property=
"skuId"
/>
<result
column=
"spec_name"
property=
"specName"
/>
<result
column=
"spec_vname"
property=
"specVname"
/>
...
...
@@ -24,14 +25,12 @@
<select
id=
"getZhengzaiStoreList"
resultMap=
"goblinZhengzaiStoreListDtoResult"
>
select gsz.store_id, a.store_name, sum(gsz.spu_id), sum(sku_id)
from goblin_marketing_zhengzai as gsz
inner join (select gsi.store_name, gsi.store_id
from goblin_marketing_zhengzai_relation as gmzr
left join goblin_store_info as gsi on gmzr.store_id = gsi.store_id
where del_tag = 0) as a on gsz.store_id = a.store_id
where gsz.self_market_id = #{marketId}
group by gsz.store_id
select b.store_id,c.store_name,IFNull(count(d.spu_id),0) as 'spu_count',IFNull(count(d.sku_id),0) as 'sku_count' from goblin_self_marketing as a
inner join goblin_marketing_zhengzai_relation as b on a.self_market_id = b.self_market_id
inner join goblin_store_info as c on c.store_id= b.store_id
left join goblin_marketing_zhengzai as d on d.self_market_id = b.self_market_id
where a.self_market_id = #{marketId}
GROUP BY b.store_id
</select>
<select
id=
"getZhengzaiStoreDetails"
resultMap=
"goblinZhengzaiStoreDetailsDtoResult"
>
...
...
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