refactor(bonus-material): 移除测试代码并优化登录用户信息获取
- 删除了 SltAgreementInfoServiceImpl 类中的测试代码- 优化了获取登录用户信息的代码,提高代码可读性和性能
This commit is contained in:
parent
60761c8879
commit
d9f391e456
|
|
@ -503,8 +503,6 @@ public class SltAgreementInfoServiceImpl implements ISltAgreementInfoService {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public byte checkLoginUserHasSettlementPermission() {
|
public byte checkLoginUserHasSettlementPermission() {
|
||||||
// todo 测试用
|
|
||||||
if (true) return 1;
|
|
||||||
// 查询当前登陆用户信息
|
// 查询当前登陆用户信息
|
||||||
Long theLoginUserId = SecurityUtils.getLoginUser().getSysUser().getUserId();
|
Long theLoginUserId = SecurityUtils.getLoginUser().getSysUser().getUserId();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue