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
Hide 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
This diff is collapsed.
Click to expand it.
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
}
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
))
{
MatterEntity
matterEntity
=
new
MatterEntity
();
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;
* 基础事项实体对象
*
* @author zxfei
* @date 2022-11-1
0
* @date 2022-11-1
6
*/
public
class
SheetMatterEntity
extends
SheetMatterVo
{
...
...
@@ -53,6 +53,10 @@ public class SheetMatterEntity extends SheetMatterVo {
* 部门编号
*/
private
String
deptCode
;
/**
* 部门名称
*/
private
String
deptName
;
/**
* 行政权力编号
*/
...
...
@@ -435,6 +439,20 @@ public class SheetMatterEntity extends SheetMatterVo {
public
void
setDeptCode
(
String
deptCode
){
this
.
deptCode
=
deptCode
;
}
/**
* 获取 部门名称
* @return String
*/
public
String
getDeptName
(){
return
deptName
;
}
/**
* 设置 部门名称
* @param deptName
*/
public
void
setDeptName
(
String
deptName
){
this
.
deptName
=
deptName
;
}
/**
* 获取 行政权力编号
* @return String
...
...
@@ -1348,6 +1366,7 @@ public class SheetMatterEntity extends SheetMatterVo {
sb
.
append
(
",matterNo:"
).
append
(
getMatterNo
());
sb
.
append
(
",areaCode:"
).
append
(
getAreaCode
());
sb
.
append
(
",deptCode:"
).
append
(
getDeptCode
());
sb
.
append
(
",deptName:"
).
append
(
getDeptName
());
sb
.
append
(
",powerCode:"
).
append
(
getPowerCode
());
sb
.
append
(
",themeCode:"
).
append
(
getThemeCode
());
sb
.
append
(
",usertypeCode:"
).
append
(
getUsertypeCode
());
...
...
@@ -1420,19 +1439,21 @@ public class SheetMatterEntity extends SheetMatterVo {
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
.
areaCode
=
null
;
this
.
deptCode
=
null
;
this
.
deptCode
=
""
;
this
.
deptName
=
null
;
this
.
powerCode
=
null
;
...
...
@@ -1444,17 +1465,17 @@ public class SheetMatterEntity extends SheetMatterVo {
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
;
...
...
@@ -1464,9 +1485,9 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
promiseEndExplain
=
null
;
this
.
isChargesShow
=
null
;
this
.
isChargesShow
=
"否"
;
this
.
certificationLevelsShow
=
null
;
this
.
certificationLevelsShow
=
"实名认证"
;
this
.
planTakeTime
=
null
;
...
...
@@ -1476,25 +1497,25 @@ public class SheetMatterEntity extends SheetMatterVo {
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
.
onlineType
=
null
;
this
.
onlineType
=
"原件预审"
;
this
.
onlineToTheSceneNum
=
null
;
this
.
onlineToTheSceneNum
=
0
;
this
.
onlineOperatDeep
=
null
;
this
.
onlineOperatDeep
=
"互联网咨询"
;
this
.
isExpressTakeOnlineShow
=
null
;
this
.
isDoorTakeShow
=
null
;
this
.
isDoorTakeShow
=
"否"
;
this
.
onlineMustSceneExplain
=
null
;
...
...
@@ -1502,7 +1523,7 @@ public class SheetMatterEntity extends SheetMatterVo {
this
.
matterEdition
=
null
;
this
.
eventTypeShow
=
null
;
this
.
eventTypeShow
=
"行政许可"
;
this
.
performHierarchyShow
=
null
;
...
...
@@ -1510,25 +1531,25 @@ public class SheetMatterEntity extends SheetMatterVo {
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
.
matterStatus
=
null
;
this
.
matterStatus
=
"在用"
;
this
.
numberLimit
=
null
;
this
.
type
=
null
;
this
.
type
=
""
;
this
.
baseCode
=
null
;
...
...
@@ -1558,6 +1579,6 @@ public class SheetMatterEntity extends SheetMatterVo {
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;
* 基础事项查询对象
*
* @author zxfei
* @date 2022-11-1
0
* @date 2022-11-1
6
*/
public
class
SheetMatterQuery
extends
SheetMatterEntity
{
/** 开始 序号,主键,自增长 */
...
...
@@ -58,6 +58,9 @@ public class SheetMatterQuery extends SheetMatterEntity {
/** 部门编号 */
private
List
<
String
>
deptCodeList
;
/** 部门名称 */
private
List
<
String
>
deptNameList
;
/** 行政权力编号 */
private
List
<
String
>
powerCodeList
;
...
...
@@ -578,6 +581,21 @@ public class SheetMatterQuery extends SheetMatterEntity {
public
void
setDeptCodeList
(
List
<
String
>
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
...
...
@@ -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
...
...
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