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
f01bebd7
Commit
f01bebd7
authored
Apr 07, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.3' into MVP1.5.3
parents
a4448ab5
da329395
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
39 deletions
+35
-39
application.properties
...ifu-common-ldap/src/main/resources/application.properties
+2
-2
ldapConfig.properties
...yifu-common-ldap/src/main/resources/ldapConfig.properties
+2
-2
TInsuranceDetailMapper.xml
...in/resources/mapper/insurances/TInsuranceDetailMapper.xml
+2
-2
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+9
-0
TDispatchReduceVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TDispatchReduceVo.java
+9
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+3
-0
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+3
-32
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+2
-0
SysUserServiceImpl.java
...d/plus/v1/yifu/admin/service/impl/SysUserServiceImpl.java
+3
-1
No files found.
yifu-common/yifu-common-ldap/src/main/resources/application.properties
View file @
f01bebd7
spring.ldap.urls
=
ldap://192.168.
0.240
:389
spring.ldap.urls
=
ldap://192.168.
1.65
:389
spring.ldap.username
=
cn=admin,dc=worfu,dc=com
spring.ldap.password
=
Y
ifu123456!
spring.ldap.password
=
y
ifu123456!
spring.ldap.base
=
dc=worfu,dc=com
\ No newline at end of file
yifu-common/yifu-common-ldap/src/main/resources/ldapConfig.properties
View file @
f01bebd7
ldap.url
=
192.168.
0.240
ldap.url
=
192.168.
1.65
ldap.port
=
389
ldap.userName
=
cn=admin,dc=worfu,dc=com
ldap.password
=
Y
ifu123456!
ldap.password
=
y
ifu123456!
ldap.dn
=
dc=worfu,dc=com
ldap.baseDn
=
ou=
\u7696\u
4FE1
\u
4EBA
\u
529B
\u
96C6
\u
56E2,ou=wanxin,dc=worfu,dc=com
\ No newline at end of file
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceDetailMapper.xml
View file @
f01bebd7
...
...
@@ -1753,7 +1753,7 @@
and (1 = 2
<if
test=
"param.insuranceProvinces != null"
>
<if
test=
"param.insuranceProvinces.size() > 0"
>
or a.INSURANCE_PROVINCE in
or a.INSURANCE_
HANDLE_
PROVINCE in
<foreach
collection=
"param.insuranceProvinces"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{param}
...
...
@@ -1763,7 +1763,7 @@
</if>
<if
test=
"param.insuranceCitys != null"
>
<if
test=
"param.insuranceCitys.size() > 0"
>
or a.INSURANCE_CITY in
or a.INSURANCE_
HANDLE_
CITY in
<foreach
collection=
"param.insuranceCitys"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{param}
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
View file @
f01bebd7
...
...
@@ -63,6 +63,15 @@ public class TDispatchInfo extends BaseEntity {
@ExcelProperty
(
"派单申请编码"
)
private
String
dispatchCode
;
/**
* 重新派单号
*/
@ExcelAttribute
(
name
=
"重新派单号"
,
maxLength
=
30
)
@Schema
(
description
=
"重新派单号"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"重新派单号"
)
private
String
againDispatchCode
;
/**
* 员工ID
*/
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchReduceVo.java
View file @
f01bebd7
...
...
@@ -110,4 +110,13 @@ public class TDispatchReduceVo extends RowIndex implements Serializable {
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 是否是失败项重新派单 0 是
*/
@ExcelAttribute
(
name
=
"是否是失败项重新派单"
)
@Schema
(
description
=
"是否是失败项重新派单"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"是否是失败项重新派单"
)
private
String
isAgainFlag
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
f01bebd7
...
...
@@ -2724,6 +2724,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
try
{
dispatch
.
setOrderId
(
orderId
);
dispatch
.
setApplyNo
(
getApplyCode
());
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
excel
.
getIsAgainFlag
()))
{
dispatch
.
setAgainDispatchCode
(
dispatch
.
getApplyNo
());
}
dispatch
.
setStatus
(
CommonConstants
.
ONE_STRING
);
baseMapper
.
insert
(
dispatch
);
socialFundMapper
.
updateById
(
socialFund
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
f01bebd7
...
...
@@ -701,7 +701,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
info
.
setPreStatus
(
CommonConstants
.
ONE_STRING
);
}
int
finalI
=
i
;
if
(
!
errList
.
stream
().
any
Match
(
e
->
hasError
(
e
,
finalI
)))
{
if
(
errList
.
stream
().
none
Match
(
e
->
hasError
(
e
,
finalI
)))
{
baseMapper
.
insert
(
info
);
}
}
...
...
@@ -2266,7 +2266,8 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
* @Date 2022-07-18
**/
private
R
<
Boolean
>
handleDispatchAddRes
(
TPreDispatchInfo
preInfo
,
List
<
ErrorMessage
>
errorMessageList
)
{
if
(
errorMessageList
.
size
()
==
CommonConstants
.
ZERO_INT
)
{
if
(
errorMessageList
.
size
()
==
CommonConstants
.
ZERO_INT
||
errorMessageList
.
stream
().
allMatch
(
e
->
CommonConstants
.
SAVE_SUCCESS
.
equals
(
e
.
getMessage
())))
{
preInfo
.
setPreStatus
(
CommonConstants
.
TWO_STRING
);
preInfo
.
setExceptionContent
(
CommonConstants
.
EMPTY_STRING
);
baseMapper
.
updatePreStatusById
(
preInfo
);
...
...
@@ -2282,36 +2283,6 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
}
}
private
R
<
Boolean
>
handleBatchSocialFundReduce
(
TPreDispatchInfo
preInfo
,
TDispatchInfo
dispatchInfo
,
TSocialInfo
social
,
TProvidentFund
fund
)
{
if
(
Common
.
isEmpty
(
preInfo
.
getSocialProvince
())
&&
Common
.
isEmpty
(
preInfo
.
getFundProvince
()))
{
return
R
.
failed
(
"请检查派减缴纳地是否准确!"
);
}
if
(
Common
.
isNotNull
(
preInfo
.
getSocialProvince
()))
{
if
(
null
!=
social
)
{
dispatchInfo
.
setSettleDomain
(
social
.
getSettleDomain
());
dispatchInfo
.
setBelongUnit
(
social
.
getBelongUnit
());
}
else
{
preInfo
.
setPreStatus
(
CommonConstants
.
ONE_STRING
);
preInfo
.
setExceptionContent
(
PreDispatchConstants
.
NO_SOCIAL_CAN_REDUCE
);
baseMapper
.
updatePreStatusById
(
preInfo
);
return
R
.
failed
(
PreDispatchConstants
.
NO_SOCIAL_CAN_REDUCE
);
}
}
if
(
Common
.
isNotNull
(
preInfo
.
getFundProvince
()))
{
if
(
null
!=
fund
)
{
dispatchInfo
.
setSettleDomain
(
fund
.
getSettleDomain
());
dispatchInfo
.
setBelongUnit
(
fund
.
getBelongUnit
());
}
else
{
preInfo
.
setPreStatus
(
CommonConstants
.
ONE_STRING
);
preInfo
.
setExceptionContent
(
PreDispatchConstants
.
NO_FUND_CAN_REDUCE
);
baseMapper
.
updatePreStatusById
(
preInfo
);
return
R
.
failed
(
PreDispatchConstants
.
NO_FUND_CAN_REDUCE
);
}
}
return
null
;
}
/**
* 派减派单时间处理
* @param dispatchInfo
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
f01bebd7
...
...
@@ -85,6 +85,7 @@
<result
property=
"settleDomainCode"
column=
"SETTLE_DOMAIN_CODE"
/>
<result
property=
"belongUnitName"
column=
"BELONG_UNIT_NAME"
/>
<result
property=
"dispatchCode"
column=
"DISPATCH_CODE"
/>
<result
property=
"againDispatchCode"
column=
"AGAIN_DISPATCH_CODE"
/>
<result
property=
"contractSubName"
column=
"CONTRACT_SUB_NAME"
/>
<result
property=
"contractId"
column=
"CONTRACT_ID"
/>
<result
property=
"educationName"
column=
"EDUCATION_NAME"
/>
...
...
@@ -280,6 +281,7 @@
a.SETTLE_DOMAIN_NAME,
a.BELONG_UNIT_NAME,
a.DISPATCH_CODE,
a.AGAIN_DISPATCH_CODE,
a.SETTLE_DOMAIN_CODE,
a.CONTRACT_SUB_NAME,
a.CONTRACT_ID,
...
...
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysUserServiceImpl.java
View file @
f01bebd7
...
...
@@ -187,7 +187,9 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
user
.
setPassword
(
ENCODER
.
encode
(
password
));
}
else
{
// 登录失败,随机密码,保证用户密码不一致
user
.
setPassword
(
password
+
RandomUtil
.
getSix
());
user
=
null
;
//user.setPassword(password+RandomUtil.getSix());
throw
new
RuntimeException
(
"LDAP登录失败:"
+
username
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
"LDAP登录异常"
,
e
);
...
...
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