Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fill-system
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
廖旭伟
fill-system
Commits
8846c846
Commit
8846c846
authored
2 years ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重构部分功能模块
parent
82a8111a
Pipeline
#2338
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
fill-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterDatumServiceImpl.java
...hx/module/matter/service/impl/MatterDatumServiceImpl.java
+15
-4
No files found.
fill-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterDatumServiceImpl.java
View file @
8846c846
...
...
@@ -235,15 +235,15 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
}
List
<
String
>
colKeys
=
StrSplitter
.
split
(
colVal
,
"_"
,
true
,
true
);
//提取当前table中的列元素
if
(
colKeys
.
size
()
>
3
)
{
String
colLabel
=
colKeys
.
get
(
3
);
String
colType
=
colKeys
.
get
(
1
);
if
(
colKeys
.
size
()
>
2
)
{
String
colLabel
=
colKeys
.
get
(
2
);
String
colType
=
colKeys
.
get
(
0
);
TableColItem
tableColItem
=
new
TableColItem
();
tableColItem
.
setLabel
(
colLabel
);
tableColItem
.
setColType
(
colType
);
tableColItem
.
setVal
(
colVal
);
colList
.
add
(
tableColItem
);
//System.out.println
("列元素" + col.variable());
log
.
info
(
"列元素"
+
col
.
variable
());
}
}
cons
.
setColList
(
colList
);
...
...
@@ -439,4 +439,15 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
return
Rest
.
ok
(
msg
);
}
public
static
void
main
(
String
[]
args
)
{
String
colVal
=
"i_1_变更登记事项"
;
List
<
String
>
colKeys
=
StrSplitter
.
split
(
colVal
,
"_"
,
true
,
true
);
System
.
out
.
println
(
colKeys
.
size
());
System
.
out
.
println
(
colKeys
.
get
(
0
));
}
}
\ No newline at end of file
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