refactor(bonus-material): 移除测试代码并优化登录用户信息获取

- 删除了 SltAgreementInfoServiceImpl 类中的测试代码- 优化了获取登录用户信息的代码,提高代码可读性和性能
This commit is contained in:
syruan 2025-08-19 17:37:54 +08:00
parent 60761c8879
commit d9f391e456
1 changed files with 0 additions and 2 deletions

View File

@ -503,8 +503,6 @@ public class SltAgreementInfoServiceImpl implements ISltAgreementInfoService {
*/
@Override
public byte checkLoginUserHasSettlementPermission() {
// todo 测试用
if (true) return 1;
// 查询当前登陆用户信息
Long theLoginUserId = SecurityUtils.getLoginUser().getSysUser().getUserId();