Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
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
sa_aidea
Aidea
Commits
7f3faa0d
Commit
7f3faa0d
authored
Nov 28, 2020
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aidea product update by Strive Date 2020-11-28
parent
85ce450c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
101 additions
and
86 deletions
+101
-86
orderSendOut.html
...web/src/main/webapp/WEB-INF/views/order/orderSendOut.html
+3
-3
orderlistout.html
...web/src/main/webapp/WEB-INF/views/order/orderlistout.html
+92
-80
OrderMapper.xml
...module/src/main/java/com/cftech/order/dao/OrderMapper.xml
+5
-3
Order.java
...er-module/src/main/java/com/cftech/order/model/Order.java
+1
-0
No files found.
aidea-modules/order-module-web/src/main/webapp/WEB-INF/views/order/orderSendOut.html
View file @
7f3faa0d
...
...
@@ -58,12 +58,12 @@
<section
class=
"content-header"
>
<h1>
需求清单管理
<small>
需求清单管理
</small>
需求清单
出库
管理
<small>
需求清单
出库
管理
</small>
</h1>
<ol
class=
"breadcrumb"
>
<li><a
href=
"#"
><i
class=
"fa fa-dashboard"
></i>
首页
</a></li>
<li><a
class=
"active"
>
需求清单管理
</a></li>
<li><a
class=
"active"
>
需求清单
出库
管理
</a></li>
</ol>
</section>
...
...
aidea-modules/order-module-web/src/main/webapp/WEB-INF/views/order/orderlistout.html
View file @
7f3faa0d
...
...
@@ -87,12 +87,12 @@
<section
class=
"content-header"
>
<h1>
需求清单管理
<small>
需求清单管理
</small>
需求清单
出库
管理
<small>
需求清单
出库
管理
</small>
</h1>
<ol
class=
"breadcrumb"
>
<li><a><i
class=
"fa fa-dashboard"
></i>
首页
</a></li>
<li><a
class=
"active"
>
需求清单管理列表
</a></li>
<li><a
class=
"active"
>
需求清单
出库
管理列表
</a></li>
</ol>
</section>
...
...
@@ -120,22 +120,22 @@
<input
type=
"text"
class=
"form-control"
name=
"courierNumber"
placeholder=
"顺丰运单号"
>
</div>
<
div
class=
"col-xs-2"
>
<
input
type=
"text"
class=
"form-control"
name=
"startOrderAmount"
placeholder=
"订单金额开始区间"
>
<
/div
>
<
div
class=
"col-xs-2"
>
<
input
type=
"text"
class=
"form-control"
name=
"endOrderAmount"
placeholder=
"订单金额结束区间"
>
<
/div
>
<
div
class=
"col-xs-2"
>
<
input
type=
"text"
class=
"form-control"
name=
"startPayAmount"
placeholder=
"付款金额开始区间"
>
<
/div
>
<
div
class=
"col-xs-2"
>
<
input
type=
"text"
class=
"form-control"
name=
"endPayAmount"
placeholder=
"付款金额结束区间"
>
<
/div
>
<
!--<div class="col-xs-2">--
>
<
!--<input type="text" class="form-control"-->
<!--name="startOrderAmount" placeholder="订单金额开始区间">--
>
<
!--</div>--
>
<
!--<div class="col-xs-2">--
>
<
!--<input type="text" class="form-control"-->
<!--name="endOrderAmount" placeholder="订单金额结束区间">--
>
<
!--</div>--
>
<
!--<div class="col-xs-2">--
>
<
!--<input type="text" class="form-control"-->
<!--name="startPayAmount" placeholder="付款金额开始区间">--
>
<
!--</div>--
>
<
!--<div class="col-xs-2">--
>
<
!--<input type="text" class="form-control"-->
<!--name="endPayAmount" placeholder="付款金额结束区间">--
>
<
!--</div>--
>
<div
class=
"col-xs-2"
>
<select
id=
"status"
name=
"status"
class=
"form-control required"
>
<!--<option value="">请选择订单状态</option>-->
...
...
@@ -198,15 +198,16 @@
<th>
订单编码
</th>
<th>
咨询单编码
</th>
<th>
产品名称
</th>
<
th>
订单金额
</th
>
<
th>
付款金额
</th
>
<
th>
昵称
</th
>
<
th>
openid
</th
>
<
!--<th>订单金额</th>--
>
<
!--<th>付款金额</th>--
>
<
!--<th>昵称</th>--
>
<
!--<th>openid</th>--
>
<th>
顺丰运单号
</th>
<th>
订单状态
</th>
<th>
支付交易号
</th>
<th>
是否开票
</th>
<th>
创建时间
</th>
<th>
出库时间
</th>
<th>
操作
</th>
</tr>
</thead>
...
...
@@ -331,22 +332,21 @@
{
"mData"
:
"productName"
},
{
"mData"
:
"orderAmount"
}
,
{
"mData"
:
"totalAmount"
}
,
{
"mData"
:
"nickName"
}
,
{
"mData"
:
"openid"
}
,
// {
// "mData": "orderAmount"
// }
// ,
// {
// "mData": "totalAmount"
// }
// ,
// {
// "mData": "nickName"
// }
// ,
// {
// "mData": "openid"
// },
{
"mData"
:
"courierNumber"
}
...
...
@@ -368,6 +368,10 @@
"mData"
:
"createTime"
}
,
{
"mData"
:
"outTime"
}
,
{
"mData"
:
"id"
}
...
...
@@ -400,45 +404,45 @@
return
a
;
}
}
// ,
// {
// "aTargets": [4],
// "mData": "orderAmount",
// "mRender": function (a, b, c, d) {
// return a;
// }
// }
// ,
// {
// "aTargets": [5],
// "mData": "totalAmount",
// "mRender": function (a, b, c, d) {
// return a;
// }
// }
// ,
// {
// "aTargets": [6],
// "mData": "nickName",
// "mRender": function (a, b, c, d) {
// if (a) {
// return a.slice(0, 1) + '*' + a.slice(2, 3);
// } else {
// return null;
// }
// }
// }
// ,
// {
// "aTargets": [4],
// "mData": "openid",
// "mRender": function (a, b, c, d) {
// return a;
// }
// }
,
{
"aTargets"
:
[
4
],
"mData"
:
"orderAmount"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
;
}
}
,
{
"aTargets"
:
[
5
],
"mData"
:
"totalAmount"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
;
}
}
,
{
"aTargets"
:
[
6
],
"mData"
:
"nickName"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
if
(
a
)
{
return
a
.
slice
(
0
,
1
)
+
'*'
+
a
.
slice
(
2
,
3
);
}
else
{
return
null
;
}
}
}
,
{
"aTargets"
:
[
7
],
"mData"
:
"openid"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
;
}
}
,
{
"aTargets"
:
[
8
],
"mData"
:
"courierNumber"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
;
...
...
@@ -446,7 +450,7 @@
}
,
{
"aTargets"
:
[
9
],
"aTargets"
:
[
5
],
"mData"
:
"status"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
if
(
a
==
'0'
)
{
...
...
@@ -465,7 +469,7 @@
}
},
{
"aTargets"
:
[
10
],
"aTargets"
:
[
6
],
"mData"
:
"tradeNo"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
;
...
...
@@ -473,7 +477,7 @@
}
,
{
"aTargets"
:
[
11
],
"aTargets"
:
[
7
],
"mData"
:
"confirm"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
==
null
?
'否'
:
'是'
;
...
...
@@ -481,7 +485,7 @@
}
,
{
"aTargets"
:
[
12
],
"aTargets"
:
[
8
],
"mData"
:
"createTime"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
formatDates
(
a
);
...
...
@@ -489,7 +493,15 @@
}
,
{
"aTargets"
:
[
13
],
"aTargets"
:
[
9
],
"mData"
:
"outTime"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
return
a
;
}
}
,
{
"aTargets"
:
[
10
],
"mData"
:
"id"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
var
html
=
'#if($shiro.hasPermission("qy:order:edit"))'
;
...
...
aidea-modules/order-module/src/main/java/com/cftech/order/dao/OrderMapper.xml
View file @
7f3faa0d
...
...
@@ -81,6 +81,7 @@
<result
column=
"cancel_time"
property=
"cancelTime"
/>
<result
column=
"sendExpressDateStr"
property=
"sendExpressDateStr"
/>
<result
column=
"acceptExpressDateStr"
property=
"acceptExpressDateStr"
/>
<result
column=
"outTime"
property=
"outTime"
/>
<collection
property=
"list"
ofType=
"com.cftech.order.model.ProductVO"
>
<result
column=
"product_name"
property=
"productName"
/>
</collection>
...
...
@@ -326,14 +327,15 @@
cs.consult_id consultCode,
CONVERT(AES_DECRYPT(f.nickname,'aideakey') USING UTF8) nickName,
o.address_id,
order_time,
cancel_time,
o
.o
rder_time,
o.
cancel_time,
DATE_FORMAT(aw.send_express_date, '%Y-%m-%d %H:%i') sendExpressDateStr,
DATE_FORMAT(aw.accept_express_date, '%Y-%m-%d %H:%i') acceptExpressDateStr,
t.id as productId,
CONVERT ( AES_DECRYPT( m.`name`, 'aideakey' ) USING UTF8 ) memberName,
CONVERT ( AES_DECRYPT( m.phone, 'aideakey' ) USING UTF8 ) memberPhone,
a.address
a.address,
DATE_FORMAT(aw.create_time, '%Y-%m-%d %H:%i') outTime
FROM t_order o
LEFT JOIN t_aidea_consult_sheet cs ON o.consult_id = cs.id
LEFT JOIN t_shipping_address s ON o.address_id = s.id
...
...
aidea-modules/order-module/src/main/java/com/cftech/order/model/Order.java
View file @
7f3faa0d
...
...
@@ -144,6 +144,7 @@ public class Order extends OrderDetail implements Serializable {
private
String
nickName
;
//患者昵称
private
String
sendExpressDateStr
;
//发件时间
private
String
acceptExpressDateStr
;
//签收时间
private
String
outTime
;
//出库时间
...
...
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