Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
emport-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘泽志
emport-api
Commits
727d3f9b
Commit
727d3f9b
authored
Nov 21, 2023
by
liuzz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转换规则特殊情况
parent
21546471
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
RegConvert.java
.../com/tbyf/his/web/dataImport/core/convert/RegConvert.java
+5
-0
No files found.
admin-api/src/main/java/com/tbyf/his/web/dataImport/core/convert/RegConvert.java
View file @
727d3f9b
...
@@ -11,6 +11,11 @@ public class RegConvert implements ValueConvert {
...
@@ -11,6 +11,11 @@ public class RegConvert implements ValueConvert {
public
String
convert
(
RuleVO
vo
)
{
public
String
convert
(
RuleVO
vo
)
{
if
(
StrUtil
.
isNotBlank
(
vo
.
getValue
())){
if
(
StrUtil
.
isNotBlank
(
vo
.
getValue
())){
String
[]
split
=
vo
.
getValue
().
split
(
vo
.
getContent
());
String
[]
split
=
vo
.
getValue
().
split
(
vo
.
getContent
());
if
(
split
.
length
==
1
){
if
(
StrUtil
.
equalsAnyIgnoreCase
(
split
[
0
],
"无"
,
"否"
,
"-"
)){
return
"0"
;
}
}
return
String
.
valueOf
(
split
.
length
);
return
String
.
valueOf
(
split
.
length
);
}
}
return
"0"
;
return
"0"
;
...
...
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