记得上下班打卡 | 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
12e29325
Commit
12e29325
authored
Jun 28, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快递
parent
4fd12842
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
14 deletions
+17
-14
performanceOrderList.html
...ngzai/kylin/performancesExpress/performanceOrderList.html
+4
-1
PerformancesExpressServiceImpl.java
...ai/kylin/service/impl/PerformancesExpressServiceImpl.java
+13
-13
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performancesExpress/performanceOrderList.html
View file @
12e29325
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
var
placeOrderFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:placeOrder'
)}]];
var
placeOrderFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:placeOrder'
)}]];
var
cancelOrderFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:cancelOrder'
)}]];
var
cancelOrderFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:cancelOrder'
)}]];
var
getResultFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:getResult'
)}]];
var
getResultFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:getResult'
)}]];
var
getFreightFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:getFreight'
)}]];
var
getListFreightFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:getListFreight'
)}]];
var
getListFreightFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:getListFreight'
)}]];
var
listOrderRouteFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:listOrderRoute'
)}]];
var
listOrderRouteFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performancesExpress:listOrderRoute'
)}]];
...
@@ -84,8 +85,9 @@
...
@@ -84,8 +85,9 @@
modalName
:
"演出订单"
,
modalName
:
"演出订单"
,
placeOrderUrl
:
prefix
+
"/placeOrder"
,
placeOrderUrl
:
prefix
+
"/placeOrder"
,
cancelOrderUrl
:
prefix
+
"/cancelOrder"
,
cancelOrderUrl
:
prefix
+
"/cancelOrder"
,
get
ResultUrl
:
prefix
+
"/getResul
t"
,
get
FreightUrl
:
prefix
+
"/getFreigh
t"
,
getListFreightUrl
:
prefix
+
"/getListFreight"
,
getListFreightUrl
:
prefix
+
"/getListFreight"
,
getResultUrl
:
prefix
+
"/getResult"
,
listOrderRouteUrl
:
prefix
+
"/listOrderRoute"
,
listOrderRouteUrl
:
prefix
+
"/listOrderRoute"
,
columns
:
[{
columns
:
[{
checkbox
:
true
checkbox
:
true
...
@@ -146,6 +148,7 @@
...
@@ -146,6 +148,7 @@
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
placeOrderFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定下单吗?
\'
, table.options.placeOrderUrl)"></i>下单</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
placeOrderFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定下单吗?
\'
, table.options.placeOrderUrl)"></i>下单</a> '
);
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
cancelOrderFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定取消快递单吗?
\'
, table.options.cancelOrderUrl)"></i>取消</a> '
);
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
cancelOrderFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定取消快递单吗?
\'
, table.options.cancelOrderUrl)"></i>取消</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
getResultFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取快递信息吗?
\'
, table.options.getResultUrl)"></i>主动获取下单信息</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
getResultFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取快递信息吗?
\'
, table.options.getResultUrl)"></i>主动获取下单信息</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
getFreightFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取估算运费吗?
\'
, table.options.getFreightUrl)"></i>运费估算</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
getListFreightFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取运费信息吗?
\'
, table.options.getListFreightUrl)"></i>主动获取运费</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
getListFreightFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取运费信息吗?
\'
, table.options.getListFreightUrl)"></i>主动获取运费</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
listOrderRouteFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取路由信息吗?
\'
, table.options.listOrderRouteUrl)"></i>路由主动查询</a> '
);
actions
.
push
(
'<a class="btn btn-default btn-xs '
+
listOrderRouteFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
orderTicketsId
+
'
\'
,
\'
确定获取路由信息吗?
\'
, table.options.listOrderRouteUrl)"></i>路由主动查询</a> '
);
return
actions
.
join
(
''
);
return
actions
.
join
(
''
);
...
...
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 @
12e29325
...
@@ -3,8 +3,6 @@ package com.liquidnet.client.admin.zhengzai.kylin.service.impl;
...
@@ -3,8 +3,6 @@ package com.liquidnet.client.admin.zhengzai.kylin.service.impl;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.fasterxml.jackson.databind.JsonNode
;
import
com.liquidnet.client.admin.common.json.JSONObject
;
import
com.liquidnet.client.admin.common.utils.StringUtils
;
import
com.liquidnet.client.admin.common.utils.StringUtils
;
import
com.liquidnet.client.admin.zhengzai.kylin.utils.ShunfengSignUtils
;
import
com.liquidnet.client.admin.zhengzai.kylin.utils.ShunfengSignUtils
;
import
com.liquidnet.commons.lang.util.*
;
import
com.liquidnet.commons.lang.util.*
;
...
@@ -22,7 +20,6 @@ import org.springframework.data.mongodb.core.MongoTemplate;
...
@@ -22,7 +20,6 @@ import org.springframework.data.mongodb.core.MongoTemplate;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
...
@@ -355,18 +352,21 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
...
@@ -355,18 +352,21 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
new
QueryWrapper
<
KylinOrderExpress
>().
eq
(
"order_tickets_id"
,
orderTicketsId
)
new
QueryWrapper
<
KylinOrderExpress
>().
eq
(
"order_tickets_id"
,
orderTicketsId
)
.
notIn
(
"express_status"
,
expressStatus
)
.
notIn
(
"express_status"
,
expressStatus
)
);
);
KylinOrderTickets
orderInfo
=
kylinOrderTicketsMapper
.
selectOne
(
new
QueryWrapper
<
KylinOrderTickets
>().
eq
(
"order_tickets_id"
,
orderTicketsId
)
);
if
(
null
!=
orderExpressInfo
)
{
if
(
null
!=
orderExpressInfo
)
{
HashMap
<
String
,
Object
>
hBody
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
hBody
=
new
HashMap
<>();
hBody
.
put
(
"jProvince"
,
""
);
hBody
.
put
(
"jProvince"
,
jProvince
);
hBody
.
put
(
"jCity"
,
""
);
hBody
.
put
(
"jCity"
,
jCity
);
hBody
.
put
(
"jAddress"
,
""
);
hBody
.
put
(
"jAddress"
,
jAddress
);
hBody
.
put
(
"dProvince"
,
""
);
hBody
.
put
(
"dProvince"
,
"
北京市
"
);
hBody
.
put
(
"dCity"
,
""
);
hBody
.
put
(
"dCity"
,
"
北京城区
"
);
hBody
.
put
(
"dAddress"
,
""
);
hBody
.
put
(
"dAddress"
,
orderInfo
.
getExpressAddress
()
);
hBody
.
put
(
"expressType"
,
""
);
hBody
.
put
(
"expressType"
,
expressType
);
hBody
.
put
(
"parcelWeighs"
,
2.00
);
//
hBody.put("parcelWeighs", 2.00);
hBody
.
put
(
"volume"
,
"10,10,20"
);
//
hBody.put("volume", "10,10,20");
// 生成签名并请求
// 生成签名并请求
String
result
=
shunfengSignUtils
.
generateSignatureAndRequest
(
hBody
,
"/public/order/v1/getFreight"
);
String
result
=
shunfengSignUtils
.
generateSignatureAndRequest
(
hBody
,
"/public/order/v1/getFreight"
);
...
...
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