Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
self-service
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
self-service
Commits
373d3c64
Commit
373d3c64
authored
May 13, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自助服务终端基础设置增加操作倒计时配置
parent
f91a5ab3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
263 additions
and
38 deletions
+263
-38
sst-manager/src/main/java/com/mortals/xhx/module/sst/model/SstBasicEntity.java
...java/com/mortals/xhx/module/sst/model/SstBasicEntity.java
+22
-1
sst-manager/src/main/java/com/mortals/xhx/module/sst/model/SstBasicQuery.java
.../java/com/mortals/xhx/module/sst/model/SstBasicQuery.java
+151
-1
sst-manager/src/main/resources/sqlmap/module/sst/SstBasicMapper.xml
...r/src/main/resources/sqlmap/module/sst/SstBasicMapper.xml
+90
-36
No files found.
sst-manager/src/main/java/com/mortals/xhx/module/sst/model/SstBasicEntity.java
View file @
373d3c64
...
...
@@ -10,7 +10,7 @@ import com.mortals.xhx.module.sst.model.vo.SstBasicVo;
* 基础配置实体对象
*
* @author zxfei
* @date 2023-0
2-27
* @date 2023-0
5-13
*/
public
class
SstBasicEntity
extends
SstBasicVo
{
...
...
@@ -68,6 +68,10 @@ public class SstBasicEntity extends SstBasicVo {
* 轮播图图片地址
*/
private
String
carouselPic
;
/**
* 操作倒计时单位分
*/
private
Integer
countdown
;
...
...
@@ -254,6 +258,20 @@ public class SstBasicEntity extends SstBasicVo {
public
void
setCarouselPic
(
String
carouselPic
){
this
.
carouselPic
=
carouselPic
;
}
/**
* 获取 操作倒计时单位分
* @return Integer
*/
public
Integer
getCountdown
(){
return
countdown
;
}
/**
* 设置 操作倒计时单位分
* @param countdown
*/
public
void
setCountdown
(
Integer
countdown
){
this
.
countdown
=
countdown
;
}
...
...
@@ -289,6 +307,7 @@ public class SstBasicEntity extends SstBasicVo {
sb
.
append
(
",record:"
).
append
(
getRecord
());
sb
.
append
(
",elderEnable:"
).
append
(
getElderEnable
());
sb
.
append
(
",carouselPic:"
).
append
(
getCarouselPic
());
sb
.
append
(
",countdown:"
).
append
(
getCountdown
());
return
sb
.
toString
();
}
...
...
@@ -319,5 +338,7 @@ public class SstBasicEntity extends SstBasicVo {
this
.
elderEnable
=
1
;
this
.
carouselPic
=
""
;
this
.
countdown
=
0
;
}
}
\ No newline at end of file
sst-manager/src/main/java/com/mortals/xhx/module/sst/model/SstBasicQuery.java
View file @
373d3c64
...
...
@@ -6,7 +6,7 @@ import com.mortals.xhx.module.sst.model.SstBasicEntity;
* 基础配置查询对象
*
* @author zxfei
* @date 2023-0
2-27
* @date 2023-0
5-13
*/
public
class
SstBasicQuery
extends
SstBasicEntity
{
/** 开始 序号,主键,自增长 */
...
...
@@ -161,6 +161,21 @@ public class SstBasicQuery extends SstBasicEntity {
/** 轮播图图片地址排除列表 */
private
List
<
String
>
carouselPicNotList
;
/** 开始 操作倒计时单位分 */
private
Integer
countdownStart
;
/** 结束 操作倒计时单位分 */
private
Integer
countdownEnd
;
/** 增加 操作倒计时单位分 */
private
Integer
countdownIncrement
;
/** 操作倒计时单位分列表 */
private
List
<
Integer
>
countdownList
;
/** 操作倒计时单位分排除列表 */
private
List
<
Integer
>
countdownNotList
;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
SstBasicQuery
>
orConditionList
;
...
...
@@ -1039,6 +1054,87 @@ public class SstBasicQuery extends SstBasicEntity {
this
.
carouselPicNotList
=
carouselPicNotList
;
}
/**
* 获取 开始 操作倒计时单位分
* @return countdownStart
*/
public
Integer
getCountdownStart
(){
return
this
.
countdownStart
;
}
/**
* 设置 开始 操作倒计时单位分
* @param countdownStart
*/
public
void
setCountdownStart
(
Integer
countdownStart
){
this
.
countdownStart
=
countdownStart
;
}
/**
* 获取 结束 操作倒计时单位分
* @return $countdownEnd
*/
public
Integer
getCountdownEnd
(){
return
this
.
countdownEnd
;
}
/**
* 设置 结束 操作倒计时单位分
* @param countdownEnd
*/
public
void
setCountdownEnd
(
Integer
countdownEnd
){
this
.
countdownEnd
=
countdownEnd
;
}
/**
* 获取 增加 操作倒计时单位分
* @return countdownIncrement
*/
public
Integer
getCountdownIncrement
(){
return
this
.
countdownIncrement
;
}
/**
* 设置 增加 操作倒计时单位分
* @param countdownIncrement
*/
public
void
setCountdownIncrement
(
Integer
countdownIncrement
){
this
.
countdownIncrement
=
countdownIncrement
;
}
/**
* 获取 操作倒计时单位分
* @return countdownList
*/
public
List
<
Integer
>
getCountdownList
(){
return
this
.
countdownList
;
}
/**
* 设置 操作倒计时单位分
* @param countdownList
*/
public
void
setCountdownList
(
List
<
Integer
>
countdownList
){
this
.
countdownList
=
countdownList
;
}
/**
* 获取 操作倒计时单位分
* @return countdownNotList
*/
public
List
<
Integer
>
getCountdownNotList
(){
return
this
.
countdownNotList
;
}
/**
* 设置 操作倒计时单位分
* @param countdownNotList
*/
public
void
setCountdownNotList
(
List
<
Integer
>
countdownNotList
){
this
.
countdownNotList
=
countdownNotList
;
}
/**
* 设置 序号,主键,自增长
* @param id
...
...
@@ -1555,6 +1651,60 @@ public class SstBasicQuery extends SstBasicEntity {
return
this
;
}
/**
* 设置 操作倒计时单位分
* @param countdown
*/
public
SstBasicQuery
countdown
(
Integer
countdown
){
setCountdown
(
countdown
);
return
this
;
}
/**
* 设置 开始 操作倒计时单位分
* @param countdownStart
*/
public
SstBasicQuery
countdownStart
(
Integer
countdownStart
){
this
.
countdownStart
=
countdownStart
;
return
this
;
}
/**
* 设置 结束 操作倒计时单位分
* @param countdownEnd
*/
public
SstBasicQuery
countdownEnd
(
Integer
countdownEnd
){
this
.
countdownEnd
=
countdownEnd
;
return
this
;
}
/**
* 设置 增加 操作倒计时单位分
* @param countdownIncrement
*/
public
SstBasicQuery
countdownIncrement
(
Integer
countdownIncrement
){
this
.
countdownIncrement
=
countdownIncrement
;
return
this
;
}
/**
* 设置 操作倒计时单位分
* @param countdownList
*/
public
SstBasicQuery
countdownList
(
List
<
Integer
>
countdownList
){
this
.
countdownList
=
countdownList
;
return
this
;
}
/**
* 设置 操作倒计时单位分
* @param countdownNotList
*/
public
SstBasicQuery
countdownNotList
(
List
<
Integer
>
countdownNotList
){
this
.
countdownNotList
=
countdownNotList
;
return
this
;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
...
...
sst-manager/src/main/resources/sqlmap/module/sst/SstBasicMapper.xml
View file @
373d3c64
This diff is collapsed.
Click to expand it.
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