记得上下班打卡 | 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
f2ad8a5b
Commit
f2ad8a5b
authored
Nov 02, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善 admin export
parent
d09a4a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
6 deletions
+34
-6
list.html
...urces/templates/zhengzai/sweet/integralActivity/list.html
+2
-2
SweetActivityDrawExcelListDao.java
...min/zhengzai/sweet/dto/SweetActivityDrawExcelListDao.java
+32
-4
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/sweet/integralActivity/list.html
View file @
f2ad8a5b
...
@@ -125,8 +125,8 @@
...
@@ -125,8 +125,8 @@
var
actions
=
[];
var
actions
=
[];
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
drawListFlag
+
'" href="javascript:void(0)" onclick="$.operate.detailTab(
\'
'
+
row
.
integralActivityId
+
'
\'
)"><i class="fa fa-edit"></i>查看抽奖名单</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
drawListFlag
+
'" href="javascript:void(0)" onclick="$.operate.detailTab(
\'
'
+
row
.
integralActivityId
+
'
\'
)"><i class="fa fa-edit"></i>查看抽奖名单</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
updateFlag
+
'" href="javascript:void(0)" onclick="$.operate.editTab(
\'
'
+
row
.
integralActivityId
+
'
\'
)"></i>编辑</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
updateFlag
+
'" href="javascript:void(0)" onclick="$.operate.editTab(
\'
'
+
row
.
integralActivityId
+
'
\'
)"></i>编辑</a> '
);
actions
.
push
(
`<a class="btn btn-danger btn-xs
${
isOnlineFlag
}
" href="javascript:void(0)" onclick="openModal('
${
row
.
integralActivityId
}
','
${
row
.
isOnline
}
')"></i>上下线</a>`
);
actions
.
push
(
`<a class="btn btn-danger btn-xs
${
isOnlineFlag
}
" href="javascript:void(0)" onclick="openModal('
${
row
.
integralActivityId
}
','
${
row
.
isOnline
}
')"></i>上下线</a>
`
);
actions
.
push
(
'<a class="btn btn-warning btn-xs '
+
exportExcelFlag
+
'" href="javascript:void(0)" onclick="exportExcel(
\'
'
+
row
.
integralActivityId
+
'
\'
)"></i>导出
中
奖信息</a> '
);
actions
.
push
(
'<a class="btn btn-warning btn-xs '
+
exportExcelFlag
+
'" href="javascript:void(0)" onclick="exportExcel(
\'
'
+
row
.
integralActivityId
+
'
\'
)"></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/sweet/dto/SweetActivityDrawExcelListDao.java
View file @
f2ad8a5b
...
@@ -16,7 +16,7 @@ public class SweetActivityDrawExcelListDao implements Serializable, Cloneable {
...
@@ -16,7 +16,7 @@ public class SweetActivityDrawExcelListDao implements Serializable, Cloneable {
private
String
prizeTitle
;
private
String
prizeTitle
;
@Excel
(
name
=
"奖品类型"
)
@Excel
(
name
=
"奖品类型"
)
private
Integer
prizeTyp
e
;
private
String
prizeNam
e
;
@Excel
(
name
=
"数量"
)
@Excel
(
name
=
"数量"
)
private
Integer
prizeTypeNum
;
private
Integer
prizeTypeNum
;
...
@@ -34,7 +34,7 @@ public class SweetActivityDrawExcelListDao implements Serializable, Cloneable {
...
@@ -34,7 +34,7 @@ public class SweetActivityDrawExcelListDao implements Serializable, Cloneable {
private
String
receivingAddress
;
private
String
receivingAddress
;
@Excel
(
name
=
"发放状态"
)
@Excel
(
name
=
"发放状态"
)
private
Integer
receivingStatus
;
private
String
receivingStatusName
;
private
LocalDateTime
createdAt
;
private
LocalDateTime
createdAt
;
...
@@ -51,13 +51,41 @@ public class SweetActivityDrawExcelListDao implements Serializable, Cloneable {
...
@@ -51,13 +51,41 @@ public class SweetActivityDrawExcelListDao implements Serializable, Cloneable {
public
SweetActivityDrawExcelListDao
copy
(
SweetActivityDrawListDao
source
)
{
public
SweetActivityDrawExcelListDao
copy
(
SweetActivityDrawListDao
source
)
{
if
(
null
==
source
)
return
this
;
if
(
null
==
source
)
return
this
;
this
.
setPrizeTitle
(
source
.
getPrizeTitle
());
this
.
setPrizeTitle
(
source
.
getPrizeTitle
());
this
.
setPrizeType
(
source
.
getPrizeType
());
String
prizeName
=
""
;
switch
(
source
.
getPrizeType
())
{
case
1
:
prizeName
=
"谢谢惠顾"
;
break
;
case
2
:
prizeName
=
"积分"
;
break
;
case
3
:
prizeName
=
"代金券"
;
break
;
case
4
:
prizeName
=
"满减券"
;
break
;
case
5
:
prizeName
=
"优先购买券"
;
break
;
case
6
:
prizeName
=
"实物"
;
break
;
default
:
prizeName
=
"-"
;
break
;
}
this
.
setPrizeName
(
prizeName
);
this
.
setPrizeTypeNum
(
source
.
getPrizeTypeNum
());
this
.
setPrizeTypeNum
(
source
.
getPrizeTypeNum
());
this
.
setNickname
(
source
.
getNickname
());
this
.
setNickname
(
source
.
getNickname
());
this
.
setReceivingName
(
source
.
getReceivingName
());
this
.
setReceivingName
(
source
.
getReceivingName
());
this
.
setReceivingPhone
(
source
.
getReceivingPhone
());
this
.
setReceivingPhone
(
source
.
getReceivingPhone
());
this
.
setReceivingAddress
(
source
.
getReceivingAddress
());
this
.
setReceivingAddress
(
source
.
getReceivingAddress
());
this
.
setReceivingStatus
(
source
.
getReceivingStatus
());
if
(
source
.
getReceivingStatus
()
==
2
)
{
this
.
setReceivingStatusName
(
"已发放"
);
}
else
{
this
.
setReceivingStatusName
(
"未方法"
);
}
this
.
setCreatedAt
(
source
.
getCreatedAt
());
this
.
setCreatedAt
(
source
.
getCreatedAt
());
return
this
;
return
this
;
}
}
...
...
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