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
1b478bee
Commit
1b478bee
authored
Jan 12, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
B端调优---证件列表 商险减员BUG修复
parent
42bf819a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
TCertInfoServiceImpl.java
...s/v1/business/service/cert/impl/TCertInfoServiceImpl.java
+8
-0
HrEquator.java
...loud/plus/v1/yifu/common/core/util/equator/HrEquator.java
+2
-2
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+1
-0
No files found.
yifu-business/yifu-business-biz/src/main/java/com/yifu/cloud/plus/v1/business/service/cert/impl/TCertInfoServiceImpl.java
View file @
1b478bee
...
...
@@ -543,6 +543,14 @@ public class TCertInfoServiceImpl extends ServiceImpl<TCertInfoMapper, TCertInfo
if
(
null
==
cert
)
{
return
R
.
failed
(
CommonConstants
.
NO_DATA_TO_HANDLE
);
}
TCertInfo
certTemp
=
baseMapper
.
selectOne
(
Wrappers
.<
TCertInfo
>
query
().
lambda
()
.
eq
(
TCertInfo:
:
getCertNum
,
cert
.
getCertNum
())
.
eq
(
TCertInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
)
.
ne
(
TCertInfo:
:
getId
,
certInfo
.
getId
())
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
certTemp
))
{
return
R
.
failed
(
"已存在对应证件编号的信息!"
);
}
certInfo
.
setCreateTime
(
cert
.
getCreateTime
());
certInfo
.
setCreateUser
(
cert
.
getCreateUser
());
certInfo
.
setPost
(
cert
.
getPost
());
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/util/equator/HrEquator.java
View file @
1b478bee
...
...
@@ -21,9 +21,9 @@ public class HrEquator extends GetterBaseEquator {
@Override
protected
boolean
isFieldEquals
(
FieldInfo
fieldInfo
)
{
//空字段空串不更新忽略(单独处理的地方记录)
if
(
null
==
fieldInfo
.
getSecondVal
()
||
(
fieldInfo
.
getSecondVal
()
instanceof
String
&&
""
==
((
String
)
fieldInfo
.
getSecondVal
()).
trim
())){
/*
if(null == fieldInfo.getSecondVal() || (fieldInfo.getSecondVal() instanceof String && "" == ((String) fieldInfo.getSecondVal()).trim())){
return true;
}
}
*/
if
(
fieldInfo
.
getFirstVal
()
instanceof
BigDecimal
)
{
BigDecimal
first
=
(
BigDecimal
)
fieldInfo
.
getFirstVal
();
BigDecimal
second
=
(
BigDecimal
)
fieldInfo
.
getSecondVal
();
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
1b478bee
...
...
@@ -5660,6 +5660,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
.
eq
(
TInsuranceDetail:
:
getPolicyEnd
,
LocalDateUtil
.
parseLocalDate
(
policyEnd
))
.
eq
(
TInsuranceDetail:
:
getBuyStandard
,
buyStandard
)
.
orderByDesc
(
TInsuranceDetail:
:
getUpdateTime
)
.
eq
(
TInsuranceDetail:
:
getIsEffect
,
CommonConstants
.
ZERO_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
);
List
<
TInsuranceDetail
>
list
=
list
(
queryWrapper
);
if
(
list
.
size
()>
1
){
...
...
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