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
f666aded
Commit
f666aded
authored
Mar 04, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
6ca89e82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
TEmployeeInsurancePreController.java
...nsurances/controller/TEmployeeInsurancePreController.java
+6
-2
TDispatchInfoPreController.java
...v1/yifu/social/controller/TDispatchInfoPreController.java
+3
-3
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TEmployeeInsurancePreController.java
View file @
f666aded
...
...
@@ -58,7 +58,9 @@ public class TEmployeeInsurancePreController {
menuUtil
.
setAuthSql
(
user
,
tEmployeeInsurancePre
);
//无查询条件的时候直接 默认传非 已完成的数据
if
(
Common
.
isEmpty
(
tEmployeeInsurancePre
.
getProcessStatus
())){
tEmployeeInsurancePre
.
setStatusList
(
CommonConstants
.
processListPreArchivesStatus
);
if
(
Common
.
isEmpty
(
tEmployeeInsurancePre
.
getStatusList
())){
tEmployeeInsurancePre
.
setStatusList
(
CommonConstants
.
processListPreArchivesStatus
);
}
}
else
{
//有查询条件的时候 按查询条件查询 后面有判断statusList 为空默认的情况
List
<
String
>
statusList
=
new
ArrayList
<>();
...
...
@@ -154,7 +156,9 @@ public class TEmployeeInsurancePreController {
menuUtil
.
setAuthSql
(
user
,
searchVo
);
//无查询条件的时候直接 默认传非 已完成的数据
if
(
Common
.
isEmpty
(
searchVo
.
getProcessStatus
())){
searchVo
.
setStatusList
(
CommonConstants
.
processListPreArchivesStatus
);
if
(
Common
.
isEmpty
(
searchVo
.
getStatusList
())){
searchVo
.
setStatusList
(
CommonConstants
.
processListPreArchivesStatus
);
}
}
else
{
//有查询条件的时候 按查询条件查询 后面有判断statusList 为空默认的情况
List
<
String
>
statusList
=
new
ArrayList
<>();
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoPreController.java
View file @
f666aded
...
...
@@ -94,7 +94,7 @@ public class TDispatchInfoPreController {
if
(
Common
.
isEmpty
(
tDispatchInfoPre
.
getProcessStatus
()))
{
String
typeSub
=
null
==
tDispatchInfoPre
.
getTypeSub
()?
CommonConstants
.
EMPTY_STRING
:
tDispatchInfoPre
.
getTypeSub
();
List
<
String
>
statusList
=
STATUS_MAP
.
get
(
typeSub
);
if
(
statusList
!=
null
)
{
if
(
statusList
!=
null
&&
Common
.
isEmpty
(
tDispatchInfoPre
.
getStatusList
())
)
{
tDispatchInfoPre
.
setStatusList
(
new
ArrayList
<>(
statusList
));
// 拷贝以防止外部修改
}
}
...
...
@@ -198,7 +198,7 @@ public class TDispatchInfoPreController {
if
(
Common
.
isEmpty
(
searchVo
.
getProcessStatus
()))
{
String
typeSub
=
null
==
searchVo
.
getTypeSub
()?
CommonConstants
.
EMPTY_STRING
:
searchVo
.
getTypeSub
();
List
<
String
>
statusList
=
STATUS_MAP
.
get
(
typeSub
);
if
(
statusList
!=
null
)
{
if
(
statusList
!=
null
&&
Common
.
isEmpty
(
searchVo
.
getStatusList
())
)
{
searchVo
.
setStatusList
(
new
ArrayList
<>(
statusList
));
// 拷贝以防止外部修改
}
}
...
...
@@ -223,7 +223,7 @@ public class TDispatchInfoPreController {
if
(
Common
.
isEmpty
(
searchVo
.
getProcessStatus
()))
{
String
typeSub
=
null
==
searchVo
.
getTypeSub
()?
CommonConstants
.
EMPTY_STRING
:
searchVo
.
getTypeSub
();
List
<
String
>
statusList
=
STATUS_MAP
.
get
(
typeSub
);
if
(
statusList
!=
null
)
{
if
(
statusList
!=
null
&&
Common
.
isEmpty
(
searchVo
.
getStatusList
())
)
{
searchVo
.
setStatusList
(
new
ArrayList
<>(
statusList
));
// 拷贝以防止外部修改
}
}
...
...
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