Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-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
赵啸非
sample-form-platform
Commits
1fe767a1
Commit
1fe767a1
authored
Nov 16, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加公共庫
parent
2d3bed33
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
210 additions
and
115 deletions
+210
-115
sample-form-manager/db/module.sql
sample-form-manager/db/module.sql
+80
-77
sample-form-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
...als/xhx/module/matter/service/impl/MatterServiceImpl.java
+1
-1
sample-form-manager/src/main/java/com/mortals/xhx/module/sheet/model/SheetMatterEntity.java
...com/mortals/xhx/module/sheet/model/SheetMatterEntity.java
+53
-32
sample-form-manager/src/main/java/com/mortals/xhx/module/sheet/model/SheetMatterQuery.java
.../com/mortals/xhx/module/sheet/model/SheetMatterQuery.java
+38
-1
sample-form-manager/src/main/resources/sqlmap/module/sheet/SheetMatterMapper.xml
.../main/resources/sqlmap/module/sheet/SheetMatterMapper.xml
+38
-4
No files found.
sample-form-manager/db/module.sql
View file @
1fe767a1
...
@@ -6,22 +6,23 @@ DROP TABLE IF EXISTS `mortals_xhx_sheet_matter`;
...
@@ -6,22 +6,23 @@ DROP TABLE IF EXISTS `mortals_xhx_sheet_matter`;
CREATE
TABLE
mortals_xhx_sheet_matter
(
CREATE
TABLE
mortals_xhx_sheet_matter
(
`id`
bigint
(
20
)
AUTO_INCREMENT
COMMENT
'序号,主键,自增长'
,
`id`
bigint
(
20
)
AUTO_INCREMENT
COMMENT
'序号,主键,自增长'
,
`siteId`
bigint
(
20
)
COMMENT
'站点ID'
,
`siteId`
bigint
(
20
)
COMMENT
'站点ID'
,
`tid`
varchar
(
128
)
COMMENT
'从政务系统来的事项id'
,
`tid`
varchar
(
256
)
COMMENT
'从政务系统来的事项id'
,
`tcode`
varchar
(
128
)
COMMENT
'从政务系统来的事项code'
,
`tcode`
varchar
(
256
)
COMMENT
'从政务系统来的事项code'
,
`tname`
varchar
(
512
)
COMMENT
'从政务系统来的事项name'
,
`tname`
varchar
(
2048
)
COMMENT
'从政务系统来的事项name'
,
`matterName`
varchar
(
1024
)
COMMENT
'事项名称'
,
`matterName`
varchar
(
2048
)
COMMENT
'事项名称'
,
`englishName`
varchar
(
256
)
COMMENT
'英语事项名'
,
`englishName`
varchar
(
256
)
COMMENT
'英语事项名'
,
`matterNo`
varchar
(
64
)
COMMENT
'事项编号'
,
`matterNo`
varchar
(
512
)
COMMENT
'事项编号'
,
`areaCode`
varchar
(
255
)
COMMENT
'区域编码'
,
`areaCode`
varchar
(
255
)
COMMENT
'区域编码'
,
`deptCode`
varchar
(
255
)
COMMENT
'部门编号'
,
`deptCode`
varchar
(
255
)
COMMENT
'部门编号'
,
`deptName`
varchar
(
255
)
COMMENT
'部门名称'
,
`powerCode`
varchar
(
255
)
COMMENT
'行政权力编号'
,
`powerCode`
varchar
(
255
)
COMMENT
'行政权力编号'
,
`themeCode`
varchar
(
255
)
COMMENT
'主题编号'
,
`themeCode`
varchar
(
255
)
COMMENT
'主题编号'
,
`usertypeCode`
varchar
(
255
)
COMMENT
'服务类型编号'
,
`usertypeCode`
varchar
(
255
)
COMMENT
'服务类型编号'
,
`groupName`
varchar
(
1024
)
COMMENT
'事项组名'
,
`groupName`
varchar
(
255
)
COMMENT
'事项组名'
,
`url`
varchar
(
1024
)
COMMENT
'事项详情链接'
,
`url`
varchar
(
1024
)
COMMENT
'事项详情链接'
,
`haveGetMatterInfo`
varchar
(
20
)
COMMENT
'是否获取事项详情'
,
`haveGetMatterInfo`
varchar
(
20
)
COMMENT
'是否获取事项详情'
,
`belongDept`
varchar
(
64
)
COMMENT
'所属部门'
,
`belongDept`
varchar
(
64
)
COMMENT
'所属部门'
,
`appoveObjectShow`
varchar
(
25
6
)
COMMENT
'服务对象 (事业法人.事业法人,社会组织法人.社会组织法人,非法人企业.非法人企业,企业法人.企业法人,自然人.自然人,其他组织.其他组织)'
,
`appoveObjectShow`
varchar
(
1
6
)
COMMENT
'服务对象 (事业法人.事业法人,社会组织法人.社会组织法人,非法人企业.非法人企业,企业法人.企业法人,自然人.自然人,其他组织.其他组织)'
,
`operatScopeShow`
varchar
(
64
)
COMMENT
'通办范围 (无.无,全国.全国,全市.全市,全县.全县,全镇[乡 街道].全镇[乡 街道],跨村[社区].跨村[社区])'
,
`operatScopeShow`
varchar
(
64
)
COMMENT
'通办范围 (无.无,全国.全国,全市.全市,全县.全县,全镇[乡 街道].全镇[乡 街道],跨村[社区].跨村[社区])'
,
`appoveTimeLimitShow`
varchar
(
16
)
COMMENT
'办件类型(网络办件.网络办件,行政审批一般件.行政审批一般件,综合窗口件.综合窗口件)'
,
`appoveTimeLimitShow`
varchar
(
16
)
COMMENT
'办件类型(网络办件.网络办件,行政审批一般件.行政审批一般件,综合窗口件.综合窗口件)'
,
`handleType`
varchar
(
12
)
COMMENT
'办理形式(窗口办理.窗口办理,网上办理.网上办理) '
,
`handleType`
varchar
(
12
)
COMMENT
'办理形式(窗口办理.窗口办理,网上办理.网上办理) '
,
...
@@ -85,6 +86,8 @@ CREATE TABLE mortals_xhx_sheet_matter(
...
@@ -85,6 +86,8 @@ CREATE TABLE mortals_xhx_sheet_matter(
-- ----------------------------
-- ----------------------------
-- 事项申请材料业务表
-- 事项申请材料业务表
-- ----------------------------
-- ----------------------------
...
...
sample-form-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
View file @
1fe767a1
...
@@ -90,7 +90,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
...
@@ -90,7 +90,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
}
}
private
MatterEntity
updateOrSave
(
SheetMatterEntity
sheetMatterEntity
,
Long
siteId
,
Context
context
)
{
private
MatterEntity
updateOrSave
(
SheetMatterEntity
sheetMatterEntity
,
Long
siteId
,
Context
context
)
{
MatterEntity
siteMatterEntity
=
this
.
selectOne
(
new
MatterQuery
().
siteId
(
siteId
).
tcode
(
sheetMatterEntity
.
getTcode
()));
MatterEntity
siteMatterEntity
=
this
.
selectOne
(
new
MatterQuery
().
siteId
(
siteId
).
matterNo
(
sheetMatterEntity
.
getMatterNo
()));
if
(
ObjectUtils
.
isEmpty
(
siteMatterEntity
))
{
if
(
ObjectUtils
.
isEmpty
(
siteMatterEntity
))
{
MatterEntity
matterEntity
=
new
MatterEntity
();
MatterEntity
matterEntity
=
new
MatterEntity
();
matterEntity
.
initAttrValue
();
matterEntity
.
initAttrValue
();
...
...
sample-form-manager/src/main/java/com/mortals/xhx/module/sheet/model/SheetMatterEntity.java
View file @
1fe767a1
...
@@ -11,7 +11,7 @@ import com.mortals.xhx.module.sheet.model.vo.SheetMatterVo;
...
@@ -11,7 +11,7 @@ import com.mortals.xhx.module.sheet.model.vo.SheetMatterVo;
* 基础事项实体对象
* 基础事项实体对象
*
*
* @author zxfei
* @author zxfei
* @date 2022-11-1
0
* @date 2022-11-1
6
*/
*/
public
class
SheetMatterEntity
extends
SheetMatterVo
{
public
class
SheetMatterEntity
extends
SheetMatterVo
{
...
@@ -53,6 +53,10 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -53,6 +53,10 @@ public class SheetMatterEntity extends SheetMatterVo {
* 部门编号
* 部门编号
*/
*/
private
String
deptCode
;
private
String
deptCode
;
/**
* 部门名称
*/
private
String
deptName
;
/**
/**
* 行政权力编号
* 行政权力编号
*/
*/
...
@@ -435,6 +439,20 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -435,6 +439,20 @@ public class SheetMatterEntity extends SheetMatterVo {
public
void
setDeptCode
(
String
deptCode
){
public
void
setDeptCode
(
String
deptCode
){
this
.
deptCode
=
deptCode
;
this
.
deptCode
=
deptCode
;
}
}
/**
* 获取 部门名称
* @return String
*/
public
String
getDeptName
(){
return
deptName
;
}
/**
* 设置 部门名称
* @param deptName
*/
public
void
setDeptName
(
String
deptName
){
this
.
deptName
=
deptName
;
}
/**
/**
* 获取 行政权力编号
* 获取 行政权力编号
* @return String
* @return String
...
@@ -1348,6 +1366,7 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1348,6 +1366,7 @@ public class SheetMatterEntity extends SheetMatterVo {
sb
.
append
(
",matterNo:"
).
append
(
getMatterNo
());
sb
.
append
(
",matterNo:"
).
append
(
getMatterNo
());
sb
.
append
(
",areaCode:"
).
append
(
getAreaCode
());
sb
.
append
(
",areaCode:"
).
append
(
getAreaCode
());
sb
.
append
(
",deptCode:"
).
append
(
getDeptCode
());
sb
.
append
(
",deptCode:"
).
append
(
getDeptCode
());
sb
.
append
(
",deptName:"
).
append
(
getDeptName
());
sb
.
append
(
",powerCode:"
).
append
(
getPowerCode
());
sb
.
append
(
",powerCode:"
).
append
(
getPowerCode
());
sb
.
append
(
",themeCode:"
).
append
(
getThemeCode
());
sb
.
append
(
",themeCode:"
).
append
(
getThemeCode
());
sb
.
append
(
",usertypeCode:"
).
append
(
getUsertypeCode
());
sb
.
append
(
",usertypeCode:"
).
append
(
getUsertypeCode
());
...
@@ -1420,19 +1439,21 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1420,19 +1439,21 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
tid
=
null
;
this
.
tid
=
null
;
this
.
tcode
=
null
;
this
.
tcode
=
""
;
this
.
tname
=
null
;
this
.
tname
=
""
;
this
.
matterName
=
null
;
this
.
matterName
=
""
;
this
.
englishName
=
null
;
this
.
englishName
=
""
;
this
.
matterNo
=
null
;
this
.
matterNo
=
null
;
this
.
areaCode
=
null
;
this
.
areaCode
=
null
;
this
.
deptCode
=
null
;
this
.
deptCode
=
""
;
this
.
deptName
=
null
;
this
.
powerCode
=
null
;
this
.
powerCode
=
null
;
...
@@ -1444,17 +1465,17 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1444,17 +1465,17 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
url
=
null
;
this
.
url
=
null
;
this
.
haveGetMatterInfo
=
null
;
this
.
haveGetMatterInfo
=
"0"
;
this
.
belongDept
=
null
;
this
.
belongDept
=
""
;
this
.
appoveObjectShow
=
null
;
this
.
appoveObjectShow
=
"事业法人"
;
this
.
operatScopeShow
=
null
;
this
.
operatScopeShow
=
"无"
;
this
.
appoveTimeLimitShow
=
null
;
this
.
appoveTimeLimitShow
=
"网络办件"
;
this
.
handleType
=
null
;
this
.
handleType
=
"窗口办理"
;
this
.
legalTimeLimitShow
=
null
;
this
.
legalTimeLimitShow
=
null
;
...
@@ -1464,9 +1485,9 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1464,9 +1485,9 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
promiseEndExplain
=
null
;
this
.
promiseEndExplain
=
null
;
this
.
isChargesShow
=
null
;
this
.
isChargesShow
=
"否"
;
this
.
certificationLevelsShow
=
null
;
this
.
certificationLevelsShow
=
"实名认证"
;
this
.
planTakeTime
=
null
;
this
.
planTakeTime
=
null
;
...
@@ -1476,25 +1497,25 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1476,25 +1497,25 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
windowToTheSceneNum
=
null
;
this
.
windowToTheSceneNum
=
null
;
this
.
isOnlineSubscribeShow
=
null
;
this
.
isOnlineSubscribeShow
=
"否"
;
this
.
isExpressTakeShow
=
null
;
this
.
isExpressTakeShow
=
"否"
;
this
.
isProvinceAcquisitionShow
=
null
;
this
.
isProvinceAcquisitionShow
=
"否"
;
this
.
isApplyProvinceShow
=
null
;
this
.
isApplyProvinceShow
=
"否"
;
this
.
mustSceneExplain
=
null
;
this
.
mustSceneExplain
=
null
;
this
.
onlineType
=
null
;
this
.
onlineType
=
"原件预审"
;
this
.
onlineToTheSceneNum
=
null
;
this
.
onlineToTheSceneNum
=
0
;
this
.
onlineOperatDeep
=
null
;
this
.
onlineOperatDeep
=
"互联网咨询"
;
this
.
isExpressTakeOnlineShow
=
null
;
this
.
isExpressTakeOnlineShow
=
null
;
this
.
isDoorTakeShow
=
null
;
this
.
isDoorTakeShow
=
"否"
;
this
.
onlineMustSceneExplain
=
null
;
this
.
onlineMustSceneExplain
=
null
;
...
@@ -1502,7 +1523,7 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1502,7 +1523,7 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
matterEdition
=
null
;
this
.
matterEdition
=
null
;
this
.
eventTypeShow
=
null
;
this
.
eventTypeShow
=
"行政许可"
;
this
.
performHierarchyShow
=
null
;
this
.
performHierarchyShow
=
null
;
...
@@ -1510,25 +1531,25 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1510,25 +1531,25 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
performDeptTypeShow
=
null
;
this
.
performDeptTypeShow
=
null
;
this
.
goveServiceCenterShow
=
null
;
this
.
goveServiceCenterShow
=
"否"
;
this
.
isConvenientCenterShow
=
null
;
this
.
isConvenientCenterShow
=
"否"
;
this
.
terminalHandle
=
null
;
this
.
terminalHandle
=
"是"
;
this
.
isOnline
=
null
;
this
.
isOnline
=
"是"
;
this
.
isOnlinePayShow
=
null
;
this
.
isOnlinePayShow
=
"是"
;
this
.
entrustmentDepartmen
=
null
;
this
.
entrustmentDepartmen
=
"是"
;
this
.
jointInfoShow
=
null
;
this
.
jointInfoShow
=
null
;
this
.
matterStatus
=
null
;
this
.
matterStatus
=
"在用"
;
this
.
numberLimit
=
null
;
this
.
numberLimit
=
null
;
this
.
type
=
null
;
this
.
type
=
""
;
this
.
baseCode
=
null
;
this
.
baseCode
=
null
;
...
@@ -1558,6 +1579,6 @@ public class SheetMatterEntity extends SheetMatterVo {
...
@@ -1558,6 +1579,6 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
sort
=
null
;
this
.
sort
=
null
;
this
.
source
=
null
;
this
.
source
=
1
;
}
}
}
}
\ No newline at end of file
sample-form-manager/src/main/java/com/mortals/xhx/module/sheet/model/SheetMatterQuery.java
View file @
1fe767a1
...
@@ -7,7 +7,7 @@ import com.mortals.xhx.module.sheet.model.SheetMatterEntity;
...
@@ -7,7 +7,7 @@ import com.mortals.xhx.module.sheet.model.SheetMatterEntity;
* 基础事项查询对象
* 基础事项查询对象
*
*
* @author zxfei
* @author zxfei
* @date 2022-11-1
0
* @date 2022-11-1
6
*/
*/
public
class
SheetMatterQuery
extends
SheetMatterEntity
{
public
class
SheetMatterQuery
extends
SheetMatterEntity
{
/** 开始 序号,主键,自增长 */
/** 开始 序号,主键,自增长 */
...
@@ -58,6 +58,9 @@ public class SheetMatterQuery extends SheetMatterEntity {
...
@@ -58,6 +58,9 @@ public class SheetMatterQuery extends SheetMatterEntity {
/** 部门编号 */
/** 部门编号 */
private
List
<
String
>
deptCodeList
;
private
List
<
String
>
deptCodeList
;
/** 部门名称 */
private
List
<
String
>
deptNameList
;
/** 行政权力编号 */
/** 行政权力编号 */
private
List
<
String
>
powerCodeList
;
private
List
<
String
>
powerCodeList
;
...
@@ -578,6 +581,21 @@ public class SheetMatterQuery extends SheetMatterEntity {
...
@@ -578,6 +581,21 @@ public class SheetMatterQuery extends SheetMatterEntity {
public
void
setDeptCodeList
(
List
<
String
>
deptCodeList
){
public
void
setDeptCodeList
(
List
<
String
>
deptCodeList
){
this
.
deptCodeList
=
deptCodeList
;
this
.
deptCodeList
=
deptCodeList
;
}
}
/**
* 获取 部门名称
* @return deptNameList
*/
public
List
<
String
>
getDeptNameList
(){
return
this
.
deptNameList
;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public
void
setDeptNameList
(
List
<
String
>
deptNameList
){
this
.
deptNameList
=
deptNameList
;
}
/**
/**
* 获取 行政权力编号
* 获取 行政权力编号
* @return powerCodeList
* @return powerCodeList
...
@@ -2173,6 +2191,25 @@ public class SheetMatterQuery extends SheetMatterEntity {
...
@@ -2173,6 +2191,25 @@ public class SheetMatterQuery extends SheetMatterEntity {
}
}
/**
* 设置 部门名称
* @param deptName
*/
public
SheetMatterQuery
deptName
(
String
deptName
){
setDeptName
(
deptName
);
return
this
;
}
/**
* 设置 部门名称
* @param deptNameList
*/
public
SheetMatterQuery
deptNameList
(
List
<
String
>
deptNameList
){
this
.
deptNameList
=
deptNameList
;
return
this
;
}
/**
/**
* 设置 行政权力编号
* 设置 行政权力编号
* @param powerCode
* @param powerCode
...
...
sample-form-manager/src/main/resources/sqlmap/module/sheet/SheetMatterMapper.xml
View file @
1fe767a1
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