更新时间

This commit is contained in:
苏竹红
2024-05-24 10:12:26 +08:00
parent 560ac22d05
commit a4aa36d3ca

View File

@@ -273,6 +273,7 @@ public class LineServiceImpl implements LineService {
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
}
lineInfo.setUpdateUserId(user.getUserId());
lineInfo.setUpdateTime(new Date());
lineInfo.setUserPortrait(CollectionUtils.isNotEmpty(addTagsRequest.getTags())?
addTagsRequest.getTags().stream().map(Object::toString).collect(Collectors.joining(CommonConstants.COMMA, CommonConstants.COMMA, CommonConstants.COMMA)):"");
lineInfoDAO.updateLineInfo(lineInfo);