Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
ea0c43ae
Commit
ea0c43ae
authored
Feb 21, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加窗口无人值守
parent
179b1589
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2014 additions
and
1073 deletions
+2014
-1073
base-manager/db/add.sql
base-manager/db/add.sql
+8
-0
base-manager/src/main/java/com/mortals/xhx/module/window/model/WindowEntity.java
...ava/com/mortals/xhx/module/window/model/WindowEntity.java
+77
-2
base-manager/src/main/java/com/mortals/xhx/module/window/model/WindowQuery.java
...java/com/mortals/xhx/module/window/model/WindowQuery.java
+1143
-526
base-manager/src/main/resources/sqlmap/module/window/WindowMapper.xml
.../src/main/resources/sqlmap/module/window/WindowMapper.xml
+782
-543
base-manager/src/test/java/com/mortals/httpclient/window/WindowController.http
.../java/com/mortals/httpclient/window/WindowController.http
+4
-2
No files found.
base-manager/db/add.sql
0 → 100644
View file @
ea0c43ae
-- ----------------------------
2023
-
2
-
21
-- ----------------------------
ALTER
TABLE
mortals_sys_window
ADD
COLUMN
`duty`
tinyint
(
1
)
COMMENT
'无人值守(1.是,0.否)'
AFTER
hongqi
;
ALTER
TABLE
mortals_sys_window
ADD
COLUMN
`dutyContent`
varchar
(
256
)
COMMENT
'显示内容'
AFTER
duty
;
ALTER
TABLE
mortals_sys_window
ADD
COLUMN
`dutyEnglish`
varchar
(
256
)
COMMENT
'显示英文'
AFTER
dutyContent
;
base-manager/src/main/java/com/mortals/xhx/module/window/model/WindowEntity.java
View file @
ea0c43ae
...
@@ -12,7 +12,7 @@ import com.mortals.xhx.module.window.model.vo.WindowVo;
...
@@ -12,7 +12,7 @@ import com.mortals.xhx.module.window.model.vo.WindowVo;
* 站点部门窗口实体对象
* 站点部门窗口实体对象
*
*
* @author zxfei
* @author zxfei
* @date 202
2-01-12
* @date 202
3-02-21
*/
*/
public
class
WindowEntity
extends
WindowVo
{
public
class
WindowEntity
extends
WindowVo
{
...
@@ -58,6 +58,18 @@ public class WindowEntity extends WindowVo {
...
@@ -58,6 +58,18 @@ public class WindowEntity extends WindowVo {
* 红旗窗口 (1.是,0.否)
* 红旗窗口 (1.是,0.否)
*/
*/
private
Integer
hongqi
;
private
Integer
hongqi
;
/**
* 无人值守(1.是,)
*/
private
Integer
duty
;
/**
* 显示内容
*/
private
String
dutyContent
;
/**
* 显示英文
*/
private
String
dutyEnglish
;
/**
/**
* 备注
* 备注
*/
*/
...
@@ -255,6 +267,60 @@ public class WindowEntity extends WindowVo {
...
@@ -255,6 +267,60 @@ public class WindowEntity extends WindowVo {
this
.
hongqi
=
hongqi
;
this
.
hongqi
=
hongqi
;
}
}
/**
* 获取 无人值守(1.是,)
*
* @return Integer
*/
public
Integer
getDuty
()
{
return
duty
;
}
/**
* 设置 无人值守(1.是,)
*
* @param duty
*/
public
void
setDuty
(
Integer
duty
)
{
this
.
duty
=
duty
;
}
/**
* 获取 显示内容
*
* @return String
*/
public
String
getDutyContent
()
{
return
dutyContent
;
}
/**
* 设置 显示内容
*
* @param dutyContent
*/
public
void
setDutyContent
(
String
dutyContent
)
{
this
.
dutyContent
=
dutyContent
;
}
/**
* 获取 显示英文
*
* @return String
*/
public
String
getDutyEnglish
()
{
return
dutyEnglish
;
}
/**
* 设置 显示英文
*
* @param dutyEnglish
*/
public
void
setDutyEnglish
(
String
dutyEnglish
)
{
this
.
dutyEnglish
=
dutyEnglish
;
}
/**
/**
* 获取 备注
* 获取 备注
*
*
...
@@ -339,6 +405,9 @@ public class WindowEntity extends WindowVo {
...
@@ -339,6 +405,9 @@ public class WindowEntity extends WindowVo {
sb
.
append
(
",englishRegion:"
).
append
(
getEnglishRegion
());
sb
.
append
(
",englishRegion:"
).
append
(
getEnglishRegion
());
sb
.
append
(
",fromnum:"
).
append
(
getFromnum
());
sb
.
append
(
",fromnum:"
).
append
(
getFromnum
());
sb
.
append
(
",hongqi:"
).
append
(
getHongqi
());
sb
.
append
(
",hongqi:"
).
append
(
getHongqi
());
sb
.
append
(
",duty:"
).
append
(
getDuty
());
sb
.
append
(
",dutyContent:"
).
append
(
getDutyContent
());
sb
.
append
(
",dutyEnglish:"
).
append
(
getDutyEnglish
());
sb
.
append
(
",summary:"
).
append
(
getSummary
());
sb
.
append
(
",summary:"
).
append
(
getSummary
());
sb
.
append
(
",building:"
).
append
(
getBuilding
());
sb
.
append
(
",building:"
).
append
(
getBuilding
());
sb
.
append
(
",level:"
).
append
(
getLevel
());
sb
.
append
(
",level:"
).
append
(
getLevel
());
...
@@ -351,7 +420,7 @@ public class WindowEntity extends WindowVo {
...
@@ -351,7 +420,7 @@ public class WindowEntity extends WindowVo {
this
.
siteName
=
""
;
this
.
siteName
=
""
;
this
.
deptId
=
0L
;
this
.
deptId
=
null
;
this
.
deptName
=
""
;
this
.
deptName
=
""
;
...
@@ -367,6 +436,12 @@ public class WindowEntity extends WindowVo {
...
@@ -367,6 +436,12 @@ public class WindowEntity extends WindowVo {
this
.
hongqi
=
1
;
this
.
hongqi
=
1
;
this
.
duty
=
0
;
this
.
dutyContent
=
""
;
this
.
dutyEnglish
=
""
;
this
.
summary
=
""
;
this
.
summary
=
""
;
this
.
building
=
1
;
this
.
building
=
1
;
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/model/WindowQuery.java
View file @
ea0c43ae
This diff is collapsed.
Click to expand it.
base-manager/src/main/resources/sqlmap/module/window/WindowMapper.xml
View file @
ea0c43ae
This diff is collapsed.
Click to expand it.
base-manager/src/test/java/com/mortals/httpclient/window/WindowController.http
View file @
ea0c43ae
...
@@ -4,9 +4,11 @@ POST {{baseUrl}}/window/list
...
@@ -4,9 +4,11 @@ POST {{baseUrl}}/window/list
Content-Type: application/json
Content-Type: application/json
{
{
"siteId":
8
,
"siteId":
1
,
"page":1,
"page":1,
"size":10
"size":10,
"name": "",
"fromnum": "1E%"
}
}
...
...
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