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
9acc5326
Commit
9acc5326
authored
Mar 18, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加事项渠道
parent
59c7f342
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1383 additions
and
5 deletions
+1383
-5
base-manager/db/add.sql
base-manager/db/add.sql
+24
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/dao/MatterChannelDao.java
...a/com/mortals/xhx/module/matter/dao/MatterChannelDao.java
+17
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/dao/ibatis/MatterChannelDaoImpl.java
...ls/xhx/module/matter/dao/ibatis/MatterChannelDaoImpl.java
+21
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelEntity.java
.../mortals/xhx/module/matter/model/MatterChannelEntity.java
+85
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelQuery.java
...m/mortals/xhx/module/matter/model/MatterChannelQuery.java
+1122
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/model/vo/MatterChannelVo.java
...m/mortals/xhx/module/matter/model/vo/MatterChannelVo.java
+23
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/service/MatterChannelService.java
...rtals/xhx/module/matter/service/MatterChannelService.java
+16
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterChannelServiceImpl.java
.../module/matter/service/impl/MatterChannelServiceImpl.java
+24
-0
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
...als/xhx/module/matter/service/impl/MatterServiceImpl.java
+0
-4
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterChannelController.java
...ortals/xhx/module/matter/web/MatterChannelController.java
+51
-0
base-manager/src/test/java/com/mortals/httpclient/area/AreaController.http
...test/java/com/mortals/httpclient/area/AreaController.http
+0
-1
No files found.
base-manager/db/add.sql
View file @
9acc5326
...
@@ -296,3 +296,27 @@ ALTER TABLE mortals_sys_window ADD COLUMN `filePath` varchar (256) default "" C
...
@@ -296,3 +296,27 @@ ALTER TABLE mortals_sys_window ADD COLUMN `filePath` varchar (256) default "" C
ALTER
TABLE
mortals_sys_matter
ADD
COLUMN
`areaName`
varchar
(
255
)
COMMENT
'区域名称'
;
ALTER
TABLE
mortals_sys_matter
ADD
COLUMN
`areaName`
varchar
(
255
)
COMMENT
'区域名称'
;
ALTER
TABLE
mortals_sys_matter
ADD
COLUMN
`areaLevel`
tinyint
(
2
)
COMMENT
'区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)'
;
ALTER
TABLE
mortals_sys_matter
ADD
COLUMN
`areaLevel`
tinyint
(
2
)
COMMENT
'区域等级(1.省,2.地市州,3.区县,4.街道,5.社区)'
;
-- ----------------------------
-- 办理渠道
-- ----------------------------
DROP
TABLE
IF
EXISTS
`mortals_sys_matter_channel`
;
CREATE
TABLE
`mortals_sys_matter_channel`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键,自增长'
,
`matterId`
bigint
(
20
)
NOT
NULL
DEFAULT
0
COMMENT
'基础事项表id'
,
`matterCode`
varchar
(
512
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
''
,
`matterName`
varchar
(
1024
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'事项名称'
,
`name`
varchar
(
64
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'名称'
,
`description`
varchar
(
64
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'描述信息'
,
`icon`
varchar
(
64
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'图标'
,
`url`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'跳转地址'
,
`source`
tinyint
(
2
)
NULL
DEFAULT
0
COMMENT
'事项来源 (0.政务网,1.自定义)'
,
`remark`
varchar
(
512
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'备注'
,
`createTime`
datetime
(
0
)
NULL
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
(
0
)
COMMENT
'创建时间'
,
`createUserId`
bigint
(
20
)
NULL
DEFAULT
NULL
COMMENT
'创建用户'
,
`updateTime`
datetime
(
0
)
NULL
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
(
0
)
COMMENT
'修改时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
INDEX
`idx_matterId`
(
`matterId`
)
USING
BTREE
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
COMMENT
=
'办理渠道'
;
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/dao/MatterChannelDao.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.dao
;
import
com.mortals.framework.dao.ICRUDDao
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
import
java.util.List
;
/**
* 办理渠道Dao
* 办理渠道 DAO接口
*
* @author zxfei
* @date 2025-03-18
*/
public
interface
MatterChannelDao
extends
ICRUDDao
<
MatterChannelEntity
,
Long
>{
}
base-manager/src/main/java/com/mortals/xhx/module/matter/dao/ibatis/MatterChannelDaoImpl.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.dao.ibatis
;
import
org.springframework.stereotype.Repository
;
import
com.mortals.xhx.module.matter.dao.MatterChannelDao
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
import
java.util.Date
;
import
com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis
;
import
java.util.List
;
/**
* 办理渠道DaoImpl DAO接口
*
* @author zxfei
* @date 2025-03-18
*/
@Repository
(
"matterChannelDao"
)
public
class
MatterChannelDaoImpl
extends
BaseCRUDDaoMybatis
<
MatterChannelEntity
,
Long
>
implements
MatterChannelDao
{
}
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelEntity.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.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.matter.model.vo.MatterChannelVo
;
import
lombok.Data
;
/**
* 办理渠道实体对象
*
* @author zxfei
* @date 2025-03-18
*/
@Data
public
class
MatterChannelEntity
extends
MatterChannelVo
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 基础事项表id
*/
private
Long
matterId
;
/**
*
*/
private
String
matterCode
;
/**
* 事项名称
*/
private
String
matterName
;
/**
* 名称
*/
private
String
name
;
/**
* 图标
*/
private
String
icon
;
/**
* 跳转地址
*/
private
String
url
;
/**
* 事项来源 (0.政务网,1.自定义)
*/
private
Integer
source
;
/**
* 备注
*/
private
String
remark
;
/**
* 描述信息
*/
private
String
description
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
==
null
)
return
false
;
if
(
obj
instanceof
MatterChannelEntity
)
{
MatterChannelEntity
tmp
=
(
MatterChannelEntity
)
obj
;
if
(
this
.
getId
()
==
tmp
.
getId
())
{
return
true
;
}
}
return
false
;
}
public
void
initAttrValue
(){
this
.
matterId
=
0L
;
this
.
matterCode
=
""
;
this
.
matterName
=
""
;
this
.
name
=
""
;
this
.
icon
=
""
;
this
.
url
=
""
;
this
.
source
=
0
;
this
.
remark
=
""
;
this
.
description
=
""
;
}
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelQuery.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.model
;
import
java.util.List
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
/**
* 办理渠道查询对象
*
* @author zxfei
* @date 2025-03-18
*/
public
class
MatterChannelQuery
extends
MatterChannelEntity
{
/** 开始 主键,自增长 */
private
Long
idStart
;
/** 结束 主键,自增长 */
private
Long
idEnd
;
/** 增加 主键,自增长 */
private
Long
idIncrement
;
/** 主键,自增长列表 */
private
List
<
Long
>
idList
;
/** 主键,自增长排除列表 */
private
List
<
Long
>
idNotList
;
/** 开始 基础事项表id */
private
Long
matterIdStart
;
/** 结束 基础事项表id */
private
Long
matterIdEnd
;
/** 增加 基础事项表id */
private
Long
matterIdIncrement
;
/** 基础事项表id列表 */
private
List
<
Long
>
matterIdList
;
/** 基础事项表id排除列表 */
private
List
<
Long
>
matterIdNotList
;
/** */
private
List
<
String
>
matterCodeList
;
/** 排除列表 */
private
List
<
String
>
matterCodeNotList
;
/** 事项名称 */
private
List
<
String
>
matterNameList
;
/** 事项名称排除列表 */
private
List
<
String
>
matterNameNotList
;
/** 名称 */
private
List
<
String
>
nameList
;
/** 名称排除列表 */
private
List
<
String
>
nameNotList
;
/** 图标 */
private
List
<
String
>
iconList
;
/** 图标排除列表 */
private
List
<
String
>
iconNotList
;
/** 跳转地址 */
private
List
<
String
>
urlList
;
/** 跳转地址排除列表 */
private
List
<
String
>
urlNotList
;
/** 开始 事项来源 (0.政务网,1.自定义) */
private
Integer
sourceStart
;
/** 结束 事项来源 (0.政务网,1.自定义) */
private
Integer
sourceEnd
;
/** 增加 事项来源 (0.政务网,1.自定义) */
private
Integer
sourceIncrement
;
/** 事项来源 (0.政务网,1.自定义)列表 */
private
List
<
Integer
>
sourceList
;
/** 事项来源 (0.政务网,1.自定义)排除列表 */
private
List
<
Integer
>
sourceNotList
;
/** 备注 */
private
List
<
String
>
remarkList
;
/** 备注排除列表 */
private
List
<
String
>
remarkNotList
;
/** 开始 创建时间 */
private
String
createTimeStart
;
/** 结束 创建时间 */
private
String
createTimeEnd
;
/** 开始 创建用户 */
private
Long
createUserIdStart
;
/** 结束 创建用户 */
private
Long
createUserIdEnd
;
/** 增加 创建用户 */
private
Long
createUserIdIncrement
;
/** 创建用户列表 */
private
List
<
Long
>
createUserIdList
;
/** 创建用户排除列表 */
private
List
<
Long
>
createUserIdNotList
;
/** 开始 修改时间 */
private
String
updateTimeStart
;
/** 结束 修改时间 */
private
String
updateTimeEnd
;
/** 描述信息 */
private
List
<
String
>
descriptionList
;
/** 描述信息排除列表 */
private
List
<
String
>
descriptionNotList
;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
MatterChannelQuery
>
orConditionList
;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private
List
<
MatterChannelQuery
>
andConditionList
;
public
MatterChannelQuery
(){}
/**
* 获取 开始 主键,自增长
* @return idStart
*/
public
Long
getIdStart
(){
return
this
.
idStart
;
}
/**
* 设置 开始 主键,自增长
* @param idStart
*/
public
void
setIdStart
(
Long
idStart
){
this
.
idStart
=
idStart
;
}
/**
* 获取 结束 主键,自增长
* @return $idEnd
*/
public
Long
getIdEnd
(){
return
this
.
idEnd
;
}
/**
* 设置 结束 主键,自增长
* @param idEnd
*/
public
void
setIdEnd
(
Long
idEnd
){
this
.
idEnd
=
idEnd
;
}
/**
* 获取 增加 主键,自增长
* @return idIncrement
*/
public
Long
getIdIncrement
(){
return
this
.
idIncrement
;
}
/**
* 设置 增加 主键,自增长
* @param idIncrement
*/
public
void
setIdIncrement
(
Long
idIncrement
){
this
.
idIncrement
=
idIncrement
;
}
/**
* 获取 主键,自增长
* @return idList
*/
public
List
<
Long
>
getIdList
(){
return
this
.
idList
;
}
/**
* 设置 主键,自增长
* @param idList
*/
public
void
setIdList
(
List
<
Long
>
idList
){
this
.
idList
=
idList
;
}
/**
* 获取 主键,自增长
* @return idNotList
*/
public
List
<
Long
>
getIdNotList
(){
return
this
.
idNotList
;
}
/**
* 设置 主键,自增长
* @param idNotList
*/
public
void
setIdNotList
(
List
<
Long
>
idNotList
){
this
.
idNotList
=
idNotList
;
}
/**
* 获取 开始 基础事项表id
* @return matterIdStart
*/
public
Long
getMatterIdStart
(){
return
this
.
matterIdStart
;
}
/**
* 设置 开始 基础事项表id
* @param matterIdStart
*/
public
void
setMatterIdStart
(
Long
matterIdStart
){
this
.
matterIdStart
=
matterIdStart
;
}
/**
* 获取 结束 基础事项表id
* @return $matterIdEnd
*/
public
Long
getMatterIdEnd
(){
return
this
.
matterIdEnd
;
}
/**
* 设置 结束 基础事项表id
* @param matterIdEnd
*/
public
void
setMatterIdEnd
(
Long
matterIdEnd
){
this
.
matterIdEnd
=
matterIdEnd
;
}
/**
* 获取 增加 基础事项表id
* @return matterIdIncrement
*/
public
Long
getMatterIdIncrement
(){
return
this
.
matterIdIncrement
;
}
/**
* 设置 增加 基础事项表id
* @param matterIdIncrement
*/
public
void
setMatterIdIncrement
(
Long
matterIdIncrement
){
this
.
matterIdIncrement
=
matterIdIncrement
;
}
/**
* 获取 基础事项表id
* @return matterIdList
*/
public
List
<
Long
>
getMatterIdList
(){
return
this
.
matterIdList
;
}
/**
* 设置 基础事项表id
* @param matterIdList
*/
public
void
setMatterIdList
(
List
<
Long
>
matterIdList
){
this
.
matterIdList
=
matterIdList
;
}
/**
* 获取 基础事项表id
* @return matterIdNotList
*/
public
List
<
Long
>
getMatterIdNotList
(){
return
this
.
matterIdNotList
;
}
/**
* 设置 基础事项表id
* @param matterIdNotList
*/
public
void
setMatterIdNotList
(
List
<
Long
>
matterIdNotList
){
this
.
matterIdNotList
=
matterIdNotList
;
}
/**
* 获取
* @return matterCodeList
*/
public
List
<
String
>
getMatterCodeList
(){
return
this
.
matterCodeList
;
}
/**
* 设置
* @param matterCodeList
*/
public
void
setMatterCodeList
(
List
<
String
>
matterCodeList
){
this
.
matterCodeList
=
matterCodeList
;
}
/**
* 获取
* @return matterCodeNotList
*/
public
List
<
String
>
getMatterCodeNotList
(){
return
this
.
matterCodeNotList
;
}
/**
* 设置
* @param matterCodeNotList
*/
public
void
setMatterCodeNotList
(
List
<
String
>
matterCodeNotList
){
this
.
matterCodeNotList
=
matterCodeNotList
;
}
/**
* 获取 事项名称
* @return matterNameList
*/
public
List
<
String
>
getMatterNameList
(){
return
this
.
matterNameList
;
}
/**
* 设置 事项名称
* @param matterNameList
*/
public
void
setMatterNameList
(
List
<
String
>
matterNameList
){
this
.
matterNameList
=
matterNameList
;
}
/**
* 获取 事项名称
* @return matterNameNotList
*/
public
List
<
String
>
getMatterNameNotList
(){
return
this
.
matterNameNotList
;
}
/**
* 设置 事项名称
* @param matterNameNotList
*/
public
void
setMatterNameNotList
(
List
<
String
>
matterNameNotList
){
this
.
matterNameNotList
=
matterNameNotList
;
}
/**
* 获取 名称
* @return nameList
*/
public
List
<
String
>
getNameList
(){
return
this
.
nameList
;
}
/**
* 设置 名称
* @param nameList
*/
public
void
setNameList
(
List
<
String
>
nameList
){
this
.
nameList
=
nameList
;
}
/**
* 获取 名称
* @return nameNotList
*/
public
List
<
String
>
getNameNotList
(){
return
this
.
nameNotList
;
}
/**
* 设置 名称
* @param nameNotList
*/
public
void
setNameNotList
(
List
<
String
>
nameNotList
){
this
.
nameNotList
=
nameNotList
;
}
/**
* 获取 图标
* @return iconList
*/
public
List
<
String
>
getIconList
(){
return
this
.
iconList
;
}
/**
* 设置 图标
* @param iconList
*/
public
void
setIconList
(
List
<
String
>
iconList
){
this
.
iconList
=
iconList
;
}
/**
* 获取 图标
* @return iconNotList
*/
public
List
<
String
>
getIconNotList
(){
return
this
.
iconNotList
;
}
/**
* 设置 图标
* @param iconNotList
*/
public
void
setIconNotList
(
List
<
String
>
iconNotList
){
this
.
iconNotList
=
iconNotList
;
}
/**
* 获取 跳转地址
* @return urlList
*/
public
List
<
String
>
getUrlList
(){
return
this
.
urlList
;
}
/**
* 设置 跳转地址
* @param urlList
*/
public
void
setUrlList
(
List
<
String
>
urlList
){
this
.
urlList
=
urlList
;
}
/**
* 获取 跳转地址
* @return urlNotList
*/
public
List
<
String
>
getUrlNotList
(){
return
this
.
urlNotList
;
}
/**
* 设置 跳转地址
* @param urlNotList
*/
public
void
setUrlNotList
(
List
<
String
>
urlNotList
){
this
.
urlNotList
=
urlNotList
;
}
/**
* 获取 开始 事项来源 (0.政务网,1.自定义)
* @return sourceStart
*/
public
Integer
getSourceStart
(){
return
this
.
sourceStart
;
}
/**
* 设置 开始 事项来源 (0.政务网,1.自定义)
* @param sourceStart
*/
public
void
setSourceStart
(
Integer
sourceStart
){
this
.
sourceStart
=
sourceStart
;
}
/**
* 获取 结束 事项来源 (0.政务网,1.自定义)
* @return $sourceEnd
*/
public
Integer
getSourceEnd
(){
return
this
.
sourceEnd
;
}
/**
* 设置 结束 事项来源 (0.政务网,1.自定义)
* @param sourceEnd
*/
public
void
setSourceEnd
(
Integer
sourceEnd
){
this
.
sourceEnd
=
sourceEnd
;
}
/**
* 获取 增加 事项来源 (0.政务网,1.自定义)
* @return sourceIncrement
*/
public
Integer
getSourceIncrement
(){
return
this
.
sourceIncrement
;
}
/**
* 设置 增加 事项来源 (0.政务网,1.自定义)
* @param sourceIncrement
*/
public
void
setSourceIncrement
(
Integer
sourceIncrement
){
this
.
sourceIncrement
=
sourceIncrement
;
}
/**
* 获取 事项来源 (0.政务网,1.自定义)
* @return sourceList
*/
public
List
<
Integer
>
getSourceList
(){
return
this
.
sourceList
;
}
/**
* 设置 事项来源 (0.政务网,1.自定义)
* @param sourceList
*/
public
void
setSourceList
(
List
<
Integer
>
sourceList
){
this
.
sourceList
=
sourceList
;
}
/**
* 获取 事项来源 (0.政务网,1.自定义)
* @return sourceNotList
*/
public
List
<
Integer
>
getSourceNotList
(){
return
this
.
sourceNotList
;
}
/**
* 设置 事项来源 (0.政务网,1.自定义)
* @param sourceNotList
*/
public
void
setSourceNotList
(
List
<
Integer
>
sourceNotList
){
this
.
sourceNotList
=
sourceNotList
;
}
/**
* 获取 备注
* @return remarkList
*/
public
List
<
String
>
getRemarkList
(){
return
this
.
remarkList
;
}
/**
* 设置 备注
* @param remarkList
*/
public
void
setRemarkList
(
List
<
String
>
remarkList
){
this
.
remarkList
=
remarkList
;
}
/**
* 获取 备注
* @return remarkNotList
*/
public
List
<
String
>
getRemarkNotList
(){
return
this
.
remarkNotList
;
}
/**
* 设置 备注
* @param remarkNotList
*/
public
void
setRemarkNotList
(
List
<
String
>
remarkNotList
){
this
.
remarkNotList
=
remarkNotList
;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public
String
getCreateTimeStart
(){
return
this
.
createTimeStart
;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public
void
setCreateTimeStart
(
String
createTimeStart
){
this
.
createTimeStart
=
createTimeStart
;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public
String
getCreateTimeEnd
(){
return
this
.
createTimeEnd
;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public
void
setCreateTimeEnd
(
String
createTimeEnd
){
this
.
createTimeEnd
=
createTimeEnd
;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public
Long
getCreateUserIdStart
(){
return
this
.
createUserIdStart
;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public
void
setCreateUserIdStart
(
Long
createUserIdStart
){
this
.
createUserIdStart
=
createUserIdStart
;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public
Long
getCreateUserIdEnd
(){
return
this
.
createUserIdEnd
;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public
void
setCreateUserIdEnd
(
Long
createUserIdEnd
){
this
.
createUserIdEnd
=
createUserIdEnd
;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public
Long
getCreateUserIdIncrement
(){
return
this
.
createUserIdIncrement
;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public
void
setCreateUserIdIncrement
(
Long
createUserIdIncrement
){
this
.
createUserIdIncrement
=
createUserIdIncrement
;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public
List
<
Long
>
getCreateUserIdList
(){
return
this
.
createUserIdList
;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public
void
setCreateUserIdList
(
List
<
Long
>
createUserIdList
){
this
.
createUserIdList
=
createUserIdList
;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public
List
<
Long
>
getCreateUserIdNotList
(){
return
this
.
createUserIdNotList
;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public
void
setCreateUserIdNotList
(
List
<
Long
>
createUserIdNotList
){
this
.
createUserIdNotList
=
createUserIdNotList
;
}
/**
* 获取 开始 修改时间
* @return updateTimeStart
*/
public
String
getUpdateTimeStart
(){
return
this
.
updateTimeStart
;
}
/**
* 设置 开始 修改时间
* @param updateTimeStart
*/
public
void
setUpdateTimeStart
(
String
updateTimeStart
){
this
.
updateTimeStart
=
updateTimeStart
;
}
/**
* 获取 结束 修改时间
* @return updateTimeEnd
*/
public
String
getUpdateTimeEnd
(){
return
this
.
updateTimeEnd
;
}
/**
* 设置 结束 修改时间
* @param updateTimeEnd
*/
public
void
setUpdateTimeEnd
(
String
updateTimeEnd
){
this
.
updateTimeEnd
=
updateTimeEnd
;
}
/**
* 获取 描述信息
* @return descriptionList
*/
public
List
<
String
>
getDescriptionList
(){
return
this
.
descriptionList
;
}
/**
* 设置 描述信息
* @param descriptionList
*/
public
void
setDescriptionList
(
List
<
String
>
descriptionList
){
this
.
descriptionList
=
descriptionList
;
}
/**
* 获取 描述信息
* @return descriptionNotList
*/
public
List
<
String
>
getDescriptionNotList
(){
return
this
.
descriptionNotList
;
}
/**
* 设置 描述信息
* @param descriptionNotList
*/
public
void
setDescriptionNotList
(
List
<
String
>
descriptionNotList
){
this
.
descriptionNotList
=
descriptionNotList
;
}
/**
* 设置 主键,自增长
* @param id
*/
public
MatterChannelQuery
id
(
Long
id
){
setId
(
id
);
return
this
;
}
/**
* 设置 开始 主键,自增长
* @param idStart
*/
public
MatterChannelQuery
idStart
(
Long
idStart
){
this
.
idStart
=
idStart
;
return
this
;
}
/**
* 设置 结束 主键,自增长
* @param idEnd
*/
public
MatterChannelQuery
idEnd
(
Long
idEnd
){
this
.
idEnd
=
idEnd
;
return
this
;
}
/**
* 设置 增加 主键,自增长
* @param idIncrement
*/
public
MatterChannelQuery
idIncrement
(
Long
idIncrement
){
this
.
idIncrement
=
idIncrement
;
return
this
;
}
/**
* 设置 主键,自增长
* @param idList
*/
public
MatterChannelQuery
idList
(
List
<
Long
>
idList
){
this
.
idList
=
idList
;
return
this
;
}
/**
* 设置 主键,自增长
* @param idNotList
*/
public
MatterChannelQuery
idNotList
(
List
<
Long
>
idNotList
){
this
.
idNotList
=
idNotList
;
return
this
;
}
/**
* 设置 基础事项表id
* @param matterId
*/
public
MatterChannelQuery
matterId
(
Long
matterId
){
setMatterId
(
matterId
);
return
this
;
}
/**
* 设置 开始 基础事项表id
* @param matterIdStart
*/
public
MatterChannelQuery
matterIdStart
(
Long
matterIdStart
){
this
.
matterIdStart
=
matterIdStart
;
return
this
;
}
/**
* 设置 结束 基础事项表id
* @param matterIdEnd
*/
public
MatterChannelQuery
matterIdEnd
(
Long
matterIdEnd
){
this
.
matterIdEnd
=
matterIdEnd
;
return
this
;
}
/**
* 设置 增加 基础事项表id
* @param matterIdIncrement
*/
public
MatterChannelQuery
matterIdIncrement
(
Long
matterIdIncrement
){
this
.
matterIdIncrement
=
matterIdIncrement
;
return
this
;
}
/**
* 设置 基础事项表id
* @param matterIdList
*/
public
MatterChannelQuery
matterIdList
(
List
<
Long
>
matterIdList
){
this
.
matterIdList
=
matterIdList
;
return
this
;
}
/**
* 设置 基础事项表id
* @param matterIdNotList
*/
public
MatterChannelQuery
matterIdNotList
(
List
<
Long
>
matterIdNotList
){
this
.
matterIdNotList
=
matterIdNotList
;
return
this
;
}
/**
* 设置
* @param matterCode
*/
public
MatterChannelQuery
matterCode
(
String
matterCode
){
setMatterCode
(
matterCode
);
return
this
;
}
/**
* 设置
* @param matterCodeList
*/
public
MatterChannelQuery
matterCodeList
(
List
<
String
>
matterCodeList
){
this
.
matterCodeList
=
matterCodeList
;
return
this
;
}
/**
* 设置 事项名称
* @param matterName
*/
public
MatterChannelQuery
matterName
(
String
matterName
){
setMatterName
(
matterName
);
return
this
;
}
/**
* 设置 事项名称
* @param matterNameList
*/
public
MatterChannelQuery
matterNameList
(
List
<
String
>
matterNameList
){
this
.
matterNameList
=
matterNameList
;
return
this
;
}
/**
* 设置 名称
* @param name
*/
public
MatterChannelQuery
name
(
String
name
){
setName
(
name
);
return
this
;
}
/**
* 设置 名称
* @param nameList
*/
public
MatterChannelQuery
nameList
(
List
<
String
>
nameList
){
this
.
nameList
=
nameList
;
return
this
;
}
/**
* 设置 图标
* @param icon
*/
public
MatterChannelQuery
icon
(
String
icon
){
setIcon
(
icon
);
return
this
;
}
/**
* 设置 图标
* @param iconList
*/
public
MatterChannelQuery
iconList
(
List
<
String
>
iconList
){
this
.
iconList
=
iconList
;
return
this
;
}
/**
* 设置 跳转地址
* @param url
*/
public
MatterChannelQuery
url
(
String
url
){
setUrl
(
url
);
return
this
;
}
/**
* 设置 跳转地址
* @param urlList
*/
public
MatterChannelQuery
urlList
(
List
<
String
>
urlList
){
this
.
urlList
=
urlList
;
return
this
;
}
/**
* 设置 事项来源 (0.政务网,1.自定义)
* @param source
*/
public
MatterChannelQuery
source
(
Integer
source
){
setSource
(
source
);
return
this
;
}
/**
* 设置 开始 事项来源 (0.政务网,1.自定义)
* @param sourceStart
*/
public
MatterChannelQuery
sourceStart
(
Integer
sourceStart
){
this
.
sourceStart
=
sourceStart
;
return
this
;
}
/**
* 设置 结束 事项来源 (0.政务网,1.自定义)
* @param sourceEnd
*/
public
MatterChannelQuery
sourceEnd
(
Integer
sourceEnd
){
this
.
sourceEnd
=
sourceEnd
;
return
this
;
}
/**
* 设置 增加 事项来源 (0.政务网,1.自定义)
* @param sourceIncrement
*/
public
MatterChannelQuery
sourceIncrement
(
Integer
sourceIncrement
){
this
.
sourceIncrement
=
sourceIncrement
;
return
this
;
}
/**
* 设置 事项来源 (0.政务网,1.自定义)
* @param sourceList
*/
public
MatterChannelQuery
sourceList
(
List
<
Integer
>
sourceList
){
this
.
sourceList
=
sourceList
;
return
this
;
}
/**
* 设置 事项来源 (0.政务网,1.自定义)
* @param sourceNotList
*/
public
MatterChannelQuery
sourceNotList
(
List
<
Integer
>
sourceNotList
){
this
.
sourceNotList
=
sourceNotList
;
return
this
;
}
/**
* 设置 备注
* @param remark
*/
public
MatterChannelQuery
remark
(
String
remark
){
setRemark
(
remark
);
return
this
;
}
/**
* 设置 备注
* @param remarkList
*/
public
MatterChannelQuery
remarkList
(
List
<
String
>
remarkList
){
this
.
remarkList
=
remarkList
;
return
this
;
}
/**
* 设置 创建用户
* @param createUserId
*/
public
MatterChannelQuery
createUserId
(
Long
createUserId
){
setCreateUserId
(
createUserId
);
return
this
;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public
MatterChannelQuery
createUserIdStart
(
Long
createUserIdStart
){
this
.
createUserIdStart
=
createUserIdStart
;
return
this
;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public
MatterChannelQuery
createUserIdEnd
(
Long
createUserIdEnd
){
this
.
createUserIdEnd
=
createUserIdEnd
;
return
this
;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public
MatterChannelQuery
createUserIdIncrement
(
Long
createUserIdIncrement
){
this
.
createUserIdIncrement
=
createUserIdIncrement
;
return
this
;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public
MatterChannelQuery
createUserIdList
(
List
<
Long
>
createUserIdList
){
this
.
createUserIdList
=
createUserIdList
;
return
this
;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public
MatterChannelQuery
createUserIdNotList
(
List
<
Long
>
createUserIdNotList
){
this
.
createUserIdNotList
=
createUserIdNotList
;
return
this
;
}
/**
* 设置 描述信息
* @param description
*/
public
MatterChannelQuery
description
(
String
description
){
setDescription
(
description
);
return
this
;
}
/**
* 设置 描述信息
* @param descriptionList
*/
public
MatterChannelQuery
descriptionList
(
List
<
String
>
descriptionList
){
this
.
descriptionList
=
descriptionList
;
return
this
;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public
List
<
MatterChannelQuery
>
getOrConditionList
(){
return
this
.
orConditionList
;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public
void
setOrConditionList
(
List
<
MatterChannelQuery
>
orConditionList
){
this
.
orConditionList
=
orConditionList
;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public
List
<
MatterChannelQuery
>
getAndConditionList
(){
return
this
.
andConditionList
;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public
void
setAndConditionList
(
List
<
MatterChannelQuery
>
andConditionList
){
this
.
andConditionList
=
andConditionList
;
}
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/model/vo/MatterChannelVo.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.model.vo
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
import
java.util.ArrayList
;
import
java.util.List
;
import
lombok.Data
;
import
com.mortals.framework.annotation.Excel
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 办理渠道视图对象
*
* @author zxfei
* @date 2025-03-18
*/
@Data
public
class
MatterChannelVo
extends
BaseEntityLong
{
/** 主键,自增长列表 */
private
List
<
Long
>
idList
;
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/service/MatterChannelService.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.service
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
import
com.mortals.xhx.module.matter.dao.MatterChannelDao
;
/**
* MatterChannelService
*
* 办理渠道 service接口
*
* @author zxfei
* @date 2025-03-18
*/
public
interface
MatterChannelService
extends
ICRUDService
<
MatterChannelEntity
,
Long
>{
MatterChannelDao
getDao
();
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterChannelServiceImpl.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.service.impl
;
import
com.mortals.framework.model.PageInfo
;
import
org.springframework.beans.BeanUtils
;
import
java.util.function.Function
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.xhx.module.matter.dao.MatterChannelDao
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
import
com.mortals.xhx.module.matter.service.MatterChannelService
;
import
lombok.extern.slf4j.Slf4j
;
/**
* MatterChannelService
* 办理渠道 service实现
*
* @author zxfei
* @date 2025-03-18
*/
@Service
(
"matterChannelService"
)
@Slf4j
public
class
MatterChannelServiceImpl
extends
AbstractCRUDServiceImpl
<
MatterChannelDao
,
MatterChannelEntity
,
Long
>
implements
MatterChannelService
{
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
View file @
9acc5326
...
@@ -824,10 +824,6 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
...
@@ -824,10 +824,6 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
matterFlowlimitEntity
.
setFlowDesc
(
m
.
getValue
().
toString
());
matterFlowlimitEntity
.
setFlowDesc
(
m
.
getValue
().
toString
());
bool
=
true
;
bool
=
true
;
}
}
// if(!bool){
// System.out.println("name:" + m.getKey());
// System.out.print(" value:" + m.getValue());
// }
}).
count
();
}).
count
();
}
}
flowlimitEntityArrayList
.
add
(
matterFlowlimitEntity
);
flowlimitEntityArrayList
.
add
(
matterFlowlimitEntity
);
...
...
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterChannelController.java
0 → 100644
View file @
9acc5326
package
com.mortals.xhx.module.matter.web
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
import
com.mortals.framework.model.Context
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.module.matter.model.MatterChannelEntity
;
import
com.mortals.xhx.module.matter.service.MatterChannelService
;
import
org.apache.commons.lang3.ArrayUtils
;
import
com.mortals.framework.util.StringUtils
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
import
com.alibaba.fastjson.JSONObject
;
import
java.util.Arrays
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
static
com
.
mortals
.
framework
.
ap
.
SysConstains
.*;
import
com.mortals.xhx.common.code.*
;
/**
*
* 办理渠道
*
* @author zxfei
* @date 2025-03-18
*/
@RestController
@RequestMapping
(
"matter/channel"
)
public
class
MatterChannelController
extends
BaseCRUDJsonBodyMappingController
<
MatterChannelService
,
MatterChannelEntity
,
Long
>
{
@Autowired
private
ParamService
paramService
;
public
MatterChannelController
(){
super
.
setModuleDesc
(
"办理渠道"
);
}
@Override
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"source"
,
SourceEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
}
}
\ No newline at end of file
base-manager/src/test/java/com/mortals/httpclient/area/AreaController.http
View file @
9acc5326
...
@@ -4,7 +4,6 @@ POST {{baseUrl}}/area/list
...
@@ -4,7 +4,6 @@ POST {{baseUrl}}/area/list
Content-Type: application/json
Content-Type: application/json
{
{
"pid":0,
"page":1,
"page":1,
"size":5
"size":5
}
}
...
...
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