🔥 Remove redundant code

Update TagServiceImpl.java
This commit is contained in:
ronger 2023-06-27 15:57:00 +08:00 committed by GitHub
commit c08b3c7ef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,9 +131,6 @@ public class TagServiceImpl extends AbstractService<Tag> implements TagService {
} else { } else {
tag.setTagIconPath(tag.getTagIconPath()); tag.setTagIconPath(tag.getTagIconPath());
} }
tag.setTagStatus(tag.getTagStatus());
tag.setTagDescription(tag.getTagDescription());
tag.setTagReservation(tag.getTagReservation());
tag.setCreatedTime(new Date()); tag.setCreatedTime(new Date());
tag.setUpdatedTime(tag.getCreatedTime()); tag.setUpdatedTime(tag.getCreatedTime());
result = tagMapper.insertSelective(tag); result = tagMapper.insertSelective(tag);