Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agent-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
赵啸非
agent-platform
Commits
b4f1d8c7
Commit
b4f1d8c7
authored
May 13, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加更新基础区域
parent
4b0a8856
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1462 additions
and
1199 deletions
+1462
-1199
agent-manager/src/main/java/com/mortals/xhx/module/base/model/BaseAreaEntity.java
...ava/com/mortals/xhx/module/base/model/BaseAreaEntity.java
+56
-269
agent-manager/src/main/java/com/mortals/xhx/module/base/model/BaseAreaQuery.java
...java/com/mortals/xhx/module/base/model/BaseAreaQuery.java
+741
-416
agent-manager/src/main/resources/sqlmap/module/base/BaseAreaMapper.xml
.../src/main/resources/sqlmap/module/base/BaseAreaMapper.xml
+665
-514
No files found.
agent-manager/src/main/java/com/mortals/xhx/module/base/model/BaseAreaEntity.java
View file @
b4f1d8c7
package
com.mortals.xhx.module.base.model
;
package
com.mortals.xhx.module.base.model
;
import
java.util.List
;
import
java.util.ArrayList
;
import
java.math.BigDecimal
;
import
cn.hutool.core.date.DateUtil
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.mortals.framework.annotation.Excel
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.base.model.vo.BaseAreaVo
;
import
com.mortals.xhx.module.base.model.vo.BaseAreaVo
;
import
lombok.Data
;
/**
/**
* 区域实体对象
* 区域实体对象
*
*
* @author zxfei
* @author zxfei
* @date 2022-11-22
* @date 2025-05-13
*/
*/
@Data
public
class
BaseAreaEntity
extends
BaseAreaVo
{
public
class
BaseAreaEntity
extends
BaseAreaVo
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -63,196 +71,6 @@ public class BaseAreaEntity extends BaseAreaVo {
...
@@ -63,196 +71,6 @@ public class BaseAreaEntity extends BaseAreaVo {
* 区域状态 (0.停用,1.正常)
* 区域状态 (0.停用,1.正常)
*/
*/
private
Integer
status
;
private
Integer
status
;
public
BaseAreaEntity
(){}
/**
* 获取 祖级列表,逗号分隔
* @return String
*/
public
String
getAncestors
(){
return
ancestors
;
}
/**
* 设置 祖级列表,逗号分隔
* @param ancestors
*/
public
void
setAncestors
(
String
ancestors
){
this
.
ancestors
=
ancestors
;
}
/**
* 获取 区域名称
* @return String
*/
public
String
getName
(){
return
name
;
}
/**
* 设置 区域名称
* @param name
*/
public
void
setName
(
String
name
){
this
.
name
=
name
;
}
/**
* 获取 一体化的ID号
* @return String
*/
public
String
getIid
(){
return
iid
;
}
/**
* 设置 一体化的ID号
* @param iid
*/
public
void
setIid
(
String
iid
){
this
.
iid
=
iid
;
}
/**
* 获取 一体化的父id
* @return String
*/
public
String
getPid
(){
return
pid
;
}
/**
* 设置 一体化的父id
* @param pid
*/
public
void
setPid
(
String
pid
){
this
.
pid
=
pid
;
}
/**
* 获取 是否有下级区域(True.是,False.否)
* @return String
*/
public
String
getHaveSonArea
(){
return
haveSonArea
;
}
/**
* 设置 是否有下级区域(True.是,False.否)
* @param haveSonArea
*/
public
void
setHaveSonArea
(
String
haveSonArea
){
this
.
haveSonArea
=
haveSonArea
;
}
/**
* 获取 是否有下级部门(True.是,False.否)
* @return String
*/
public
String
getHaveSonDept
(){
return
haveSonDept
;
}
/**
* 设置 是否有下级部门(True.是,False.否)
* @param haveSonDept
*/
public
void
setHaveSonDept
(
String
haveSonDept
){
this
.
haveSonDept
=
haveSonDept
;
}
/**
* 获取 是否获取部门(true.是,false.否)
* @return String
*/
public
String
getHaveGetDept
(){
return
haveGetDept
;
}
/**
* 设置 是否获取部门(true.是,false.否)
* @param haveGetDept
*/
public
void
setHaveGetDept
(
String
haveGetDept
){
this
.
haveGetDept
=
haveGetDept
;
}
/**
* 获取 是否获取事项列表(true.是,false.否)
* @return String
*/
public
String
getHaveGetMatterList
(){
return
haveGetMatterList
;
}
/**
* 设置 是否获取事项列表(true.是,false.否)
* @param haveGetMatterList
*/
public
void
setHaveGetMatterList
(
String
haveGetMatterList
){
this
.
haveGetMatterList
=
haveGetMatterList
;
}
/**
* 获取 区域编码
* @return String
*/
public
String
getAreaCode
(){
return
areaCode
;
}
/**
* 设置 区域编码
* @param areaCode
*/
public
void
setAreaCode
(
String
areaCode
){
this
.
areaCode
=
areaCode
;
}
/**
* 获取 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @return Integer
*/
public
Integer
getAreaLevel
(){
return
areaLevel
;
}
/**
* 设置 区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)
* @param areaLevel
*/
public
void
setAreaLevel
(
Integer
areaLevel
){
this
.
areaLevel
=
areaLevel
;
}
/**
* 获取 名称简称
* @return String
*/
public
String
getShortName
(){
return
shortName
;
}
/**
* 设置 名称简称
* @param shortName
*/
public
void
setShortName
(
String
shortName
){
this
.
shortName
=
shortName
;
}
/**
* 获取 访问地址
* @return String
*/
public
String
getDomain
(){
return
domain
;
}
/**
* 设置 访问地址
* @param domain
*/
public
void
setDomain
(
String
domain
){
this
.
domain
=
domain
;
}
/**
* 获取 区域状态 (0.停用,1.正常)
* @return Integer
*/
public
Integer
getStatus
(){
return
status
;
}
/**
* 设置 区域状态 (0.停用,1.正常)
* @param status
*/
public
void
setStatus
(
Integer
status
){
this
.
status
=
status
;
}
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
return
this
.
getId
().
hashCode
();
...
@@ -269,50 +87,19 @@ public class BaseAreaEntity extends BaseAreaVo {
...
@@ -269,50 +87,19 @@ public class BaseAreaEntity extends BaseAreaVo {
return
false
;
return
false
;
}
}
public
String
toString
(){
StringBuilder
sb
=
new
StringBuilder
(
""
);
sb
.
append
(
",ancestors:"
).
append
(
getAncestors
());
sb
.
append
(
",name:"
).
append
(
getName
());
sb
.
append
(
",iid:"
).
append
(
getIid
());
sb
.
append
(
",pid:"
).
append
(
getPid
());
sb
.
append
(
",haveSonArea:"
).
append
(
getHaveSonArea
());
sb
.
append
(
",haveSonDept:"
).
append
(
getHaveSonDept
());
sb
.
append
(
",haveGetDept:"
).
append
(
getHaveGetDept
());
sb
.
append
(
",haveGetMatterList:"
).
append
(
getHaveGetMatterList
());
sb
.
append
(
",areaCode:"
).
append
(
getAreaCode
());
sb
.
append
(
",areaLevel:"
).
append
(
getAreaLevel
());
sb
.
append
(
",shortName:"
).
append
(
getShortName
());
sb
.
append
(
",domain:"
).
append
(
getDomain
());
sb
.
append
(
",status:"
).
append
(
getStatus
());
return
sb
.
toString
();
}
public
void
initAttrValue
(){
public
void
initAttrValue
(){
this
.
ancestors
=
""
;
this
.
ancestors
=
""
;
this
.
name
=
""
;
this
.
name
=
""
;
this
.
iid
=
""
;
this
.
iid
=
""
;
this
.
pid
=
""
;
this
.
pid
=
""
;
this
.
haveSonArea
=
""
;
this
.
haveSonArea
=
""
;
this
.
haveSonDept
=
""
;
this
.
haveSonDept
=
""
;
this
.
haveGetDept
=
""
;
this
.
haveGetDept
=
""
;
this
.
haveGetMatterList
=
""
;
this
.
haveGetMatterList
=
""
;
this
.
areaCode
=
""
;
this
.
areaCode
=
""
;
this
.
areaLevel
=
1
;
this
.
areaLevel
=
1
;
this
.
shortName
=
""
;
this
.
shortName
=
""
;
this
.
domain
=
""
;
this
.
domain
=
""
;
this
.
status
=
1
;
this
.
status
=
1
;
}
}
}
}
\ No newline at end of file
agent-manager/src/main/java/com/mortals/xhx/module/base/model/BaseAreaQuery.java
View file @
b4f1d8c7
This diff is collapsed.
Click to expand it.
agent-manager/src/main/resources/sqlmap/module/base/BaseAreaMapper.xml
View file @
b4f1d8c7
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