Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09382f05
authored
Nov 09, 2018
by
Huang Linyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'f-6.7.0' of 192.168.10.6:caosy/fun-admin into f-6.7.0
parents
ae4c6e25
a08fff5d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/main/java/com/ctrip/fun/admin/controller/basic/VoucherRuleController.java
src/main/webapp/WEB-INF/templates/basic/voucherRule/view.ftl
src/main/java/com/ctrip/fun/admin/controller/basic/VoucherRuleController.java
View file @
09382f05
...
...
@@ -216,6 +216,7 @@ public class VoucherRuleController {
if
(!
StringUtils
.
isEmpty
(
resourceIds
))
{
vo
.
setResourceIds
(
resourceIds
.
replace
(
","
,
","
));
}
vo
.
setEndUseDate
(
DateUtil
.
getEndTime4Day
(
vo
.
getEndUseDate
()));
boolean
modifyVoucherRule
=
voucherRuleService
.
modifyVoucherRule
(
""
,
vo
);
String
message
=
modifyVoucherRule
?
"现金券修改成功!"
:
"现金券修改失败!"
;
redirectAttributes
.
addFlashAttribute
(
FlashMessageDirective
.
FLASH_MESSAGE_ATTRIBUTE_NAME
,
...
...
src/main/webapp/WEB-INF/templates/basic/voucherRule/view.ftl
View file @
09382f05
...
...
@@ -558,9 +558,8 @@ function getResourceList(page){
<td style="text-align:left">有效期</td>
<td style="text-align:left">
<input type="text" id="startUseDate" name="startUseDate" value="${dto.startUseDate?string("yyyy-MM-dd")}" placeholder="${dto.startUseDate?string("yyyy-MM-dd")}" class="input-medium datetime">
~
<input type="text" id="endUseDate" name="endUseDate" value="${dto.endUseDate?string("yyyy-MM-dd")}" placeholder="${dto.endUseDate?string("yyyy-MM-dd")}" class="input-medium datetime">
<@form.textInputTwoDate path1="dto.startUseDate" path2="dto.endUseDate" attributes="" label="" required = true/>
</td>
</tr>
<#if dto.voucherRuleType == 2>
...
...
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