|
@@ -5,7 +5,6 @@ import org.springframework.http.HttpStatus;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.ModelAttribute;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
@@ -64,7 +63,7 @@ public class PaperDetailUnitController {
|
|
|
@PutMapping(value = "/paperDetailUnit")
|
|
|
public ResponseEntity updatePaperDetailUnit(@RequestBody PaperDetailUnitExp pdu) {
|
|
|
PaperDetailUnit pdUnit = unitService.savePaperDetailUnit(pdu);
|
|
|
- return new ResponseEntity(pdUnit, HttpStatus.OK);
|
|
|
+ return new ResponseEntity(HttpStatus.OK);
|
|
|
|
|
|
}
|
|
|
|