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
accb02fa
Commit
accb02fa
authored
Jun 29, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
cd2937f7
f9adbafb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
TEmpChangeInfoServiceImpl.java
...yifu/archives/service/impl/TEmpChangeInfoServiceImpl.java
+2
-1
FddUtil.java
...a/com/yifu/cloud/plus/v1/yifu/archives/utils/FddUtil.java
+9
-10
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpChangeInfoServiceImpl.java
View file @
accb02fa
...
...
@@ -169,7 +169,8 @@ public class TEmpChangeInfoServiceImpl extends ServiceImpl<TEmpChangeInfoMapper,
*/
@Override
public
R
<
List
<
TSettleDomain
>>
getAllDept
()
{
List
<
TSettleDomain
>
list
=
tSettleDomainService
.
list
(
Wrappers
.<
TSettleDomain
>
query
().
lambda
().
eq
(
TSettleDomain:
:
getDeleteFlag
,
CommonConstants
.
STATUS_NORMAL
));
List
<
TSettleDomain
>
list
=
tSettleDomainService
.
list
(
Wrappers
.<
TSettleDomain
>
query
().
lambda
().
eq
(
TSettleDomain:
:
getDeleteFlag
,
CommonConstants
.
STATUS_NORMAL
)
.
eq
(
TSettleDomain:
:
getStopFlag
,
CommonConstants
.
STATUS_NORMAL
));
return
R
.
ok
(
list
);
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/utils/FddUtil.java
View file @
accb02fa
...
...
@@ -37,8 +37,8 @@ public class FddUtil {
//法大大公司角色
public
static
final
String
COMPANY
=
"company"
;
@Autowired
private
FddReqLogService
reqLogService
;
@Autowired
private
FddReqLogService
reqLogService
;
@Autowired
private
RedisTemplate
<
String
,
String
>
stringRedisTemplate
;
...
...
@@ -52,7 +52,6 @@ public class FddUtil {
* @Date: 2021/1/18
* @Description: 法大大请求对象
* @return: com.fadada.api.FadadaApiClient
* @see com.yifu.cloud.v1.hr.basicArchives.utils
**/
public
FadadaApiClient
getFadadaApiClient
()
{
FadadaApiConfig
fadadaApiConfig
=
new
FadadaApiConfig
();
...
...
@@ -87,13 +86,13 @@ public class FddUtil {
}
accessToken
=
data
.
getAccessToken
();
stringValueOperations
.
set
(
accessTokenKey
,
accessToken
,
CommonConstants
.
dingleDigitIntArray
[
2
],
TimeUnit
.
HOURS
);
//记录日志
FddReqLog
fddReqLog
=
new
FddReqLog
();
fddReqLog
.
setReqData
(
"getToken"
);
fddReqLog
.
setResData
(
JSON
.
toJSONString
(
data
));
fddReqLog
.
setMethodName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getMethodName
());
fddReqLog
.
setClassName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getClassName
());
reqLogService
.
save
(
fddReqLog
);
//记录日志
FddReqLog
fddReqLog
=
new
FddReqLog
();
fddReqLog
.
setReqData
(
"getToken"
);
fddReqLog
.
setResData
(
JSON
.
toJSONString
(
data
));
fddReqLog
.
setMethodName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getMethodName
());
fddReqLog
.
setClassName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getClassName
());
reqLogService
.
save
(
fddReqLog
);
}
return
accessToken
;
}
...
...
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