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
e9f0d622
Commit
e9f0d622
authored
Mar 26, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自定义导入修改
parent
af79f64f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
base-manager/src/main/java/com/mortals/xhx/module/matter/model/vo/MatterCustomImportEntity.java
.../xhx/module/matter/model/vo/MatterCustomImportEntity.java
+1
-1
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
...als/xhx/module/matter/service/impl/MatterServiceImpl.java
+8
-5
No files found.
base-manager/src/main/java/com/mortals/xhx/module/matter/model/vo/MatterCustomImportEntity.java
View file @
e9f0d622
...
...
@@ -46,7 +46,7 @@ public class MatterCustomImportEntity extends BaseEntityLong {
/**
* 事项详情链接
*/
@Excel
(
name
=
"办事指南地址"
,
type
=
Excel
.
Type
.
IMPORT
)
@Excel
(
name
=
"办事指南地址"
)
private
String
url
;
...
...
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
View file @
e9f0d622
...
...
@@ -2113,10 +2113,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
matterEntity
.
setDeptCode
(
deptEntity
.
getDeptNumber
());
this
.
update
(
matterEntity
);
}
//todo 固定新增办事流程
ArrayList
<
MatterFlowlimitEntity
>
matterFlowlimitEntities
=
new
ArrayList
<>();
MatterFlowlimitEntity
matterFlowlimitEntity
=
new
MatterFlowlimitEntity
();
...
...
@@ -2159,8 +2156,14 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
SucessCount
++;
}
else
{
log
.
info
(
"事项已存在:"
+
matterEntity
.
getMatterName
());
failCount
++;
log
.
info
(
"事项已存在,更新事项:"
+
matterEntity
.
getMatterName
());
BeanUtils
.
copyProperties
(
matterCustomImportEntity
,
matterEntity
,
new
String
[]{
"areaCode"
,
"deptName"
,
"matterName"
});
matterEntity
.
setMatterNo
(
RandomUtil
.
randomString
(
12
));
matterEntity
.
setUpdateTime
(
new
Date
());
matterEntity
.
setUpdateUserId
(
1L
);
this
.
dao
.
update
(
matterEntity
);
// failCount++;
}
}
...
...
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