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
Hide 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,54 +10,62 @@ 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
;
/**
* 基础事项表id
*/
* 基础事项表id
*/
private
Long
matterId
;
/**
*
*/
*
*/
private
String
matterCode
;
/**
* 事项名称
*/
* 事项名称
*/
private
String
matterName
;
/**
* 名称
*/
* 名称
*/
private
String
name
;
/**
* 图标
*/
* 图标
*/
private
String
icon
;
/**
* 跳转地址
*/
* 跳转地址
*/
private
String
url
;
/**
* 事项来源 (0.政务网,1.自定义)
*/
* 事项来源 (0.政务网,1.自定义)
*/
private
Integer
source
;
/**
* 备注
*/
* 备注
*/
private
String
remark
;
/**
* 描述信息
*/
* 描述信息
*/
private
String
description
;
/**
* 二维码图片
*/
private
String
qrCode
;
/**
* app来源类型 (0.PC端,1.移动端)
*/
private
Integer
appType
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
return
this
.
getId
().
hashCode
();
}
@Override
public
boolean
equals
(
Object
obj
)
{
...
...
@@ -65,21 +73,23 @@ public class MatterChannelEntity extends MatterChannelVo {
if
(
obj
instanceof
MatterChannelEntity
)
{
MatterChannelEntity
tmp
=
(
MatterChannelEntity
)
obj
;
if
(
this
.
getId
()
==
tmp
.
getId
())
{
return
true
;
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
=
""
;
this
.
matterId
=
0L
;
this
.
matterCode
=
""
;
this
.
matterName
=
""
;
this
.
name
=
""
;
this
.
icon
=
""
;
this
.
url
=
""
;
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
This diff is collapsed.
Click to expand it.
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