|
|
@@ -18,7 +18,6 @@ import lombok.AllArgsConstructor;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
|
import javax.transaction.Transactional;
|
|
|
import java.time.LocalDateTime;
|
|
|
@@ -202,7 +201,7 @@ public class MetaUserTaskProgressNewService {
|
|
|
}
|
|
|
|
|
|
@Transactional
|
|
|
- public MetaRestResult<Void> destroyProp(@PathVariable Long metaTaskToUserNewId) {
|
|
|
+ public MetaRestResult<Void> destroyProp(Long metaTaskToUserNewId) {
|
|
|
Long userId = SecurityUtils.getAuthenticatedUser().getId();
|
|
|
MetaTaskToUserNew metaTaskToUserNew = metaTaskToUserNewRepo.findByIdAndAndPigeonholeAndDel(metaTaskToUserNewId, false, false);
|
|
|
if (Objects.isNull(metaTaskToUserNew)) {
|