记得上下班打卡 | 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
a8f5cb77
Commit
a8f5cb77
authored
Oct 18, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pre' into 'master'
Pre See merge request
!92
parents
14b3572a
586aa1cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
KylinTableStatusConst.java
...quidnet/service/kylin/constant/KylinTableStatusConst.java
+2
-0
PerformancesExpressServiceImpl.java
...ai/kylin/service/impl/PerformancesExpressServiceImpl.java
+6
-0
KylinOrderExpressMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderExpressMapper.xml
+5
-2
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/constant/KylinTableStatusConst.java
View file @
a8f5cb77
...
@@ -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 @
a8f5cb77
...
@@ -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
);
...
@@ -204,6 +207,9 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
...
@@ -204,6 +207,9 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
kylinOrderExpressPre
.
setExpressType
(
expressType
);
kylinOrderExpressPre
.
setExpressType
(
expressType
);
kylinOrderExpressPre
.
setCreatedAt
(
DateUtil
.
getNowTime
());
kylinOrderExpressPre
.
setCreatedAt
(
DateUtil
.
getNowTime
());
kylinOrderExpressPre
.
setPerformancesId
(
Relations
.
getPerformanceId
());
kylinOrderExpressPre
.
setPerformancesId
(
Relations
.
getPerformanceId
());
kylinOrderExpressPre
.
setExpressContacts
(
orderInfo
.
getExpressContacts
());
kylinOrderExpressPre
.
setExpressPhone
(
orderInfo
.
getExpressPhone
());
kylinOrderExpressPre
.
setSendExpressAddress
(
orderInfo
.
getExpressAddress
());
kylinOrderExpressMapper
.
insert
(
kylinOrderExpressPre
);
kylinOrderExpressMapper
.
insert
(
kylinOrderExpressPre
);
// 请求下单数据
// 请求下单数据
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderExpressMapper.xml
View file @
a8f5cb77
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,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.order_express_id IN
a.send_type = 1
AND a.order_express_id IN
<foreach
collection=
"ids"
item=
"orderExpressId"
index=
"index"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"ids"
item=
"orderExpressId"
index=
"index"
open=
"("
close=
")"
separator=
","
>
${orderExpressId}
${orderExpressId}
</foreach>
</foreach>
...
@@ -32,7 +33,8 @@
...
@@ -32,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}
...
@@ -46,6 +48,7 @@
...
@@ -46,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