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
e5ae8ba3
Commit
e5ae8ba3
authored
Jan 16, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.5-薪资提交校验
parent
2b89cdc1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
TSalaryStandardServiceImpl.java
.../yifu/salary/service/impl/TSalaryStandardServiceImpl.java
+16
-6
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardServiceImpl.java
View file @
e5ae8ba3
...
@@ -1180,27 +1180,37 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
...
@@ -1180,27 +1180,37 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
if
(!
updatePerSonSalaryList
.
isEmpty
())
{
if
(!
updatePerSonSalaryList
.
isEmpty
())
{
tInsuranceUnpurchasePersonSalaryService
.
saveBatch
(
updatePerSonSalaryList
);
tInsuranceUnpurchasePersonSalaryService
.
saveBatch
(
updatePerSonSalaryList
);
}
}
s
.
setIsCheckRisk
(
CommonConstants
.
ONE_INT
);
return
getTrueR
(
s
,
"校验通过"
);
this
.
updateById
(
s
);
return
R
.
ok
();
}
else
{
}
else
{
return
new
R
<>(
CommonConstants
.
TWO_INT
,
"校验商险不通过!"
,
returnList
);
return
new
R
<>(
CommonConstants
.
TWO_INT
,
"校验商险不通过!"
,
returnList
);
}
}
}
else
{
}
else
{
return
R
.
ok
(
null
,
"均已购买商险"
);
return
getTrueR
(
s
,
"均已购买商险"
);
}
}
}
}
}
else
{
}
else
{
return
R
.
ok
(
null
,
"没有报账明细,无需拦截"
);
return
getTrueR
(
s
,
"没有报账明细,无需拦截"
);
}
}
}
else
{
}
else
{
return
R
.
ok
(
null
,
"项目不含风险 或 无商险"
);
return
getTrueR
(
s
,
"项目不含风险 或 无商险"
);
}
}
}
else
{
}
else
{
return
R
.
failed
(
"获取项目信息失败,请联管理员!"
);
return
R
.
failed
(
"获取项目信息失败,请联管理员!"
);
}
}
}
}
/**
* @Description: 校验通过的返回
* @Author: hgw
* @Date: 2025/1/16 11:16
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.util.List < com.yifu.cloud.plus.v1.yifu.salary.vo.SalaryRiskVo>>
**/
private
R
<
List
<
SalaryRiskVo
>>
getTrueR
(
TSalaryStandard
s
,
String
msg
)
{
s
.
setIsCheckRisk
(
CommonConstants
.
ONE_INT
);
this
.
updateById
(
s
);
return
R
.
ok
(
null
,
msg
);
}
/**
/**
* @Description: 设置增加 不购买商险的相关信息
* @Description: 设置增加 不购买商险的相关信息
* @Author: hgw
* @Author: hgw
...
...
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