Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
micro_app
gk
Commits
d2b72749
Commit
d2b72749
authored
Jun 13, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): 赛事配置修复
parent
8f4281b7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
CmptSettingMapper.xml
...bridge/jadp/plugins/cmpt/dao/mapper/CmptSettingMapper.xml
+4
-4
CmptSetting.java
...com/dlbridge/jadp/plugins/cmpt/dao/model/CmptSetting.java
+9
-0
cmptSetting.js
src/main/webapp/static/js/cmptSetting.js
+1
-0
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptSettingMapper.xml
View file @
d2b72749
...
@@ -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},
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/model/CmptSetting.java
View file @
d2b72749
...
@@ -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
;
...
...
src/main/webapp/static/js/cmptSetting.js
View file @
d2b72749
...
@@ -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()
}
}
})
})
}
}
...
...
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