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
2423d690
Commit
2423d690
authored
Nov 28, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
30号版本:档案合同、商险、薪资状态;缴费库反馈列;合同提交的直接审核优化等
parent
f811be51
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
20 deletions
+7
-20
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+7
-20
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
2423d690
...
@@ -1635,32 +1635,19 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -1635,32 +1635,19 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
* @return: int
* @return: int
**/
**/
private
int
judgeStatus
(
TInsuranceDetail
detail
)
{
private
int
judgeStatus
(
TInsuranceDetail
detail
)
{
// DELETE_FLAG = 0
// AND IS_EFFECT = 0 #是否有效
// AND IS_USE = 0 #是否出险
// AND IS_OVERDUE = 0 #是否过期
// AND DELETE_FLAG = 0 #是否删除
// AND BUY_HANDLE_STATUS = 3 #投保状态
// AND ( REDUCE_HANDLE_STATUS IS NULL OR REDUCE_HANDLE_STATUS = 3 ) #减员状态
if
(
detail
.
getIsEffect
()
==
CommonConstants
.
ZERO_INT
&&
detail
.
getIsOverdue
()
==
CommonConstants
.
ZERO_INT
&&
detail
.
getIsUse
()
==
CommonConstants
.
ZERO_INT
&&
(
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
THREE_INT
&&
(
Common
.
isEmpty
(
detail
.
getReduceHandleStatus
())
||
detail
.
getReduceHandleStatus
()
==
CommonConstants
.
THREE_INT
)))
{
return
CommonConstants
.
TWO_INT
;
}
else
{
}
// (0无2正常3失效4处理中)
// (0无2正常3失效4处理中)
if
(
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
FOUR_INT
)
{
if
(
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
FOUR_INT
)
{
return
CommonConstants
.
ZERO_INT
;
return
CommonConstants
.
ZERO_INT
;
}
else
if
(
detail
.
getIsOverdue
()
==
CommonConstants
.
ZERO_INT
}
else
if
(
detail
.
getIsEffect
()
==
CommonConstants
.
ZERO_INT
&&
detail
.
getIsOverdue
()
==
CommonConstants
.
ZERO_INT
&&
(
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
THREE_INT
&&
(
Common
.
isEmpty
(
detail
.
getReduceHandleStatus
())
||
detail
.
getReduceHandleStatus
()
!=
CommonConstants
.
FOUR_INT
)))
{
return
CommonConstants
.
TWO_INT
;
}
else
if
(
detail
.
getIsOverdue
()
==
CommonConstants
.
ONE_INT
||
detail
.
getIsEffect
()
==
CommonConstants
.
ONE_INT
||
detail
.
getIsEffect
()
==
CommonConstants
.
ONE_INT
||
detail
.
get
Buy
HandleStatus
()
==
CommonConstants
.
FOUR_INT
||
detail
.
get
Reduce
HandleStatus
()
==
CommonConstants
.
FOUR_INT
||
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
FIVE_INT
)
{
||
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
FIVE_INT
)
{
return
CommonConstants
.
THREE_INT
;
return
CommonConstants
.
THREE_INT
;
}
else
if
(
detail
.
getBuyHandleStatus
()
==
CommonConstants
.
THREE_INT
)
{
return
CommonConstants
.
TWO_INT
;
}
else
{
}
else
{
return
CommonConstants
.
FOUR_INT
;
return
CommonConstants
.
FOUR_INT
;
}
}
...
...
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