记得上下班打卡 | 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
cb31c53c
Commit
cb31c53c
authored
Oct 18, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快递 send_type
parent
5056eed3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
KylinTableStatusConst.java
...quidnet/service/kylin/constant/KylinTableStatusConst.java
+2
-0
PerformancesExpressServiceImpl.java
...ai/kylin/service/impl/PerformancesExpressServiceImpl.java
+3
-0
KylinOrderExpressMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderExpressMapper.xml
+3
-1
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/constant/KylinTableStatusConst.java
View file @
cb31c53c
...
@@ -83,4 +83,6 @@ public class KylinTableStatusConst {
...
@@ -83,4 +83,6 @@ public class KylinTableStatusConst {
public
static
final
Integer
ORDER_EXPRESS_STATUS3
=
3
;
// 取消
public
static
final
Integer
ORDER_EXPRESS_STATUS3
=
3
;
// 取消
public
static
final
Integer
ORDER_EXPRESS_STATUS80
=
80
;
// 签收
public
static
final
Integer
ORDER_EXPRESS_STATUS80
=
80
;
// 签收
public
static
final
Integer
ORDER_EXPRESS_STATUS8000
=
8000
;
// 签收结单
public
static
final
Integer
ORDER_EXPRESS_STATUS8000
=
8000
;
// 签收结单
public
static
final
Integer
ORDER_EXPRESS_SEND_TYPE1
=
1
;
// 发货
public
static
final
Integer
ORDER_EXPRESS_SEND_TYPE2
=
2
;
// 退款
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/PerformancesExpressServiceImpl.java
View file @
cb31c53c
...
@@ -128,6 +128,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
...
@@ -128,6 +128,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
Wrappers
.
lambdaQuery
(
KylinOrderExpress
.
class
)
Wrappers
.
lambdaQuery
(
KylinOrderExpress
.
class
)
.
ne
(
KylinOrderExpress:
:
getExpressStatus
,
1
).
ne
(
KylinOrderExpress:
:
getExpressStatus
,
3
)
.
ne
(
KylinOrderExpress:
:
getExpressStatus
,
1
).
ne
(
KylinOrderExpress:
:
getExpressStatus
,
3
)
.
eq
(
KylinOrderExpress:
:
getPerformancesId
,
info
.
getPerformancesId
())
.
eq
(
KylinOrderExpress:
:
getPerformancesId
,
info
.
getPerformancesId
())
.
eq
(
KylinOrderExpress:
:
getSendType
,
KylinTableStatusConst
.
ORDER_EXPRESS_SEND_TYPE1
)
);
);
// 运输中
// 运输中
Integer
total2
=
kylinOrderExpressMapper
.
selectCount
(
Integer
total2
=
kylinOrderExpressMapper
.
selectCount
(
...
@@ -135,12 +136,14 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
...
@@ -135,12 +136,14 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
.
ne
(
KylinOrderExpress:
:
getExpressStatus
,
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS80
)
.
ne
(
KylinOrderExpress:
:
getExpressStatus
,
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS80
)
.
ne
(
KylinOrderExpress:
:
getExpressStatus
,
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS8000
)
.
ne
(
KylinOrderExpress:
:
getExpressStatus
,
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS8000
)
.
eq
(
KylinOrderExpress:
:
getPerformancesId
,
info
.
getPerformancesId
())
.
eq
(
KylinOrderExpress:
:
getPerformancesId
,
info
.
getPerformancesId
())
.
eq
(
KylinOrderExpress:
:
getSendType
,
KylinTableStatusConst
.
ORDER_EXPRESS_SEND_TYPE1
)
);
);
// 已签收
// 已签收
Integer
[]
statusList
=
new
Integer
[]{
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS80
,
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS8000
};
Integer
[]
statusList
=
new
Integer
[]{
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS80
,
KylinTableStatusConst
.
ORDER_EXPRESS_STATUS8000
};
Integer
total3
=
kylinOrderExpressMapper
.
selectCount
(
Integer
total3
=
kylinOrderExpressMapper
.
selectCount
(
Wrappers
.
lambdaQuery
(
KylinOrderExpress
.
class
).
in
(
KylinOrderExpress:
:
getExpressStatus
,
statusList
)
Wrappers
.
lambdaQuery
(
KylinOrderExpress
.
class
).
in
(
KylinOrderExpress:
:
getExpressStatus
,
statusList
)
.
eq
(
KylinOrderExpress:
:
getPerformancesId
,
info
.
getPerformancesId
())
.
eq
(
KylinOrderExpress:
:
getPerformancesId
,
info
.
getPerformancesId
())
.
eq
(
KylinOrderExpress:
:
getSendType
,
KylinTableStatusConst
.
ORDER_EXPRESS_SEND_TYPE1
)
);
);
info
.
setTotal1
(
total1
);
info
.
setTotal1
(
total1
);
info
.
setTotal2
(
total2
);
info
.
setTotal2
(
total2
);
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderExpressMapper.xml
View file @
cb31c53c
...
@@ -33,7 +33,8 @@
...
@@ -33,7 +33,8 @@
LEFT JOIN kylin_ticket_times d ON c.time_id = d.ticket_times_id
LEFT JOIN kylin_ticket_times d ON c.time_id = d.ticket_times_id
LEFT JOIN kylin_tickets e ON c.ticket_id = e.tickets_id
LEFT JOIN kylin_tickets e ON c.ticket_id = e.tickets_id
<where>
<where>
a.express_status = 2
a.send_type = 1
AND a.express_status = 2
AND a.performances_id = #{performanceId}
AND a.performances_id = #{performanceId}
<if
test=
"ticketId != ''"
>
AND e.tickets_id = #{ticketId}
</if>
<if
test=
"ticketId != ''"
>
AND e.tickets_id = #{ticketId}
</if>
AND a.mid > ${mid}
AND a.mid > ${mid}
...
@@ -47,6 +48,7 @@
...
@@ -47,6 +48,7 @@
FROM kylin_order_express
FROM kylin_order_express
<where>
<where>
performances_id = #{performanceId}
performances_id = #{performanceId}
AND send_type = 1
AND express_status = 2 -- 只能取消申请成功的 揽收以后不支持取消
AND express_status = 2 -- 只能取消申请成功的 揽收以后不支持取消
AND mid > ${mid}
AND mid > ${mid}
</where>
</where>
...
...
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