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
6ed55500
Commit
6ed55500
authored
Nov 08, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
5c162378
2c562227
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
20 deletions
+18
-20
ExcelUtil.java
...m/yifu/cloud/plus/v1/yifu/common/core/util/ExcelUtil.java
+11
-15
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+1
-1
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+6
-4
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/util/ExcelUtil.java
View file @
6ed55500
...
@@ -194,23 +194,19 @@ public class ExcelUtil <T> implements Serializable {
...
@@ -194,23 +194,19 @@ public class ExcelUtil <T> implements Serializable {
* @Param
* @Param
* @return
* @return
**/
**/
public
static
String
getLabelByDataType
(
String
value
,
String
dataType
){
public
static
String
getDicValueByDataType
(
String
value
,
String
dataType
){
String
tempValue
=
null
;
String
tempStr
=
null
;
if
(
Common
.
isEmpty
(
tempValue
)
&&
Common
.
isNotNull
(
dataType
)){
Map
<
String
,
String
>
dicObj
=
(
Map
<
String
,
String
>)
RedisUtil
.
redis
.
opsForValue
()
Map
<
String
,
String
>
dicObj
=
(
Map
<
String
,
String
>)
RedisUtil
.
redis
.
opsForValue
()
.
get
(
CacheConstants
.
DICT_DETAILS
.
get
(
CacheConstants
.
DICT_DETAILS
+
CommonConstants
.
COLON_STRING
+
CommonConstants
.
COLON_STRING
+
dataType
);
+
dataType
);
for
(
Map
.
Entry
<
String
,
String
>
entry:
dicObj
.
entrySet
()){
if
(
dicObj
!=
null
)
{
if
(
Common
.
isNotNull
(
entry
.
getValue
())
&&
entry
.
getValue
().
equals
(
value
.
trim
())){
for
(
Map
.
Entry
<
String
,
String
>
entry
:
dicObj
.
entrySet
())
{
tempStr
=
entry
.
getKey
();
if
(
Common
.
isNotNull
(
entry
.
getKey
())
&&
entry
.
getKey
().
equals
(
value
.
trim
()))
{
break
;
tempValue
=
entry
.
getValue
();
break
;
}
}
}
}
}
}
return
temp
Value
;
return
temp
Str
;
}
}
/**
/**
* 返回传参对应的fileds
* 返回传参对应的fileds
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
6ed55500
...
@@ -1869,7 +1869,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -1869,7 +1869,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
project
.
setCreateBy
(
user
.
getId
());
project
.
setCreateBy
(
user
.
getId
());
project
.
setCreateName
(
user
.
getNickname
());
project
.
setCreateName
(
user
.
getNickname
());
project
.
setDeptNo
(
excel
.
getSettleDomainCode
());
project
.
setDeptNo
(
excel
.
getSettleDomainCode
());
project
.
setContractType
(
excelUtil
.
get
Label
ByDataType
(
excel
.
getContractName
(),
ExcelAttributeConstants
.
PERSONNEL_TYPE
));
project
.
setContractType
(
excelUtil
.
get
DicValue
ByDataType
(
excel
.
getContractName
(),
ExcelAttributeConstants
.
PERSONNEL_TYPE
));
project
.
setEmpIdcard
(
excel
.
getEmpIdcard
());
project
.
setEmpIdcard
(
excel
.
getEmpIdcard
());
project
.
setEmpName
(
excel
.
getEmpName
());
project
.
setEmpName
(
excel
.
getEmpName
());
project
.
setEmpNatrue
(
excel
.
getEmpType
());
project
.
setEmpNatrue
(
excel
.
getEmpType
());
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
6ed55500
...
@@ -388,12 +388,14 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -388,12 +388,14 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
}
}
}
}
if
(
Common
.
isNotNull
(
socialCreateMonth
))
{
if
(
Common
.
isNotNull
(
socialCreateMonth
))
{
wrapper
.
eq
(
TPaymentInfo:
:
getSocialCreateMonth
,
socialCreateMonth
).
or
()
wrapper
.
and
(
wrapper2
->
wrapper2
.
eq
(
TPaymentInfo:
:
getSocialCreateMonth
,
socialCreateMonth
)
.
eq
(
TPaymentInfo:
:
getProvidentCreateMonth
,
socialCreateMonth
);
.
or
(
wrapper1
->
wrapper1
.
eq
(
TPaymentInfo:
:
getProvidentCreateMonth
,
socialCreateMonth
)
));
}
}
if
(
Common
.
isNotNull
(
socialPayMonth
))
{
if
(
Common
.
isNotNull
(
socialPayMonth
))
{
wrapper
.
eq
(
TPaymentInfo:
:
getSocialPayMonth
,
socialPayMonth
).
or
()
wrapper
.
and
(
wrapper2
->
wrapper2
.
eq
(
TPaymentInfo:
:
getSocialPayMonth
,
socialPayMonth
)
.
eq
(
TPaymentInfo:
:
getProvidentPayMonth
,
socialPayMonth
);
.
or
(
wrapper1
->
wrapper1
.
eq
(
TPaymentInfo:
:
getProvidentPayMonth
,
socialPayMonth
)
));
}
}
return
wrapper
;
return
wrapper
;
}
}
...
...
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