Update TagServiceImpl.java

Remove redundant code
This commit is contained in:
sunzy 2023-06-11 12:32:59 +08:00 committed by GitHub
parent ab86b0ac87
commit 3fefcce9c1
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 {
tag.setTagIconPath(tag.getTagIconPath());
}
tag.setTagStatus(tag.getTagStatus());
tag.setTagDescription(tag.getTagDescription());
tag.setTagReservation(tag.getTagReservation());
tag.setCreatedTime(new Date());
tag.setUpdatedTime(tag.getCreatedTime());
result = tagMapper.insertSelective(tag);