feat:(REQ-3282) 修改记录日志

This commit is contained in:
李龙 2024-12-24 10:37:35 +08:00
parent 3c12051105
commit 1f73699ac9

View File

@ -265,10 +265,10 @@ public class SaasRoleUserRelationServiceImpl extends ServiceImpl<SaasRoleUserRel
logApi.addLog(LogAddReq.builder() logApi.addLog(LogAddReq.builder()
.scene("UPSERT_USER_ROLE") .scene("UPSERT_USER_ROLE")
.level("INFO") .level("INFO")
.tags(Lists.newArrayList(param.getUserRoles().stream() .tags(param.getUserRoles().stream()
.map(UpsertUserRoleReq.UserRoleReq::getPersonId) .map(UpsertUserRoleReq.UserRoleReq::getPersonId)
.map(String::valueOf) .map(String::valueOf)
.collect(Collectors.toList()))) .collect(Collectors.toList()))
.message(new JSONObject() .message(new JSONObject()
.fluentPut("param", param) .fluentPut("param", param)
.fluentPut("upsert", upsert) .fluentPut("upsert", upsert)