Commit 09382f05 by Huang Linyu

Merge branch 'f-6.7.0' of 192.168.10.6:caosy/fun-admin into f-6.7.0

parents ae4c6e25 a08fff5d
......@@ -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,
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment