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
0d7b9734
Commit
0d7b9734
authored
Apr 09, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Submit by Strive
Date 2021/04/09 Project End
parent
5dd42d97
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
9 deletions
+32
-9
consultSheetform.html
...n/webapp/WEB-INF/views/consultSheet/consultSheetform.html
+2
-2
couponrecordlist.html
...n/webapp/WEB-INF/views/couponrecord/couponrecordlist.html
+3
-3
CouponrecordMapper.xml
...n/java/com/cftech/couponrecord/dao/CouponrecordMapper.xml
+2
-1
Couponrecord.java
...main/java/com/cftech/couponrecord/model/Couponrecord.java
+4
-0
CouponrecordController.java
...a/com/cftech/couponrecord/web/CouponrecordController.java
+18
-0
OrderServiceImpl.java
.../java/com/cftech/order/service/impl/OrderServiceImpl.java
+2
-2
ReportMapper.xml
...dule/src/main/java/com/cftech/report/dao/ReportMapper.xml
+1
-1
No files found.
aidea-modules/consult-module-web/src/main/webapp/WEB-INF/views/consultSheet/consultSheetform.html
View file @
0d7b9734
...
@@ -1105,8 +1105,8 @@
...
@@ -1105,8 +1105,8 @@
"aTargets"
:
[
3
],
"aTargets"
:
[
3
],
"mData"
:
"userName"
,
"mData"
:
"userName"
,
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
"mRender"
:
function
(
a
,
b
,
c
,
d
)
{
if
(
c
)
{
if
(
a
)
{
return
c
.
userName
.
slice
(
0
,
1
)
+
'*'
+
c
.
userName
.
slice
(
2
,
c
.
userName
.
length
);
return
a
.
slice
(
0
,
1
)
+
'*'
+
a
.
slice
(
2
,
a
.
length
);
}
else
{
}
else
{
return
null
;
return
null
;
}
}
...
...
aidea-modules/couponrecord-module-web/src/main/webapp/WEB-INF/views/couponrecord/couponrecordlist.html
View file @
0d7b9734
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
<form
id=
"seachTableForm"
action=
"#springUrl('/a/couponrecord/
list
')"
method=
"get"
>
<form
id=
"seachTableForm"
action=
"#springUrl('/a/couponrecord/
exportExcel
')"
method=
"get"
>
<div
class=
"col-xs-2"
>
<div
class=
"col-xs-2"
>
<input
type=
"text"
class=
"form-control"
<input
type=
"text"
class=
"form-control"
name=
"number"
placeholder=
"检测券编码"
>
name=
"number"
placeholder=
"检测券编码"
>
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
</div>
</div>
<div
class=
"col-xs-2"
>
<div
class=
"col-xs-2"
>
<select
id=
"status"
name=
"status"
class=
"form-control required"
>
<select
id=
"status"
name=
"status"
class=
"form-control required"
>
<option
value=
""
>
请选择状态
</option>
<option
value=
""
>
请选择状态
</option>
<option
value=
"0"
>
未激活
</option>
<option
value=
"0"
>
未激活
</option>
<option
value=
"1"
>
待核销
</option>
<option
value=
"1"
>
待核销
</option>
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
<div
class=
"col-xs-5"
>
<div
class=
"col-xs-5"
>
<button
type=
"button"
class=
"search btn btn-primary"
>
搜索
</button>
<button
type=
"button"
class=
"search btn btn-primary"
>
搜索
</button>
#if($shiro.hasPermission("qy:couponrecord:edit"))
#if($shiro.hasPermission("qy:couponrecord:edit"))
<
a
href=
"#springUrl('/a/couponrecord/exportExcel')"
class=
"btn btn-primary"
>
导出
</a
>
<
button
type=
"submit"
class=
"btn btn-primary"
>
导出
</button
>
#end
#end
</div>
</div>
</form>
</form>
...
...
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/dao/CouponrecordMapper.xml
View file @
0d7b9734
...
@@ -140,10 +140,11 @@
...
@@ -140,10 +140,11 @@
<select
id=
"fetchSearchByPage"
parameterType=
"java.util.Map"
resultMap=
"resultMap"
>
<select
id=
"fetchSearchByPage"
parameterType=
"java.util.Map"
resultMap=
"resultMap"
>
SELECT
SELECT
<include
refid=
"sqlColumns"
/>
, c.name couponName, f.nickname nickName
<include
refid=
"sqlColumns"
/>
, c.name couponName, f.nickname nickName
, h.name hospitalName
FROM t_aidea_coupon_record t
FROM t_aidea_coupon_record t
LEFT JOIN t_aidea_check_coupon c ON t.coupon_id = c.id
LEFT JOIN t_aidea_check_coupon c ON t.coupon_id = c.id
LEFT JOIN wx_mp_fanss f ON f.openid = t.openid AND f.delflag = '0'
LEFT JOIN wx_mp_fanss f ON f.openid = t.openid AND f.delflag = '0'
LEFT JOIN t_aidea_hospital h ON t.hospital_id = h.id AND h.del_flag = '0'
<include
refid=
"sqlWhere"
/>
<include
refid=
"sqlWhere"
/>
<if
test=
"sort!=null"
>
ORDER BY ${sort.param} ${sort.type}
</if>
<if
test=
"sort!=null"
>
ORDER BY ${sort.param} ${sort.type}
</if>
<if
test=
"limit>0"
>
limit #{offset},#{limit}
</if>
<if
test=
"limit>0"
>
limit #{offset},#{limit}
</if>
...
...
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/model/Couponrecord.java
View file @
0d7b9734
...
@@ -62,8 +62,10 @@ public class Couponrecord implements Serializable {
...
@@ -62,8 +62,10 @@ public class Couponrecord implements Serializable {
/* 删除标识 */
/* 删除标识 */
private
boolean
delFlag
;
private
boolean
delFlag
;
/* 状态 */
/* 状态 */
@ExportConfig
(
value
=
"状态"
,
width
=
100
,
showLevel
=
1
)
private
String
status
;
private
String
status
;
/* 创建时间 */
/* 创建时间 */
@ExportConfig
(
value
=
"发放日期"
,
width
=
100
,
showLevel
=
1
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
createTime
;
private
Date
createTime
;
/* 更新时间 */
/* 更新时间 */
private
Date
updateTime
;
private
Date
updateTime
;
...
@@ -78,7 +80,9 @@ public class Couponrecord implements Serializable {
...
@@ -78,7 +80,9 @@ public class Couponrecord implements Serializable {
//未映射字段
//未映射字段
private
String
couponName
;
private
String
couponName
;
@ExportConfig
(
value
=
"粉丝昵称"
,
width
=
100
,
showLevel
=
1
)
private
String
nickName
;
private
String
nickName
;
@ExportConfig
(
value
=
"核销医院"
,
width
=
100
,
showLevel
=
1
)
private
String
hospitalName
;
private
String
hospitalName
;
public
Couponrecord
()
{
public
Couponrecord
()
{
...
...
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/web/CouponrecordController.java
View file @
0d7b9734
...
@@ -159,6 +159,24 @@ public class CouponrecordController {
...
@@ -159,6 +159,24 @@ public class CouponrecordController {
conds
.
equal
(
"t.status"
,
couponrecord
.
getStatus
());
conds
.
equal
(
"t.status"
,
couponrecord
.
getStatus
());
}
}
List
<
Couponrecord
>
list
=
couponrecordService
.
fetchSearchByPage
(
conds
,
sort
,
0
,
0
);
List
<
Couponrecord
>
list
=
couponrecordService
.
fetchSearchByPage
(
conds
,
sort
,
0
,
0
);
for
(
Couponrecord
c
:
list
)
{
switch
(
c
.
getStatus
())
{
case
"0"
:
c
.
setStatus
(
"未激活"
);
break
;
case
"1"
:
c
.
setStatus
(
"待核销"
);
break
;
case
"2"
:
c
.
setStatus
(
"已核销"
);
break
;
case
"3"
:
c
.
setStatus
(
"已过期"
);
break
;
default
:
c
.
setStatus
(
""
);
}
}
ExcelKit
.
$Export
(
Couponrecord
.
class
,
response
).
toExcel
(
list
,
"发券信息管理信息"
);
ExcelKit
.
$Export
(
Couponrecord
.
class
,
response
).
toExcel
(
list
,
"发券信息管理信息"
);
}
}
...
...
aidea-modules/order-module/src/main/java/com/cftech/order/service/impl/OrderServiceImpl.java
View file @
0d7b9734
...
@@ -543,8 +543,8 @@ public class OrderServiceImpl extends GenericServiceImpl<Order> implements Order
...
@@ -543,8 +543,8 @@ public class OrderServiceImpl extends GenericServiceImpl<Order> implements Order
order
.
setStatus
(
"2"
);
//待发货
order
.
setStatus
(
"2"
);
//待发货
order
.
setTradeNo
(
transaction_id
);
order
.
setTradeNo
(
transaction_id
);
//现金支付总金额
//现金支付总金额
if
(
StringUtils
.
isNoneBlank
(
map
.
get
(
"
cash
_fee"
)))
{
if
(
StringUtils
.
isNoneBlank
(
map
.
get
(
"
total
_fee"
)))
{
order
.
setPayAmount
(
Double
.
parseDouble
(
map
.
get
(
"
cash
_fee"
)));
order
.
setPayAmount
(
Double
.
parseDouble
(
map
.
get
(
"
total
_fee"
)));
}
}
//支付完成时间
//支付完成时间
if
(
StringUtils
.
isNoneBlank
(
time_end
))
{
if
(
StringUtils
.
isNoneBlank
(
time_end
))
{
...
...
aidea-modules/reportform-module/src/main/java/com/cftech/report/dao/ReportMapper.xml
View file @
0d7b9734
...
@@ -302,7 +302,7 @@
...
@@ -302,7 +302,7 @@
CONVERT ( AES_DECRYPT( consult.phone, 'aideakey' ) USING UTF8 ) phone,
CONVERT ( AES_DECRYPT( consult.phone, 'aideakey' ) USING UTF8 ) phone,
qyuser.`name` cfDoctor,
qyuser.`name` cfDoctor,
org1.org_name cfHospital,
org1.org_name cfHospital,
ord.
create
_time fkTime,
ord.
pay
_time fkTime,
waybill.send_express_date fhTime,
waybill.send_express_date fhTime,
waybill.accept_express_date sjTime,
waybill.accept_express_date sjTime,
ord.openid openId
ord.openid openId
...
...
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