Commit dd5e479c by 林永健

fix(service): 修复操作员信息获取逻辑

- 修改ProjectGroupStoreImportService中的操作员设置逻辑,直接使用loginUser.getUserName()
- 移除resolveOperator方法中的冗余用户名获取逻辑,简化为直接调用CommonUtil.getUserName()
1 parent 02649f67
...@@ -227,7 +227,6 @@ public class ProjectGroupController { ...@@ -227,7 +227,6 @@ public class ProjectGroupController {
* @return 操作人 * @return 操作人
*/ */
private String resolveOperator() { private String resolveOperator() {
String userName = CommonUtil.getUserName(); return CommonUtil.getUserName();
return userName == null ? CommonUtil.getAccountName() : userName;
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!