Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
67e44669
Commit
67e44669
authored
Apr 16, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.2-工资原表识别-优化
parent
ac7cf30a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
18 deletions
+42
-18
QiWeiServiceImpl.java
...oud/plus/v1/permission/service/impl/QiWeiServiceImpl.java
+42
-18
No files found.
yifu-permission/yifu-permission-biz/src/main/java/com/yifu/cloud/plus/v1/permission/service/impl/QiWeiServiceImpl.java
View file @
67e44669
...
...
@@ -365,40 +365,64 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi
}*/
else
if
(
"出差事由"
.
equals
(((
JSONObject
)
title
.
get
(
0
)).
get
(
"text"
)))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
reason
=
value
.
getString
(
"text"
);
if
(
Common
.
isNotNull
(
value
))
{
reason
=
value
.
getString
(
"text"
);
}
}
else
if
(
"随行人员"
.
equals
(((
JSONObject
)
title
.
get
(
0
)).
get
(
"text"
)))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
person
=
value
.
getString
(
"text"
);
if
(
Common
.
isNotNull
(
value
))
{
person
=
value
.
getString
(
"text"
);
}
}
else
if
(
"出差地点"
.
equals
(((
JSONObject
)
title
.
get
(
0
)).
get
(
"text"
)))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
address
=
value
.
getString
(
"text"
);
if
(
Common
.
isNotNull
(
value
))
{
address
=
value
.
getString
(
"text"
);
}
}
else
if
(
"出差地点级别"
.
equals
(((
JSONObject
)
title
.
get
(
0
)).
get
(
"text"
)))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
selector
=
(
JSONObject
)
value
.
get
(
"selector"
);
options
=
(
JSONArray
)
selector
.
get
(
"options"
);
options0
=
(
JSONObject
)
options
.
get
(
0
);
options0value
=
(
JSONArray
)
options0
.
get
(
VALUESTR
);
options0value0
=
(
JSONObject
)
options0value
.
get
(
0
);
addressLevel
=
options0value0
.
getString
(
"text"
);
if
(
Common
.
isNotNull
(
value
))
{
selector
=
(
JSONObject
)
value
.
get
(
"selector"
);
if
(
Common
.
isNotNull
(
selector
))
{
options
=
(
JSONArray
)
selector
.
get
(
"options"
);
if
(
Common
.
isNotNull
(
options
))
{
options0
=
(
JSONObject
)
options
.
get
(
0
);
if
(
Common
.
isNotNull
(
options0
))
{
options0value
=
(
JSONArray
)
options0
.
get
(
VALUESTR
);
if
(
Common
.
isNotNull
(
options0value
))
{
options0value0
=
(
JSONObject
)
options0value
.
get
(
0
);
if
(
Common
.
isNotNull
(
options0value0
))
{
addressLevel
=
options0value0
.
getString
(
"text"
);
}
}
}
}
}
}
}
else
if
(((
JSONObject
)
title
.
get
(
0
)).
getString
(
"text"
).
contains
(
"交通补助"
))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
if
(
Common
.
isNotNull
(
value
.
getString
(
"text"
)))
{
if
(
value
!=
null
&&
Common
.
isNotNull
(
value
.
getString
(
"text"
)))
{
jiaoTong
=
value
.
getString
(
"text"
);
}
}
else
if
(((
JSONObject
)
title
.
get
(
0
)).
getString
(
"text"
).
contains
(
"餐饮补助"
))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
if
(
Common
.
isNotNull
(
value
.
getString
(
"text"
)))
{
if
(
value
!=
null
&&
Common
.
isNotNull
(
value
.
getString
(
"text"
)))
{
canYin
=
value
.
getString
(
"text"
);
}
}
else
if
(
"出行工具"
.
equals
(((
JSONObject
)
title
.
get
(
0
)).
get
(
"text"
)))
{
value
=
(
JSONObject
)
content
.
get
(
VALUESTR
);
selector
=
(
JSONObject
)
value
.
get
(
"selector"
);
options
=
(
JSONArray
)
selector
.
get
(
"options"
);
for
(
int
j
=
0
;
j
<
options
.
size
();
j
++)
{
options0
=
(
JSONObject
)
options
.
get
(
j
);
options0value
=
(
JSONArray
)
options0
.
get
(
VALUESTR
);
options0value0
=
(
JSONObject
)
options0value
.
get
(
0
);
tools
+=
options0value0
.
getString
(
"text"
)
+
";"
;
if
(
Common
.
isNotNull
(
value
))
{
selector
=
(
JSONObject
)
value
.
get
(
"selector"
);
if
(
Common
.
isNotNull
(
selector
))
{
options
=
(
JSONArray
)
selector
.
get
(
"options"
);
if
(
Common
.
isNotNull
(
options
))
{
for
(
int
j
=
0
;
j
<
options
.
size
();
j
++)
{
options0
=
(
JSONObject
)
options
.
get
(
j
);
options0value
=
(
JSONArray
)
options0
.
get
(
VALUESTR
);
options0value0
=
(
JSONObject
)
options0value
.
get
(
0
);
tools
+=
options0value0
.
getString
(
"text"
)
+
";"
;
}
}
}
}
}
}
...
...
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