Commit d2b72749 authored by daniel's avatar daniel

feat(app): 赛事配置修复

parent 8f4281b7
...@@ -192,11 +192,11 @@ ...@@ -192,11 +192,11 @@
<if test="openType != null"> <if test="openType != null">
open_type = #{openType}, open_type = #{openType},
</if> </if>
<if test="func.deadTime != null"> <if test="deadTime != null">
dead_time = #{func.deadTime,jdbcType=TIMESTAMP}, dead_time = #{deadTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="func.startTime != null"> <if test="startTime != null">
start_time = #{func.startTime,jdbcType=TIMESTAMP} start_time = #{startTime,jdbcType=TIMESTAMP}
</if> </if>
<if test="needTime != null"> <if test="needTime != null">
need_time = #{needTime}, need_time = #{needTime},
......
...@@ -32,6 +32,15 @@ public class CmptSetting extends JaapRecord<CmptSetting> { ...@@ -32,6 +32,15 @@ public class CmptSetting extends JaapRecord<CmptSetting> {
private Date startTime; private Date startTime;
// 是否需要开启有效时间 // 是否需要开启有效时间
private Integer needTime; private Integer needTime;
private String content;
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public Date getStartTime() { public Date getStartTime() {
return startTime; return startTime;
......
...@@ -245,6 +245,7 @@ function showTimeSetting(func) { ...@@ -245,6 +245,7 @@ function showTimeSetting(func) {
success: () => { success: () => {
layer.close(loadIndex); layer.close(loadIndex);
layer.msg('有效期设置成功', () => { layer.close(index) }); layer.msg('有效期设置成功', () => { layer.close(index) });
window.location.reload()
} }
}) })
} }
......
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