记得上下班打卡 | 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
9216aa91
Commit
9216aa91
authored
Feb 28, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无权查看 错误 20003提交
parent
1053ad7e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
GoblinOrderAppServiceImpl.java
...ervice/goblin/service/impl/GoblinOrderAppServiceImpl.java
+2
-1
GoblinOrderServiceImpl.java
...t/service/goblin/service/impl/GoblinOrderServiceImpl.java
+1
-1
errors.properties
...-service-goblin-impl/src/main/resources/errors.properties
+1
-0
KylinOrderTicketsRefundServiceImpl.java
...ylin/service/impl/KylinOrderTicketsRefundServiceImpl.java
+1
-1
KylinOrderTicketsServiceImpl.java
...vice/kylin/service/impl/KylinOrderTicketsServiceImpl.java
+3
-3
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinOrderAppServiceImpl.java
View file @
9216aa91
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
import
com.google.common.base.Joiner
;
import
com.google.common.base.Joiner
;
import
com.liquidnet.commons.lang.util.*
;
import
com.liquidnet.commons.lang.util.*
;
import
com.liquidnet.service.base.ErrorMapping
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.SqlMapping
;
import
com.liquidnet.service.base.SqlMapping
;
import
com.liquidnet.service.base.constant.MQConst
;
import
com.liquidnet.service.base.constant.MQConst
;
...
@@ -107,7 +108,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
...
@@ -107,7 +108,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
public
ResponseDto
<
GoblinAppOrderDetailsVo
>
orderDetails
(
String
orderId
,
String
uid
)
{
public
ResponseDto
<
GoblinAppOrderDetailsVo
>
orderDetails
(
String
orderId
,
String
uid
)
{
GoblinStoreOrderVo
orderVo
=
redisUtils
.
getGoblinOrder
(
orderId
);
GoblinStoreOrderVo
orderVo
=
redisUtils
.
getGoblinOrder
(
orderId
);
if
(!
orderVo
.
getUserId
().
equals
(
uid
)
&&
uid
!=
null
)
{
if
(!
orderVo
.
getUserId
().
equals
(
uid
)
&&
uid
!=
null
)
{
return
ResponseDto
.
failure
(
"无权查看"
);
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20003"
)
);
}
}
GoblinAppOrderDetailsVo
vo
=
GoblinAppOrderDetailsVo
.
getNew
();
GoblinAppOrderDetailsVo
vo
=
GoblinAppOrderDetailsVo
.
getNew
();
List
<
GoblinOrderSkuVo
>
skuVos
=
ObjectUtil
.
getGoblinOrderSkuVoArrayList
();
List
<
GoblinOrderSkuVo
>
skuVos
=
ObjectUtil
.
getGoblinOrderSkuVoArrayList
();
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinOrderServiceImpl.java
View file @
9216aa91
...
@@ -561,7 +561,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
...
@@ -561,7 +561,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
//检查订单时间 是否关闭
//检查订单时间 是否关闭
GoblinStoreOrderVo
storeOrderVo
=
redisUtils
.
getGoblinOrder
(
param
.
getOrderId
());
GoblinStoreOrderVo
storeOrderVo
=
redisUtils
.
getGoblinOrder
(
param
.
getOrderId
());
if
(!
storeOrderVo
.
getUserId
().
equals
(
uid
))
{
if
(!
storeOrderVo
.
getUserId
().
equals
(
uid
))
{
return
ResponseDto
.
failure
(
"无权查看"
);
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20003"
)
);
}
}
if
(
storeOrderVo
==
null
)
{
if
(
storeOrderVo
==
null
)
{
return
ResponseDto
.
failure
(
"订单不存在"
);
return
ResponseDto
.
failure
(
"订单不存在"
);
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/resources/errors.properties
View file @
9216aa91
...
@@ -42,4 +42,5 @@
...
@@ -42,4 +42,5 @@
148001
=
库存不足
148001
=
库存不足
20003
=
无权查看
20018
=
下单失败
20018
=
下单失败
\ No newline at end of file
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsRefundServiceImpl.java
View file @
9216aa91
...
@@ -177,7 +177,7 @@ public class KylinOrderTicketsRefundServiceImpl {
...
@@ -177,7 +177,7 @@ public class KylinOrderTicketsRefundServiceImpl {
if
(
uid
.
equals
(
"809406"
)
||
uid
.
equals
(
"773650"
))
{
if
(
uid
.
equals
(
"809406"
)
||
uid
.
equals
(
"773650"
))
{
}
else
{
}
else
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
return
ResponseDto
.
failure
(
"无权查看"
);
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20003"
)
);
}
}
}
}
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsServiceImpl.java
View file @
9216aa91
...
@@ -471,7 +471,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -471,7 +471,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
if
(
null
!=
orderTicketVo
)
{
if
(
null
!=
orderTicketVo
)
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
return
ResponseDto
.
success
(
"无权查看"
);
return
ResponseDto
.
success
(
ErrorMapping
.
get
(
"20003"
)
);
}
}
if
(!
orderTicketVo
.
getTransferStatus
().
equals
(
0
))
{
if
(!
orderTicketVo
.
getTransferStatus
().
equals
(
0
))
{
return
ResponseDto
.
failure
(
"已转票一次,无法再次转票"
);
return
ResponseDto
.
failure
(
"已转票一次,无法再次转票"
);
...
@@ -562,7 +562,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -562,7 +562,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
if
(
null
!=
orderTicketVo
)
{
if
(
null
!=
orderTicketVo
)
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
return
ResponseDto
.
success
(
"无权查看"
);
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20003"
)
);
}
}
if
(!
orderTicketVo
.
getTransferStatus
().
equals
(
1
))
{
if
(!
orderTicketVo
.
getTransferStatus
().
equals
(
1
))
{
return
ResponseDto
.
failure
(
"无法撤回"
);
return
ResponseDto
.
failure
(
"无法撤回"
);
...
@@ -881,7 +881,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -881,7 +881,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
if
(
null
!=
orderTicketVo
)
{
if
(
null
!=
orderTicketVo
)
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
if
(!
orderTicketVo
.
getUserId
().
equals
(
uid
))
{
return
ResponseDto
.
success
(
"无权查看"
);
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20003"
)
);
}
}
if
(!
orderTicketVo
.
getTransferStatus
().
equals
(
4
))
{
if
(!
orderTicketVo
.
getTransferStatus
().
equals
(
4
))
{
return
ResponseDto
.
failure
(
"无法拒收"
);
return
ResponseDto
.
failure
(
"无法拒收"
);
...
...
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