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
38464900
Commit
38464900
authored
Mar 19, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加事项渠道
parent
6f4ed7b8
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1611 additions
and
484 deletions
+1611
-484
base-manager/db/add.sql
base-manager/db/add.sql
+3
-1
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelEntity.java
.../mortals/xhx/module/matter/model/MatterChannelEntity.java
+44
-34
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelQuery.java
...m/mortals/xhx/module/matter/model/MatterChannelQuery.java
+655
-449
base-manager/src/main/resources/sqlmap/module/matter/MatterChannelMapper.xml
...in/resources/sqlmap/module/matter/MatterChannelMapper.xml
+909
-0
No files found.
base-manager/db/add.sql
View file @
38464900
...
...
@@ -308,11 +308,13 @@ CREATE TABLE `mortals_sys_matter_channel` (
`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
'名称'
,
`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
'跳转地址'
,
`qrCode`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'二维码图片'
,
`source`
tinyint
(
2
)
NULL
DEFAULT
0
COMMENT
'事项来源 (0.政务网,1.自定义)'
,
`appType`
tinyint
(
2
)
NULL
DEFAULT
0
COMMENT
'app来源类型 (0.PC端,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
'创建用户'
,
...
...
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelEntity.java
View file @
38464900
...
...
@@ -10,11 +10,11 @@ import com.mortals.framework.model.BaseEntityLong;
import
com.mortals.xhx.module.matter.model.vo.MatterChannelVo
;
import
lombok.Data
;
/**
* 办理渠道实体对象
*
* @author zxfei
* @date 2025-03-18
*/
* 办理渠道实体对象
*
* @author zxfei
* @date 2025-03-19
*/
@Data
public
class
MatterChannelEntity
extends
MatterChannelVo
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -55,6 +55,14 @@ public class MatterChannelEntity extends MatterChannelVo {
* 描述信息
*/
private
String
description
;
/**
* 二维码图片
*/
private
String
qrCode
;
/**
* app来源类型 (0.PC端,1.移动端)
*/
private
Integer
appType
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
...
...
@@ -81,5 +89,7 @@ public class MatterChannelEntity extends MatterChannelVo {
this
.
source
=
0
;
this
.
remark
=
""
;
this
.
description
=
""
;
this
.
qrCode
=
""
;
this
.
appType
=
0
;
}
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/matter/model/MatterChannelQuery.java
View file @
38464900
...
...
@@ -3,11 +3,11 @@ 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
*/
* 办理渠道查询对象
*
* @author zxfei
* @date 2025-03-19
*/
public
class
MatterChannelQuery
extends
MatterChannelEntity
{
/** 开始 主键,自增长 */
private
Long
idStart
;
...
...
@@ -116,6 +116,26 @@ public class MatterChannelQuery extends MatterChannelEntity {
/** 描述信息排除列表 */
private
List
<
String
>
descriptionNotList
;
/** 二维码图片 */
private
List
<
String
>
qrCodeList
;
/** 二维码图片排除列表 */
private
List
<
String
>
qrCodeNotList
;
/** 开始 app来源类型 (0.PC端,1.移动端) */
private
Integer
appTypeStart
;
/** 结束 app来源类型 (0.PC端,1.移动端) */
private
Integer
appTypeEnd
;
/** 增加 app来源类型 (0.PC端,1.移动端) */
private
Integer
appTypeIncrement
;
/** app来源类型 (0.PC端,1.移动端)列表 */
private
List
<
Integer
>
appTypeList
;
/** app来源类型 (0.PC端,1.移动端)排除列表 */
private
List
<
Integer
>
appTypeNotList
;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
MatterChannelQuery
>
orConditionList
;
...
...
@@ -736,6 +756,119 @@ public class MatterChannelQuery extends MatterChannelEntity {
this
.
descriptionNotList
=
descriptionNotList
;
}
/**
* 获取 二维码图片
* @return qrCodeList
*/
public
List
<
String
>
getQrCodeList
(){
return
this
.
qrCodeList
;
}
/**
* 设置 二维码图片
* @param qrCodeList
*/
public
void
setQrCodeList
(
List
<
String
>
qrCodeList
){
this
.
qrCodeList
=
qrCodeList
;
}
/**
* 获取 二维码图片
* @return qrCodeNotList
*/
public
List
<
String
>
getQrCodeNotList
(){
return
this
.
qrCodeNotList
;
}
/**
* 设置 二维码图片
* @param qrCodeNotList
*/
public
void
setQrCodeNotList
(
List
<
String
>
qrCodeNotList
){
this
.
qrCodeNotList
=
qrCodeNotList
;
}
/**
* 获取 开始 app来源类型 (0.PC端,1.移动端)
* @return appTypeStart
*/
public
Integer
getAppTypeStart
(){
return
this
.
appTypeStart
;
}
/**
* 设置 开始 app来源类型 (0.PC端,1.移动端)
* @param appTypeStart
*/
public
void
setAppTypeStart
(
Integer
appTypeStart
){
this
.
appTypeStart
=
appTypeStart
;
}
/**
* 获取 结束 app来源类型 (0.PC端,1.移动端)
* @return $appTypeEnd
*/
public
Integer
getAppTypeEnd
(){
return
this
.
appTypeEnd
;
}
/**
* 设置 结束 app来源类型 (0.PC端,1.移动端)
* @param appTypeEnd
*/
public
void
setAppTypeEnd
(
Integer
appTypeEnd
){
this
.
appTypeEnd
=
appTypeEnd
;
}
/**
* 获取 增加 app来源类型 (0.PC端,1.移动端)
* @return appTypeIncrement
*/
public
Integer
getAppTypeIncrement
(){
return
this
.
appTypeIncrement
;
}
/**
* 设置 增加 app来源类型 (0.PC端,1.移动端)
* @param appTypeIncrement
*/
public
void
setAppTypeIncrement
(
Integer
appTypeIncrement
){
this
.
appTypeIncrement
=
appTypeIncrement
;
}
/**
* 获取 app来源类型 (0.PC端,1.移动端)
* @return appTypeList
*/
public
List
<
Integer
>
getAppTypeList
(){
return
this
.
appTypeList
;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeList
*/
public
void
setAppTypeList
(
List
<
Integer
>
appTypeList
){
this
.
appTypeList
=
appTypeList
;
}
/**
* 获取 app来源类型 (0.PC端,1.移动端)
* @return appTypeNotList
*/
public
List
<
Integer
>
getAppTypeNotList
(){
return
this
.
appTypeNotList
;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeNotList
*/
public
void
setAppTypeNotList
(
List
<
Integer
>
appTypeNotList
){
this
.
appTypeNotList
=
appTypeNotList
;
}
/**
* 设置 主键,自增长
* @param id
...
...
@@ -1087,6 +1220,79 @@ public class MatterChannelQuery extends MatterChannelEntity {
return
this
;
}
/**
* 设置 二维码图片
* @param qrCode
*/
public
MatterChannelQuery
qrCode
(
String
qrCode
){
setQrCode
(
qrCode
);
return
this
;
}
/**
* 设置 二维码图片
* @param qrCodeList
*/
public
MatterChannelQuery
qrCodeList
(
List
<
String
>
qrCodeList
){
this
.
qrCodeList
=
qrCodeList
;
return
this
;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appType
*/
public
MatterChannelQuery
appType
(
Integer
appType
){
setAppType
(
appType
);
return
this
;
}
/**
* 设置 开始 app来源类型 (0.PC端,1.移动端)
* @param appTypeStart
*/
public
MatterChannelQuery
appTypeStart
(
Integer
appTypeStart
){
this
.
appTypeStart
=
appTypeStart
;
return
this
;
}
/**
* 设置 结束 app来源类型 (0.PC端,1.移动端)
* @param appTypeEnd
*/
public
MatterChannelQuery
appTypeEnd
(
Integer
appTypeEnd
){
this
.
appTypeEnd
=
appTypeEnd
;
return
this
;
}
/**
* 设置 增加 app来源类型 (0.PC端,1.移动端)
* @param appTypeIncrement
*/
public
MatterChannelQuery
appTypeIncrement
(
Integer
appTypeIncrement
){
this
.
appTypeIncrement
=
appTypeIncrement
;
return
this
;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeList
*/
public
MatterChannelQuery
appTypeList
(
List
<
Integer
>
appTypeList
){
this
.
appTypeList
=
appTypeList
;
return
this
;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeNotList
*/
public
MatterChannelQuery
appTypeNotList
(
List
<
Integer
>
appTypeNotList
){
this
.
appTypeNotList
=
appTypeNotList
;
return
this
;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
...
...
base-manager/src/main/resources/sqlmap/module/matter/MatterChannelMapper.xml
0 → 100644
View file @
38464900
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