Commit f835d153 authored by hongguangwu's avatar hongguangwu

30号版本:档案合同、商险、薪资状态;缴费库反馈列;合同提交的直接审核优化等

parent 92fee87c
......@@ -977,7 +977,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
sf.setEmpIdcard(insert.getEmpIdcard());
sf.setSettleDomainCode(insert.getDeptNo());
R<Integer> socialFundR = HttpDaprUtil.invokeMethodPost(socialProperties.getAppUrl(), socialProperties.getAppId()
, "/tcheckbankno/inner/checkBankNo", sf, Integer.class, SecurityConstants.FROM_IN);
, "/tsocialfundinfo/inner/selectSocialFoundByContract", sf, Integer.class, SecurityConstants.FROM_IN);
if (socialFundR != null && socialFundR.getData() != null && socialFundR.getData() > 0) {
insert.setAuditStatus(CommonConstants.TWO_INT);
}
......
......@@ -1635,6 +1635,22 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
* @return: int
**/
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处理中)
if (detail.getBuyHandleStatus() == CommonConstants.FOUR_INT) {
return CommonConstants.ZERO_INT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment