记得上下班打卡 | 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
c4fac190
Commit
c4fac190
authored
Jan 17, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 资金接口
parent
9961ef97
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
GoblinOrderLogVo.java
...com/liquidnet/service/goblin/dto/vo/GoblinOrderLogVo.java
+1
-1
GoblinStoreMoneyServiceImpl.java
...blin/service/impl/manage/GoblinStoreMoneyServiceImpl.java
+6
-6
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinOrderLogVo.java
View file @
c4fac190
...
...
@@ -18,7 +18,7 @@ public class GoblinOrderLogVo implements Cloneable {
private
String
orderCode
;
@ApiModelProperty
(
value
=
"支付单号"
)
private
String
payCode
;
@ApiModelProperty
(
value
=
"订单类型"
)
@ApiModelProperty
(
value
=
"订单类型
[order-普通订单|zhengzai-正在下单]
"
)
private
String
orderType
;
@ApiModelProperty
(
value
=
" 商铺id"
)
private
String
storeId
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinStoreMoneyServiceImpl.java
View file @
c4fac190
...
...
@@ -30,18 +30,18 @@ public class GoblinStoreMoneyServiceImpl implements IGoblinStoreMoneyService {
if
(
vo
==
null
)
{
return
ResponseDto
.
failure
(
"店铺不存在"
);
}
BigDecimal
price
=
mongoUtils
.
storeMoney
(
"1"
);
BigDecimal
price
=
mongoUtils
.
storeMoney
(
vo
.
getStoreId
()
);
return
ResponseDto
.
success
(
price
);
}
@Override
public
ResponseDto
<
PageInfo
<
GoblinOrderLogVo
>>
getSpuList
(
String
spuName
,
String
st
,
String
et
,
int
page
)
{
String
uid
=
CurrentUtil
.
getCurrentUid
();
//
GoblinStoreInfoVo vo = redisUtils.getStoreInfoVoByUid(uid);
//
if (vo == null) {
//
return ResponseDto.failure("店铺不存在");
//
}
HashMap
<
String
,
Object
>
map
=
mongoUtils
.
moneyGetSpuList
(
spuName
,
st
,
et
,
"2"
,
page
);
GoblinStoreInfoVo
vo
=
redisUtils
.
getStoreInfoVoByUid
(
uid
);
if
(
vo
==
null
)
{
return
ResponseDto
.
failure
(
"店铺不存在"
);
}
HashMap
<
String
,
Object
>
map
=
mongoUtils
.
moneyGetSpuList
(
spuName
,
st
,
et
,
vo
.
getStoreId
()
,
page
);
PageInfo
<
GoblinOrderLogVo
>
info
=
new
PageInfo
((
List
<
GoblinOrderLogVo
>)
map
.
get
(
"data"
));
info
.
setTotal
((
Long
)
map
.
get
(
"total"
));
return
ResponseDto
.
success
(
info
);
...
...
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