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,
*/
@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);
}
......
......@@ -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;
}
......
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