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
33131eb8
Commit
33131eb8
authored
Mar 31, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.9-非工资类型,放开商险购买限制
parent
afa5c16d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
TSalaryStandardController.java
.../v1/yifu/salary/controller/TSalaryStandardController.java
+8
-1
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryStandardController.java
View file @
33131eb8
...
...
@@ -197,6 +197,12 @@ public class TSalaryStandardController {
if
(
Common
.
isNotNull
(
s
.
getIsCheckRisk
())
&&
CommonConstants
.
ONE_INT
==
s
.
getIsCheckRisk
())
{
return
R
.
ok
();
}
if
(!
CommonConstants
.
ZERO_STRING
.
equals
(
s
.
getFormType
()))
{
s
.
setIsCheckRisk
(
CommonConstants
.
ONE_INT
);
s
.
setCheckRiskRemark
(
"非工资类型,放开限制"
);
this
.
updateById
(
s
);
return
R
.
ok
();
}
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
!=
null
)
{
// 2025-1-14 10:59:37 提交前拦截:
...
...
@@ -225,7 +231,8 @@ public class TSalaryStandardController {
||
s
.
getStatus
()
==
SalaryConstants
.
STATUS
[
5
]
||
s
.
getStatus
()
==
SalaryConstants
.
STATUS
[
6
]
||
s
.
getStatus
()
==
SalaryConstants
.
STATUS
[
7
])
{
if
(
Common
.
isEmpty
(
s
.
getIsCheckRisk
())
||
CommonConstants
.
ZERO_INT
==
s
.
getIsCheckRisk
())
{
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
s
.
getFormType
())
&&
(
Common
.
isEmpty
(
s
.
getIsCheckRisk
())
||
CommonConstants
.
ZERO_INT
==
s
.
getIsCheckRisk
()))
{
return
R
.
failed
(
"请先校验商险信息!"
);
}
...
...
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