Commit accb02fa authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/develop' into develop

parents cd2937f7 f9adbafb
...@@ -169,7 +169,8 @@ public class TEmpChangeInfoServiceImpl extends ServiceImpl<TEmpChangeInfoMapper, ...@@ -169,7 +169,8 @@ public class TEmpChangeInfoServiceImpl extends ServiceImpl<TEmpChangeInfoMapper,
*/ */
@Override @Override
public R<List<TSettleDomain>> getAllDept() { 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); return R.ok(list);
} }
......
...@@ -37,8 +37,8 @@ public class FddUtil { ...@@ -37,8 +37,8 @@ public class FddUtil {
//法大大公司角色 //法大大公司角色
public static final String COMPANY = "company"; public static final String COMPANY = "company";
@Autowired @Autowired
private FddReqLogService reqLogService; private FddReqLogService reqLogService;
@Autowired @Autowired
private RedisTemplate<String, String> stringRedisTemplate; private RedisTemplate<String, String> stringRedisTemplate;
...@@ -52,7 +52,6 @@ public class FddUtil { ...@@ -52,7 +52,6 @@ public class FddUtil {
* @Date: 2021/1/18 * @Date: 2021/1/18
* @Description: 法大大请求对象 * @Description: 法大大请求对象
* @return: com.fadada.api.FadadaApiClient * @return: com.fadada.api.FadadaApiClient
* @see com.yifu.cloud.v1.hr.basicArchives.utils
**/ **/
public FadadaApiClient getFadadaApiClient() { public FadadaApiClient getFadadaApiClient() {
FadadaApiConfig fadadaApiConfig = new FadadaApiConfig(); FadadaApiConfig fadadaApiConfig = new FadadaApiConfig();
...@@ -87,13 +86,13 @@ public class FddUtil { ...@@ -87,13 +86,13 @@ public class FddUtil {
} }
accessToken = data.getAccessToken(); accessToken = data.getAccessToken();
stringValueOperations.set(accessTokenKey, accessToken, CommonConstants.dingleDigitIntArray[2], TimeUnit.HOURS); stringValueOperations.set(accessTokenKey, accessToken, CommonConstants.dingleDigitIntArray[2], TimeUnit.HOURS);
//记录日志 //记录日志
FddReqLog fddReqLog = new FddReqLog(); FddReqLog fddReqLog = new FddReqLog();
fddReqLog.setReqData("getToken"); fddReqLog.setReqData("getToken");
fddReqLog.setResData(JSON.toJSONString(data)); fddReqLog.setResData(JSON.toJSONString(data));
fddReqLog.setMethodName(Thread.currentThread().getStackTrace()[1].getMethodName()); fddReqLog.setMethodName(Thread.currentThread().getStackTrace()[1].getMethodName());
fddReqLog.setClassName(Thread.currentThread().getStackTrace()[1].getClassName()); fddReqLog.setClassName(Thread.currentThread().getStackTrace()[1].getClassName());
reqLogService.save(fddReqLog); reqLogService.save(fddReqLog);
} }
return accessToken; return accessToken;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment