Commit c7b3395c by jiang'yun

修改

parent e045d909
...@@ -71,7 +71,7 @@ public class TpRyInfoServiceImpl implements ITpRyInfoService ...@@ -71,7 +71,7 @@ public class TpRyInfoServiceImpl implements ITpRyInfoService
public AjaxResult insertTpRyInfo(TpRyInfo tpRyInfo) public AjaxResult insertTpRyInfo(TpRyInfo tpRyInfo)
{ {
Date nowDate = DateUtils.getNowDate(); Date nowDate = DateUtils.getNowDate();
Date date = DateUtils.dateTime("yyyy-MM-dd HH:mm:ss", "2025-12-31 23:59:59"); Date date = DateUtils.dateTime("yyyy-MM-dd HH:mm:ss", "2026-01-04 23:59:59");
if(nowDate.after(date)){ if(nowDate.after(date)){
return AjaxResult.error("已过投票日期,不允许投票!"); return AjaxResult.error("已过投票日期,不允许投票!");
......
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 to comment