Commit d2b72749 authored by daniel's avatar daniel

feat(app): 赛事配置修复

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